From cca1075b5bfd0290a861ca7fd1e88a8b9a2a9483 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 17 Oct 2019 11:25:48 +0200 Subject: [PATCH] [UPDATE][VIM] Specify ALE linter timings --- vim/.vimrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 3ab1aeb..862e5ee 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -306,6 +306,19 @@ let g:ale_echo_msg_format='[%linter%][%severity%]%(code):% %s' " The message displayed in the location list let g:ale_loclist_msg_format='[%linter%]%(code):% %s' +" Linter timings {{{ +"""""""""""""""" +" Don't lint every time I change the buffer +let g:ale_lint_on_text_changed=0 +" Don't lint on leaving insert mode +let g:ale_lint_on_insert_leave=0 +" Don't lint on entering a buffer +let g:ale_lint_on_enter=0 +" Lint on save +let g:ale_lint_on_save=1 +" Lint on changing the filetype +let g:ale_lint_on_filetype_changed=1 +" }}} " }}} " FastFold settings {{{