handleTextChanged in TextChangedP
This commit and the previous one fix ncm2/ncm2#58 and ncm2/ncm2#59
@@ -109,6 +109,9 @@ augroup languageClient
autocmd BufDelete * call LanguageClient#handleBufDelete()
autocmd TextChanged * call LanguageClient#handleTextChanged()
autocmd TextChangedI * call LanguageClient#handleTextChanged()
+ if exists('##TextChangedP')
+ autocmd TextChangedP * call LanguageClient#handleTextChanged()
+ endif
autocmd CursorMoved * call LanguageClient#handleCursorMoved()
autocmd VimLeavePre * call LanguageClient#handleVimLeavePre()
