You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-term/src
Michael Davis 48373d4a2b
Clear completion when switching windows via click (#8118)
The completion component assumes that it operates on the same View but
it's possible to break this assumption by switching windows through
left-clicking. I believe we should clear the completion menu when
switching windows to fix this.

This change fixes a panic for this scenario:

* Open a buffer with LSP completion available
* Split the window (for example '<C-w>v')
* Enter insert mode and trigger the completion menu
* Select a completion candidate (for example with '<C-n>')
* Switch to the original window by left-clicking in its area
* Enter insert mode and make edits (for example 'o<backspace>')

This will trip the 'assert_eq' in Document::restore.
10 months ago
..
commands transition to nucleo for fuzzy matching (#7814) 10 months ago
keymap feat: smart_tab 11 months ago
ui Clear completion when switching windows via click (#8118) 10 months ago
application.rs transition to nucleo for fuzzy matching (#7814) 10 months ago
args.rs Fix confusion with using --hsplit --vsplit on startup at same time (#4202) 2 years ago
commands.rs transition to nucleo for fuzzy matching (#7814) 10 months ago
compositor.rs bump msrv to 1.63 (#5570) 1 year ago
config.rs feat: smart_tab 11 months ago
health.rs Refactor doc language servers to a HashMap, and the config to use a Vec to retain order 1 year ago
job.rs bump msrv to 1.63 (#5570) 1 year ago
keymap.rs Fix broken indentation that causes the indentation tests to fail. 11 months ago
lib.rs Fix new clippy lints (#5892) 1 year ago
main.rs Initialize log and config files right after parsing arguments (#7585) 12 months ago