mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
Avoid double tap feature in insert-mode (#558)
This commit is contained in:
@@ -292,6 +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'
|
||||
echo ''
|
||||
return call(g:lsp_preview_doubletap[0], [])
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user