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:
parent
07e6c2f9f4
commit
81f8ce0d3a
@ -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'],
|
||||
|
@ -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'],
|
||||
|
@ -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'],
|
||||
|
@ -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'],
|
||||
|
@ -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'],
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user