From 57ddf41dfd33c20393a33234eefa725e80a40288 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 15 Jan 2020 12:56:37 +0530 Subject: [PATCH] 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 --- nvim/.config/nvim/init.vim | 2 -- 1 file changed, 2 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 4af0f46..1bee131 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -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