Compare commits

...

2 Commits

Author SHA1 Message Date
b433bf4f67 Add mdformat-myst formatter as lsp 2025-07-25 10:17:09 -04:00
2dbc45f106 nvim: Add gd keyboard shortcut 2025-07-25 10:16:44 -04:00
2 changed files with 5 additions and 0 deletions

View File

View File

@ -54,6 +54,11 @@ vim.api.nvim_create_autocmd('LspAttach', {
function() vim.lsp.buf.format({ bufnr = args.buf, timeout_ms = 1000 }) end,
{ desc = "Format" })
vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, {
desc = "Go to definition"
})
-- if client:supports_method('textDocument/implementation') then
-- -- Create a keymap for vim.lsp.buf.implementation ...
-- end