mirror of
https://github.com/dense-analysis/ale.git
synced 2026-04-26 09:25:53 +08:00
0f71d4c494
CI / build_image (push) Waiting to run
CI / test_ale (--linters-only) (push) Blocked by required conditions
CI / test_ale (--neovim-06-only) (push) Blocked by required conditions
CI / test_ale (--neovim-08-only) (push) Blocked by required conditions
CI / test_ale (--vim-80-only) (push) Blocked by required conditions
CI / test_ale (--vim-90-only) (push) Blocked by required conditions
`ModeChanged` looks like a more reliable way to detect an "exit insert mode" event and is a lot simpler (doesn't need a timer). Also, it can detect some other transitions like `\<C-o\>` in insert mode. The `ModeChanged` event is available in: * [Vim 8.2.3430](https://github.com/vim/vim/commit/f1e8876fa2359b572d262772747405d3616db670) * [NeoVim 0.7.0](https://github.com/neovim/neovim/commit/69bd1e4e36fa3e3f604740c92b15b13141520822) --------- Co-authored-by: Dmitry Zolotukhin <zlogic@gmail.com>