nvim: init.vim: Do not trigger neomake on BufWinEnter

Triggering neomake on BufWinEnter auto command becomes a
problem if the make program does not exist. In Haskell, if
for a project hlint is not installed using stack, opening
the editor stalls.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-16 20:00:48 +05:30
parent d03be88543
commit 135b3ec154

View file

@ -335,7 +335,6 @@ call neomake#configure#automake({
\ 'TextChanged': {}, \ 'TextChanged': {},
\ 'InsertLeave': {}, \ 'InsertLeave': {},
\ 'BufWritePost': {}, \ 'BufWritePost': {},
\ 'BufWinEnter': {}
\ }) \ })
" When compilation is done, open the Location list or quickfix list " When compilation is done, open the Location list or quickfix list
" Value of 2 preserves cursor position " Value of 2 preserves cursor position