mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
8474f52978
Problem: Exiting the insert mode with ctrl-c does not trigger InsertLeave autocmd. This may lead to nil error in treesitter foldexpr. Solution: Check nil. Folds still can be stale after exiting the insert mode with ctrl-c, but it will be eventually updated correctly. An alternative solution would be to ensure that exiting the insert mode always triggers do_foldupdate. This can be done either by "fixing" ctrl-c or with on_key callback that checks ctrl-c (nvim-cmp does this). |
||
---|---|---|
.. | ||
_fold.lua | ||
_meta.lua | ||
_query_linter.lua | ||
_range.lua | ||
dev.lua | ||
health.lua | ||
highlighter.lua | ||
language.lua | ||
languagetree.lua | ||
query.lua |