From 401e72a8617832b13fbbc9edf3e0f59e78bf600a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Wed, 30 Oct 2024 21:23:24 +0100 Subject: [PATCH] fix(nvim): noice options moved to settings --- nvim/plugins.nix | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/nvim/plugins.nix b/nvim/plugins.nix index 7e5f818..5dd5c26 100644 --- a/nvim/plugins.nix +++ b/nvim/plugins.nix @@ -230,22 +230,24 @@ in }; noice = { enable = true; - lsp.override = { - "vim.lsp.util.convert_input_to_markdown_lines" = true; - "vim.lsp.util.stylize_markdown" = true; - "cmp.entry.get_documentation" = true; - }; - presets = { - # use a classic bottom cmdline for search - bottom_search = true; - # position the cmdline and popupmenu together - command_palette = false; - # 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 = true; + settings = { + lsp.override = { + "vim.lsp.util.convert_input_to_markdown_lines" = true; + "vim.lsp.util.stylize_markdown" = true; + "cmp.entry.get_documentation" = true; + }; + presets = { + # use a classic bottom cmdline for search + bottom_search = true; + # position the cmdline and popupmenu together + command_palette = false; + # 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 = true; + }; }; }; notify = {