I have been a vim user for years... I recently added a lot of plugins (see my ~/.vimrc) and I keep hitting a problem where I type a word (in this case, a string called cisco) and vim a) sees an autocomplete possibility b) somehow inserts AutoPairsDelete() while I'm typing cisco.


This is very annoying and counter-productive.

I'm running this version of vim on Debian Bullseye (Debian 11):

$ vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 01 2021 01:51:08)
Included patches: 1-2434
Extra patches: 8.2.3402, 8.2.3403, 8.2.3409, 8.2.3428

What should I do to solve this problem?

1 Answer 1


I solved it by adding let g:lsp_text_edit_enabled = 0 to my ~/.vimrc.

" IMPORTANT lsp_text_edit_enabled = 0 to stop typos during LSP popup...
" see https://github.com/prabirshrestha/asyncomplete.vim/issues/156
let g:lsp_text_edit_enabled = 0    

I haven't run into problems since I added that to my ~/.vimrc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.