feat: add go to definition

This commit is contained in:
2025-05-29 23:38:45 -07:00
parent eb87b8d807
commit add099c61c
2 changed files with 4 additions and 3 deletions

View File

@@ -61,6 +61,7 @@ return {
vim.lsp.config("*", {
capabilities = capabilities,
})
vim.keymap.set("n", "gtd", vim.lsp.buf.definition)
cmp.setup.cmdline({ "/", "?" }, {
mapping = cmp.mapping.preset.cmdline(),
sources = {