From a51ecec28b8b6442051036644d424565dc3e975b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Mon, 4 Mar 2024 22:17:42 +0100 Subject: [PATCH] feat(nvim): Add noice plugin (very nice) --- .typos.toml | 2 ++ nvim/plugins.nix | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .typos.toml diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 0000000..115fa29 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,2 @@ +[default.extend-words] +noice = "noice" # nvim package name :c diff --git a/nvim/plugins.nix b/nvim/plugins.nix index d35e8d7..429dcef 100644 --- a/nvim/plugins.nix +++ b/nvim/plugins.nix @@ -62,6 +62,21 @@ enable = true; extraConfig = { update_events = "TextChanged,TextChangedI"; }; }; + noice = { + enable = true; + presets = { + # use a classic bottom cmdline for search + bottom_search = true; + # position the cmdline and popupmenu together + command_palette = true; + # long messages will be sent to a split + long_message_to_split = true; + # enables an input dialog for inc-rename.nvim + inc_rename = false; + # add a border to hover docs and signature help + lsp_doc_border = false; + }; + }; nvim-cmp = { enable = true; # Snippets