Add "Goto type definition" key binding

This commit is contained in:
László Károlyi 2023-03-26 17:22:43 +02:00
parent fc50c39cfc
commit dae01e4d4d
Signed by: karolyi
GPG Key ID: 2DCAF25E55735BFE
1 changed files with 22 additions and 0 deletions

View File

@ -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",