Skip to content

Commit 0eb13d7

Browse files
authored
Add default method for setmodifiers! (#50822)
Fixes #50690
1 parent 3838dab commit 0eb13d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/REPL/src/REPL.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,8 @@ active_module((; mistate)::LineEditREPL) = mistate === nothing ? Main : mistate.
517517
active_module(::AbstractREPL) = Main
518518
active_module(d::REPLDisplay) = active_module(d.repl)
519519

520+
setmodifiers!(c::CompletionProvider, m::LineEdit.Modifiers) = nothing
521+
520522
setmodifiers!(c::REPLCompletionProvider, m::LineEdit.Modifiers) = c.modifiers = m
521523

522524
"""

0 commit comments

Comments
 (0)