Nvim: small tweaks and organizing config

This commit is contained in:
Marko Korhonen 2023-11-20 21:14:45 +02:00
parent fc50b07d4e
commit 9c2f5dee4c
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
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,
}