nvim: Invoke neomake only after writing a file

It becomes extremely annoying if neomake keeps getting invoked even
before we have finished writing some sensible code and then saved the
file. So let neomake be invoked automatically only when we save a file.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-15 12:56:37 +05:30
parent 5497c1b1b6
commit 57ddf41dfd

View file

@ -579,8 +579,6 @@ let g:gitgutter_sign_modified_removed = 'mr'
" Neomake
" compile when I open a file, change text, leave insert mode, etc ...
call neomake#configure#automake({
\ 'TextChanged': {},
\ 'InsertLeave': {},
\ 'BufWritePost': {},
\ })
" When compilation is done, open the Location list or quickfix list