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.
1 year ago
..
commands transition to nucleo for fuzzy matching (#7814) 1 year ago
keymap feat: smart_tab 1 year ago
ui Clear completion when switching windows via click (#8118) 1 year ago
application.rs transition to nucleo for fuzzy matching (#7814) 1 year 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) 1 year ago
compositor.rs bump msrv to 1.63 (#5570) 2 years ago
config.rs feat: smart_tab 1 year ago
health.rs Refactor doc language servers to a HashMap, and the config to use a Vec to retain order 2 years ago
job.rs bump msrv to 1.63 (#5570) 2 years ago
keymap.rs Fix broken indentation that causes the indentation tests to fail. 1 year ago
lib.rs Fix new clippy lints (#5892) 2 years ago
main.rs Initialize log and config files right after parsing arguments (#7585) 1 year ago