My neovim config

This commit is contained in:
2024-09-17 15:02:57 -03:00
commit f441f5af5b
37 changed files with 1712 additions and 0 deletions

35
lua/plugins/noice.lua Normal file
View File

@@ -0,0 +1,35 @@
return {
{ "rcarriga/nvim-notify", init = false, config = true },
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if opts.ensure_installed ~= "all" then
opts.ensure_installed = require("astrocore").list_insert_unique(
opts.ensure_installed,
{ "bash", "markdown", "markdown_inline", "regex", "vim" }
)
end
end,
},
{
"folke/noice.nvim",
event = "VeryLazy",
opts = {
cmdline = { view = "cmdline" },
messages = { view_search = false },
lsp = {
progress = { enabled = false },
hover = { enabled = false },
signature = { enabled = false },
},
routes = {
{ filter = { event = "msg_show", min_height = 20 }, view = "messages" }, -- send long messages to split
{ filter = { event = "msg_show", find = "%d+L,%s%d+B" }, opts = { skip = true } }, -- skip save notifications
{ filter = { event = "msg_show", find = "^%d+ more lines$" }, opts = { skip = true } }, -- skip paste notifications
{ filter = { event = "msg_show", find = "^%d+ fewer lines$" }, opts = { skip = true } }, -- skip delete notifications
{ filter = { event = "msg_show", find = "^%d+ lines yanked$" }, opts = { skip = true } }, -- skip yank notifications
},
},
},
lazy = false,
}