feat(lsp): Add mapping for the telescope lsp document symbols finder

This commit is contained in:
kalmenn 2024-03-11 14:00:43 +01:00
parent fd21ca18eb
commit ccb5af6731
Signed by: kalmenn
GPG key ID: F500055C44BC3834

View file

@ -63,6 +63,7 @@ return {
vim.keymap.set("n", "<space>f", function() vim.keymap.set("n", "<space>f", function()
vim.lsp.buf.format({ async = true }) vim.lsp.buf.format({ async = true })
end, opts) end, opts)
vim.keymap.set("n", "<C-m>", "<cmd>Telescope lsp_document_symbols<cr>", opts)
end, end,
}) })
end, end,