1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-04-02 22:29:50 +00:00
Daniel Carrillo 7d01253a29
[neovim] replace neo-tree with snacks.nvim
Replace neo-tree.nvim with snacks.nvim for file explorer functionality and
remove several other plugins including:
- mini-animate
- mini-starter
- indent-blankline

The snacks.nvim plugin provides better file explorer, dashboard, indentation
guides, and other UI improvements in a more cohesive package.

Also removed the large file autocommand as snacks.nvim handles this with its
bigfile module.
2025-03-30 18:01:59 +02:00

58 lines
913 B
Lua

require("noice").setup({
presets = {
bottom_search = true,
command_palette = false,
},
cmdline = {
view = "cmdline",
},
views = {
mini = {
backend = "mini",
align = "message-left",
focusable = false,
position = {
row = "98%",
col = "0%",
},
border = {
style = "rounded",
},
},
},
messages = {
view_search = false,
},
lsp = {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
},
routes = {
{
filter = {
event = "lsp",
find = "diagnostics",
},
opts = { skip = true },
},
{
filter = {
event = "msg_show",
kind = "",
find = "escrito", -- localized for "written"
},
opts = { skip = true },
},
{
filter = {
event = "notify",
kind = "debug",
},
opts = { skip = true },
},
},
})