Skip to content

Commit

Permalink
Add default method for setmodifiers! (#50822)
Browse files Browse the repository at this point in the history
Fixes #50690
  • Loading branch information
gbaraldi authored Aug 11, 2023
1 parent 3838dab commit 0eb13d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/REPL/src/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ active_module((; mistate)::LineEditREPL) = mistate === nothing ? Main : mistate.
active_module(::AbstractREPL) = Main
active_module(d::REPLDisplay) = active_module(d.repl)

setmodifiers!(c::CompletionProvider, m::LineEdit.Modifiers) = nothing

setmodifiers!(c::REPLCompletionProvider, m::LineEdit.Modifiers) = c.modifiers = m

"""
Expand Down

0 comments on commit 0eb13d7

Please sign in to comment.