diff --git a/nvim/.config/nvim/plugin/after/lsp.lua b/nvim/.config/nvim/plugin/after/lsp.lua index a85b64c..145a859 100644 --- a/nvim/.config/nvim/plugin/after/lsp.lua +++ b/nvim/.config/nvim/plugin/after/lsp.lua @@ -38,8 +38,8 @@ lsp.on_attach(function(client, bufnr) vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts) vim.keymap.set("n", "vws", function() vim.lsp.buf.workspace_symbol() end, opts) vim.keymap.set("n", "vd", function() vim.diagnostic.open_float() end, opts) - vim.keymap.set("n", "[d", function() vim.diagnostic.goto_next() end, opts) - vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() end, opts) + vim.keymap.set("n", "fd", function() vim.diagnostic.goto_next() end, opts) + vim.keymap.set("n", "ffd", function() vim.diagnostic.goto_prev() end, opts) vim.keymap.set("n", "vca", function() vim.lsp.buf.code_action() end, opts) vim.keymap.set("n", "vrr", function() vim.lsp.buf.references() end, opts) vim.keymap.set("n", "vrn", function() vim.lsp.buf.rename() end, opts)