We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<Space
1 parent dfc001a commit 5457ce1Copy full SHA for 5457ce1
autoload/lsp/signature.vim
@@ -57,7 +57,11 @@ export def BufferInit(lspserver: dict<any>)
57
58
# map characters that trigger signature help
59
for ch in lspserver.caps.signatureHelpProvider.triggerCharacters
60
- exe $"inoremap <buffer> <silent> {ch} {ch}<C-R>=g:LspShowSignature()<CR>"
+ var mapChar = ch
61
+ if ch =~ ' '
62
+ mapChar = '<Space>'
63
+ endif
64
+ exe $"inoremap <buffer> <silent> {mapChar} {mapChar}<C-R>=g:LspShowSignature()<CR>"
65
endfor
66
67
# close the signature popup when leaving insert mode
0 commit comments