24 lines
818 B
Lua
24 lines
818 B
Lua
return {
|
|
"folke/noice.nvim",
|
|
config = function()
|
|
require("noice").setup({
|
|
cmdline = {
|
|
enabled = true, -- enables the Noice cmdline UI
|
|
view = "cmdline_popup",
|
|
format = {
|
|
cmdline = { pattern = "^:", icon = "", lang = "vim" },
|
|
search_down = { kind = "search", pattern = "^/", icon = " ", lang = "regex" },
|
|
search_up = { kind = "search", pattern = "^%?", icon = " ", lang = "regex" },
|
|
filter = { pattern = "^:%s*!", icon = "$", lang = "bash" },
|
|
lua = { pattern = { "^:%s*lua%s+", "^:%s*lua%s*=%s*", "^:%s*=%s*" }, icon = "", lang = "lua" },
|
|
help = { pattern = "^:%s*he?l?p?%s+", icon = "" },
|
|
input = {},
|
|
},
|
|
},
|
|
messages = {
|
|
enabled = false,
|
|
},
|
|
})
|
|
end,
|
|
}
|