diff --git a/lua/nvchad/configs/lspconfig.lua b/lua/nvchad/configs/lspconfig.lua index cab37ca..f6f1b0f 100644 --- a/lua/nvchad/configs/lspconfig.lua +++ b/lua/nvchad/configs/lspconfig.lua @@ -10,7 +10,6 @@ M.on_attach = function(client, bufnr) map("n", "gD", vim.lsp.buf.declaration, opts "Go to declaration") map("n", "gd", vim.lsp.buf.definition, opts "Go to definition") - map("n", "K", vim.lsp.buf.hover, opts "hover information") map("n", "gi", vim.lsp.buf.implementation, opts "Go to implementation") map("n", "sh", vim.lsp.buf.signature_help, opts "Show signature help") map("n", "wa", vim.lsp.buf.add_workspace_folder, opts "Add workspace folder") diff --git a/lua/nvchad/mappings.lua b/lua/nvchad/mappings.lua index 8730906..494a98a 100644 --- a/lua/nvchad/mappings.lua +++ b/lua/nvchad/mappings.lua @@ -26,10 +26,7 @@ map("n", "fm", function() end, { desc = "format files" }) -- global lsp mappings -map("n", "lf", vim.diagnostic.open_float, { desc = "lsp floating diagnostics" }) -map("n", "[d", vim.diagnostic.goto_prev, { desc = "lsp prev diagnostic" }) -map("n", "]d", vim.diagnostic.goto_next, { desc = "lsp next diagnostic" }) -map("n", "q", vim.diagnostic.setloclist, { desc = "lsp diagnostic loclist" }) +map("n", "ds", vim.diagnostic.setloclist, { desc = "lsp diagnostic loclist" }) -- tabufline map("n", "b", "enew", { desc = "buffer new" })