Nvim: Remap type definition
This commit is contained in:
parent
024fad6baf
commit
71cfebbf64
|
@ -11,6 +11,7 @@ local function map_keys()
|
||||||
name = "Go to",
|
name = "Go to",
|
||||||
d = { telescope_builtin.lsp_definitions, "Definition" },
|
d = { telescope_builtin.lsp_definitions, "Definition" },
|
||||||
D = { vim.lsp.buf.declaration, "Declaration" },
|
D = { vim.lsp.buf.declaration, "Declaration" },
|
||||||
|
t = { vim.lsp.buf.type_definition, "Type definition" },
|
||||||
i = { telescope_builtin.lsp_implementations, "Implementation" },
|
i = { telescope_builtin.lsp_implementations, "Implementation" },
|
||||||
r = { telescope_builtin.lsp_references, "References" },
|
r = { telescope_builtin.lsp_references, "References" },
|
||||||
s = { telescope_builtin.lsp_document_symbols, "Symbols" },
|
s = { telescope_builtin.lsp_document_symbols, "Symbols" },
|
||||||
|
@ -29,7 +30,6 @@ local function map_keys()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
k = { vim.lsp.buf.signature_help, "Signature help" },
|
k = { vim.lsp.buf.signature_help, "Signature help" },
|
||||||
D = { vim.lsp.buf.type_definition, "Type definition" },
|
|
||||||
rn = { vim.lsp.buf.rename, "Rename symbol" },
|
rn = { vim.lsp.buf.rename, "Rename symbol" },
|
||||||
ca = { vim.lsp.buf.code_action, "Code action" },
|
ca = { vim.lsp.buf.code_action, "Code action" },
|
||||||
e = { vim.diagnostic.open_float, "Open diagnostics" },
|
e = { vim.diagnostic.open_float, "Open diagnostics" },
|
||||||
|
|
Loading…
Reference in a new issue