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",
|
"folke/noice.nvim",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
init = function()
|
config = function()
|
||||||
vim.opt.cmdheight = 0
|
require("noice").setup({
|
||||||
end,
|
|
||||||
opts = {
|
|
||||||
lsp = {
|
lsp = {
|
||||||
override = {
|
override = {
|
||||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
@ -56,7 +54,10 @@ return {
|
|||||||
filter = { event = "msg_show", min_height = 20 },
|
filter = { event = "msg_show", min_height = 20 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
})
|
||||||
|
|
||||||
|
vim.opt.cmdheight = 0
|
||||||
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user