Skip to content

Commit

Permalink
run repl hint generation for modeswitch chars when not switching
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Oct 20, 2024
1 parent 27c1b1e commit 0d5e4d2
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 0d5e4d2

Please sign in to comment.