summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-09-25 10:17:45 +0100
committerw0rp <devw0rp@gmail.com>2018-09-25 10:17:45 +0100
commit143c3cd09f52996c90b78059275a400d3c2327b0 (patch)
tree0140634acb085ad4c1b222e8af4f71ef3f3193be /doc
parent8e7e810db6f54c045474ae7d36575ee01804b885 (diff)
downloadale-143c3cd09f52996c90b78059275a400d3c2327b0.zip
#1941 Explain how to alleviate a timeoutlen Vim bug by changing settingsv2.2.0
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 46ff08b0..b166d9c5 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -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>