1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

fix(lsp): fix lsp key binding

close https://github.com/SpaceVim/SpaceVim/issues/4536
This commit is contained in:
wsdjeg 2022-01-06 13:29:37 +08:00
parent 07e6c2f9f4
commit 81f8ce0d3a
6 changed files with 15 additions and 15 deletions

View File

@ -52,7 +52,7 @@
" g D jump to type definition
" SPC l e rename symbol
" SPC l x show references
" SPC l s show line diagnostics
" SPC l h show line diagnostics
" SPC l d show document
" K show document
" SPC l w l list workspace folder
@ -199,7 +199,7 @@ function! s:language_mappings() abort
\ 'call SpaceVim#lsp#references()', 'show-references', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'],
\ 'call SpaceVim#lsp#rename()', 'rename-symbol', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 's'],
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'h'],
\ 'call SpaceVim#lsp#show_line_diagnostics()', 'show-line-diagnostics', 1)
let g:_spacevim_mappings_space.l.w = {'name' : '+Workspace'}
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'w', 'l'],

View File

@ -43,7 +43,7 @@
" g D jump to type definition
" SPC l e rename symbol
" SPC l x show references
" SPC l s show line diagnostics
" SPC l h show line diagnostics
" SPC l d show document
" K show document
" SPC l w l list workspace folder
@ -112,7 +112,7 @@ function! s:language_specified_mappings() abort
\ 'call SpaceVim#lsp#references()', 'show-references', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'],
\ 'call SpaceVim#lsp#rename()', 'rename-symbol', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 's'],
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'h'],
\ 'call SpaceVim#lsp#show_line_diagnostics()', 'show-line-diagnostics', 1)
let g:_spacevim_mappings_space.l.w = {'name' : '+Workspace'}
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'w', 'l'],

View File

@ -70,7 +70,7 @@
" g D jump to type definition
" SPC l e rename symbol
" SPC l x show references
" SPC l s show line diagnostics
" SPC l h show line diagnostics
" SPC l d show document
" K show document
" SPC l w l list workspace folder
@ -227,7 +227,7 @@ function! s:language_specified_mappings() abort
\ 'call SpaceVim#lsp#references()', 'show-references', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'],
\ 'call SpaceVim#lsp#rename()', 'rename-symbol', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 's'],
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'h'],
\ 'call SpaceVim#lsp#show_line_diagnostics()', 'show-line-diagnostics', 1)
let g:_spacevim_mappings_space.l.w = {'name' : '+Workspace'}
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'w', 'l'],

View File

@ -89,7 +89,7 @@
" g D jump to type definition
" SPC l e rename symbol
" SPC l x show references
" SPC l s show line diagnostics
" SPC l h show line diagnostics
" SPC l d show document
" K show document
" SPC l w l list workspace folder
@ -205,7 +205,7 @@ function! s:language_specified_mappings() abort
\ 'call SpaceVim#lsp#references()', 'show-references', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'],
\ 'call SpaceVim#lsp#rename()', 'rename-symbol', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 's'],
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'h'],
\ 'call SpaceVim#lsp#show_line_diagnostics()', 'show-line-diagnostics', 1)
let g:_spacevim_mappings_space.l.w = {'name' : '+Workspace'}
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'w', 'l'],

View File

@ -40,7 +40,7 @@
" key binding Description
" SPC l e rename symbol
" SPC l x show references
" SPC l s show line diagnostics
" SPC l h show line diagnostics
" SPC l d show document
" K show document
" SPC l w l list workspace folder
@ -162,7 +162,7 @@ function! s:language_specified_mappings() abort
\ 'call SpaceVim#lsp#references()', 'show-references', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'],
\ 'call SpaceVim#lsp#rename()', 'rename-symbol', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 's'],
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'h'],
\ 'call SpaceVim#lsp#show_line_diagnostics()', 'show-line-diagnostics', 1)
let g:_spacevim_mappings_space.l.w = {'name' : '+Workspace'}
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'w', 'l'],

View File

@ -3132,7 +3132,7 @@ used:
g D jump to type definition
SPC l e rename symbol
SPC l x show references
SPC l s show line diagnostics
SPC l h show line diagnostics
SPC l d show document
K show document
SPC l w l list workspace folder
@ -3201,7 +3201,7 @@ used:
g D jump to type definition
SPC l e rename symbol
SPC l x show references
SPC l s show line diagnostics
SPC l h show line diagnostics
SPC l d show document
K show document
SPC l w l list workspace folder
@ -3829,7 +3829,7 @@ used:
g D jump to type definition
SPC l e rename symbol
SPC l x show references
SPC l s show line diagnostics
SPC l h show line diagnostics
SPC l d show document
K show document
SPC l w l list workspace folder
@ -4122,7 +4122,7 @@ used:
g D jump to type definition
SPC l e rename symbol
SPC l x show references
SPC l s show line diagnostics
SPC l h show line diagnostics
SPC l d show document
K show document
SPC l w l list workspace folder
@ -4600,7 +4600,7 @@ used:
key binding Description
SPC l e rename symbol
SPC l x show references
SPC l s show line diagnostics
SPC l h show line diagnostics
SPC l d show document
K show document
SPC l w l list workspace folder