From fe753afb412dadb3c7d46edb9bea8ac3652704c6 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Wed, 2 Apr 2025 21:14:28 +0200 Subject: nixvim: switch noice, notify, indent-blankline -> snacks was causing issues for orgmode --- common/nixvim.nix | 54 ++++++++++++++++-------------------------------------- 1 file changed, 16 insertions(+), 38 deletions(-) diff --git a/common/nixvim.nix b/common/nixvim.nix index 0092744..9809736 100644 --- a/common/nixvim.nix +++ b/common/nixvim.nix @@ -384,14 +384,6 @@ inputs: }; }; - indent-blankline = { - enable = true; - settings.indent = { - char = "│"; - tab_char = "│"; - }; - }; - lastplace.enable = true; leap = { @@ -475,28 +467,6 @@ inputs: }; }; - noice = { - enable = true; - settings = { - lsp.override = { - "cmp.entry.get_documentation" = true; - "vim.lsp.util.convert_input_to_markdown_lines" = true; - "vim.lsp.util.stylize_markdown" = true; - }; - - presets.command_palette = true; - - routes = [ - { - view = "notify"; - filter = { - event = "msg_showmode"; - }; - } - ]; - }; - }; - none-ls = { enable = true; sources = { @@ -539,11 +509,6 @@ inputs: }; }; - notify = { - enable = true; - settings.stages = "static"; - }; - oil.enable = true; # TODO: maybe @@ -575,12 +540,27 @@ inputs: "checkhealth" "help" "lspinfo" - "noice" "Trouble" ]; }; }; + snacks = { + enable = true; + settings = { + bigfile.enabled = true; + indent = { + enabled = true; + animate.enabled = false; + }; + input.enabled = true; + notifier.enabled = true; + quickfile.enabled = true; + statuscolumn.enabled = true; + words.enabled = true; + }; + }; + spider = { enable = true; keymaps.motions = { @@ -603,8 +583,6 @@ inputs: "".__raw = "require('trouble.sources.telescope').add"; }; }; - - enabledExtensions = [ "noice" ]; extensions.undo.enable = true; keymaps = { -- cgit v1.2.3