mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:20:03 +08:00
fix(lang#python): fix g d key binding
This commit is contained in:
parent
1e7fbd3fda
commit
072f7245a9
@ -266,9 +266,9 @@ endf
|
||||
function! s:go_to_def() abort
|
||||
if SpaceVim#layers#lsp#check_filetype('python')
|
||||
\ || SpaceVim#layers#lsp#check_server('pyright')
|
||||
call jedi#goto()
|
||||
else
|
||||
call SpaceVim#lsp#go_to_def()
|
||||
else
|
||||
call jedi#goto()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user