Nvim: add keybind to show document symbols

This commit is contained in:
Marko Korhonen 2023-09-22 09:37:58 +03:00
parent 03918c79cd
commit 39b2a945bb
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -72,6 +72,7 @@ function m.map_keys()
D = { vim.lsp.buf.declaration, "Declaration" }, D = { vim.lsp.buf.declaration, "Declaration" },
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" },
}, },
["<leader>"] = { ["<leader>"] = {
name = "Leader", name = "Leader",