Skip to content

Commit

Permalink
Add default method for setmodifiers! (#50822)
Browse files Browse the repository at this point in the history
Fixes #50690

(cherry picked from commit 0eb13d7)
  • Loading branch information
gbaraldi authored and nalimilan committed Nov 5, 2023
1 parent e025ccb commit 9f7e2bb
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 @@ -519,6 +519,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 9f7e2bb

Please sign in to comment.