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
1 changed files with 3 additions and 1 deletions

View File

@ -35,5 +35,7 @@ endfun
augroup ASYNC_LINT
au TextChanged * 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