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:
parent
5497c1b1b6
commit
57ddf41dfd
1 changed files with 0 additions and 2 deletions
|
@ -579,8 +579,6 @@ let g:gitgutter_sign_modified_removed = 'mr'
|
||||||
" Neomake
|
" Neomake
|
||||||
" compile when I open a file, change text, leave insert mode, etc ...
|
" compile when I open a file, change text, leave insert mode, etc ...
|
||||||
call neomake#configure#automake({
|
call neomake#configure#automake({
|
||||||
\ 'TextChanged': {},
|
|
||||||
\ 'InsertLeave': {},
|
|
||||||
\ 'BufWritePost': {},
|
\ 'BufWritePost': {},
|
||||||
\ })
|
\ })
|
||||||
" When compilation is done, open the Location list or quickfix list
|
" When compilation is done, open the Location list or quickfix list
|
||||||
|
|
Loading…
Reference in a new issue