Improve signature help with lexima.vim (#638)

* Improve signature help with lexima.vim

* Fix buffer change problem

* Display signature help after cursor jumped

* Fix event

* Add _ prefix for inner functions
This commit is contained in:
hrsh7th
2020-01-05 02:17:03 +09:00
committed by Prabir Shrestha
parent 6bb1252a9c
commit fef60795ec
5 changed files with 103 additions and 15 deletions

View File

@@ -292,7 +292,7 @@ function! lsp#ui#vim#output#preview(server, data, options) abort
\ && type(g:lsp_preview_doubletap) == 3
\ && len(g:lsp_preview_doubletap) >= 1
\ && type(g:lsp_preview_doubletap[0]) == 2
\ && mode()[0] !=# 'i'
\ && index(['i', 's'], mode()[0]) == -1
echo ''
return call(g:lsp_preview_doubletap[0], [])
endif