Skip to content

Commit

Permalink
REPLExt: run repl hint generation for modeswitch chars when not switc…
Browse files Browse the repository at this point in the history
…hing (#4054)
  • Loading branch information
IanButterworth authored Oct 20, 2024
1 parent 27c1b1e commit 3fde94e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/REPLExt/REPLExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ function create_mode(repl::REPL.AbstractREPL, main::LineEdit.Prompt)
end
else
LineEdit.edit_insert(s, ';')
LineEdit.check_for_hint(s) && LineEdit.refresh_line(s)
end
end
end
Expand All @@ -180,6 +181,7 @@ function repl_init(repl::REPL.AbstractREPL)
end
else
LineEdit.edit_insert(s, ']')
LineEdit.check_for_hint(s) && LineEdit.refresh_line(s)
end
end
)
Expand Down

0 comments on commit 3fde94e

Please sign in to comment.