Skip to content

Commit

Permalink
Add default method for setmodifiers!
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaraldi committed Aug 7, 2023
1 parent 9f9e989 commit e10fed0
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 e10fed0

Please sign in to comment.