Add nvim check for vim-incompatible event

This commit is contained in:
Talia 2021-06-24 15:57:33 +02:00
parent e0a514d89c
commit fd72d91c72

View file

@ -35,5 +35,7 @@ endfun
augroup ASYNC_LINT augroup ASYNC_LINT
au TextChanged * call s:async_lint_abort(bufnr("%")) au TextChanged * call s:async_lint_abort(bufnr("%"))
au TextChangedI * call s:async_lint_abort(bufnr("%")) au TextChangedI * call s:async_lint_abort(bufnr("%"))
au TextChangedP * call s:async_lint_abort(bufnr("%")) if has("nvim")
au TextChangedP * call s:async_lint_abort(bufnr("%"))
endif
augroup END augroup END