Add nvim check for vim-incompatible event
This commit is contained in:
parent
e0a514d89c
commit
fd72d91c72
1 changed files with 3 additions and 1 deletions
|
@ -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("%"))
|
||||||
|
if has("nvim")
|
||||||
au TextChangedP * call s:async_lint_abort(bufnr("%"))
|
au TextChangedP * call s:async_lint_abort(bufnr("%"))
|
||||||
|
endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
Loading…
Reference in a new issue