typescript: remap keybinding to use tide function
- As described in #10870, typescript/jump-to-type-def function is removed, but the keybinding is still calling it. - Mapping the keybind to call tide jump to definition directly.
This commit is contained in:
parent
655117009d
commit
43f0b4d617
|
@ -153,3 +153,7 @@
|
|||
|
||||
(defun spacemacs/typescript-yasnippet-setup ()
|
||||
(yas-activate-extra-mode 'js-mode))
|
||||
|
||||
(defun spacemacs/typescript-jump-to-type-def ()
|
||||
(interactive)
|
||||
(tide-jump-to-definition t))
|
||||
|
|
|
@ -79,7 +79,8 @@
|
|||
(setq keybindingList '("Ee" tide-fix
|
||||
"Ed" tide-add-tslint-disable-next-line
|
||||
"gb" tide-jump-back
|
||||
"gt" typescript/jump-to-type-def
|
||||
"gg" tide-jump-to-definition
|
||||
"gt" spacemacs/typescript-jump-to-type-def
|
||||
"gu" tide-references
|
||||
"hh" tide-documentation-at-point
|
||||
"rr" tide-rename-symbol
|
||||
|
|
Loading…
Reference in New Issue