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
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
..
src Clear completion when switching windows via click (#8118) 1 year ago
tests transition to nucleo for fuzzy matching (#7814) 1 year ago
.gitignore Initial import. 5 years ago
Cargo.toml transition to nucleo for fuzzy matching (#7814) 1 year ago
build.rs feat(lsp): pass client_info on initialization (#4904) 2 years ago