Fix terminal breakage with lsp

Mon, 21 Feb 2022 21:00:21 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 21 Feb 2022 21:00:21 -0600
changeset 981
c6daeefb30bf
parent 980
ab27e37bbb82
child 982
51c555ca8a3b

Fix terminal breakage with lsp

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -140,6 +140,9 @@ func! s:on_lsp_buffer_enabled() abort
   nmap <buffer> <leader>gt <plug>(lsp-type-definition)
   let &signcolumn = (has('gui_running') ? 'number' : 'yes')
   hi lspReference ctermfg=217 guifg=#f0a0c0
+
+  " Workaround for vim-lsp mapping esc
+  nmap <plug>() <Plug>(lsp-float-close)
 endfunc
 
 " Commands & Aliases  {{{

mercurial