fix annoyance on older vim - interacts badly with stopinsert trigger

Fri, 07 May 2021 00:09:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 07 May 2021 00:09:07 -0500
changeset 903
7453a9387eb3
parent 902
a51c4b8aa1da
child 904
a568d7cb564d

fix annoyance on older vim - interacts badly with stopinsert trigger

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -352,6 +352,10 @@ let g:lsp_diagnostics_echo_cursor = 1
 let g:lsp_document_code_action_signs_enabled = 0
 let g:lsp_preview_doubletap = [function('lsp#ui#vim#output#closepreview')]
 
+if !has('patch-8.1.1517') || !has('neovim')
+  let g:lsp_signature_help_enabled = 0
+endif
+
 augroup vim-lsp
   autocmd!
   autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled()

mercurial