refactor(nvim): improve how noice
setup is handled
This commit is contained in:
parent
1971907a75
commit
59f7c95103
@ -2,10 +2,8 @@ return {
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
lazy = false,
|
||||
init = function()
|
||||
vim.opt.cmdheight = 0
|
||||
end,
|
||||
opts = {
|
||||
config = function()
|
||||
require("noice").setup({
|
||||
lsp = {
|
||||
override = {
|
||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||
@ -56,7 +54,10 @@ return {
|
||||
filter = { event = "msg_show", min_height = 20 },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
vim.opt.cmdheight = 0
|
||||
end,
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user