mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 07:32:24 +00:00
#1941 Explain how to alleviate a timeoutlen Vim bug by changing settings
This commit is contained in:
parent
8e7e810db6
commit
143c3cd09f
@ -1202,6 +1202,12 @@ g:ale_lint_on_text_changed *g:ale_lint_on_text_changed*
|
||||
ALE will check buffers after a short delay, with a timer which resets on
|
||||
each change. The delay can be configured by adjusting the |g:ale_lint_delay|
|
||||
variable.
|
||||
*ale-linting-interrupts-mapping*
|
||||
|
||||
Due to a bug in Vim, ALE can interrupt mappings with pending key presses,
|
||||
per |timeoutlen|. If this happens, follow the advice for enabling
|
||||
|g:ale_lint_on_insert_leave| below, and set this option to `'normal'`, or
|
||||
disable it entirely.
|
||||
|
||||
You should set this setting once before ALE is loaded, and restart Vim if
|
||||
you want to change your preferences. See |ale-lint-settings-on-startup|.
|
||||
@ -1217,7 +1223,7 @@ g:ale_lint_on_insert_leave *g:ale_lint_on_insert_leave*
|
||||
|
||||
ALE will not lint files when you escape insert mode with |CTRL-C| by
|
||||
default. You can make ALE lint files with this option when you use |CTRL-C|
|
||||
with the following keybind. >
|
||||
with the following mapping. >
|
||||
|
||||
" Make using Ctrl+C do the same as Escape, to trigger autocmd commands
|
||||
inoremap <C-c> <Esc>
|
||||
|
Loading…
Reference in New Issue
Block a user