This website requires JavaScript.
Explore
Help
Sign In
xenia
/
home
Watch
1
Star
0
Fork
0
You've already forked home
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
6f7c5aed10
home
/
test
/
regression
/
0-autocomplete-overrules-completers
/
in
4 lines
3 B
Raw
Normal View
History
Unescape
Escape
Do not show custom completions when autocomplete is off As reported in [1], completions provided by "set global completers option=my_completion" activate insert mode autocompletion, even when the autocomplete option does not have the insert mode flag. This happens because InsertCompleter::on_option_changed() calls InsertCompleter::setup_ifn(), which shows the completion pager. Fix this by computing whether the completion pager is enabled; otherwise we can return early from setup_ifn(). The completion pager is enabled if the autocompletion bit is set, or if the user has requested explicit completion. [1]: https://github.com/kak-lsp/kak-lsp/issues/585
2022-01-03 22:43:04 +01:00
Reference in New Issue
Copy Permalink
Mastodon