Nvim: small tweaks and organizing config

This commit is contained in:
Marko Korhonen 2023-11-20 21:14:45 +02:00
parent 53a52fb737
commit 6fbba8bf3d
4 changed files with 18 additions and 12 deletions

View file

@ -18,4 +18,17 @@ return {
lsp_doc_border = true,
},
},
config = function(_, opts)
local noice = require("noice")
noice.setup(opts)
require("which-key").register({
d = {
function()
vim.cmd("NoiceDismiss")
end,
"Dismiss notifications",
},
}, { prefix = "<leader>" })
end,
}