Add "Goto type definition" key binding
This commit is contained in:
parent
fc50c39cfc
commit
dae01e4d4d
1 changed files with 22 additions and 0 deletions
|
@ -35,6 +35,28 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
// Go To TYPE Definition
|
||||
{
|
||||
"command": "lsp_symbol_type_definition",
|
||||
"args": {
|
||||
"side_by_side": false
|
||||
},
|
||||
"keys": [
|
||||
"primary+alt+d"
|
||||
],
|
||||
"context": [
|
||||
{
|
||||
"key": "lsp.session_with_capability",
|
||||
"operator": "equal",
|
||||
"operand": "definitionProvider"
|
||||
},
|
||||
{
|
||||
"key": "auto_complete_visible",
|
||||
"operator": "equal",
|
||||
"operand": false
|
||||
}
|
||||
]
|
||||
},
|
||||
// LSP hover by keycombination
|
||||
{
|
||||
"command": "lsp_hover",
|
||||
|
|
Loading…
Reference in a new issue