more claude fixes

This commit is contained in:
2026-03-02 20:11:21 +01:00
parent 345b19b603
commit 23c1addc14
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
keymap.set("n", "K", vim.lsp.buf.hover, opts) -- show documentation for what is under cursor keymap.set("n", "K", vim.lsp.buf.hover, opts) -- show documentation for what is under cursor
opts.desc = "Restart LSP" opts.desc = "Restart LSP"
keymap.set("n", "<leader>rs", ":LspRestart<CR>", opts) -- mapping to restart lsp if necessary keymap.set("n", "<leader>rs", "<cmd>LspRestart<CR>", opts) -- mapping to restart lsp if necessary
end, end,
}) })
+6 -1
View File
@@ -31,6 +31,11 @@ return {
alpha.setup(dashboard.opts) alpha.setup(dashboard.opts)
-- Disable folding on alpha buffer -- Disable folding on alpha buffer
vim.cmd([[autocmd FileType alpha setlocal nofoldenable]]) vim.api.nvim_create_autocmd("FileType", {
pattern = "alpha",
callback = function()
vim.opt_local.foldenable = false
end,
})
end, end,
} }
+1 -5
View File
@@ -1,9 +1,5 @@
return { return {
"folke/which-key.nvim", "folke/which-key.nvim",
event = "VeryLazy", event = "VeryLazy",
opts = { opts = {},
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
} }