1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-19 07:21:12 +01:00

plugins/noice: note deprecated LSP override keys

Some override targets (e.g. vim.lsp.util.stylize_markdown) are
deprecated in Neovim.
This commit is contained in:
Austin Horstman 2025-12-16 19:40:18 -06:00 committed by Gaétan Lepage
parent 417f28297b
commit 36ce7aacbe

View file

@ -217,11 +217,14 @@ lib.nixvim.plugins.mkNeovimPlugin {
view = defaultNullOpts.mkStr "mini" "Lsp progress view backend."; view = defaultNullOpts.mkStr "mini" "Lsp progress view backend.";
}; };
override = defaultNullOpts.mkAttrsOf types.bool { override =
"vim.lsp.util.convert_input_to_markdown_lines" = false; defaultNullOpts.mkAttrsOf types.bool
"vim.lsp.util.stylize_markdown" = false; {
"cmp.entry.get_documentation" = false; "vim.lsp.util.convert_input_to_markdown_lines" = false;
} "Functions to override and use Noice."; "vim.lsp.util.stylize_markdown" = false;
"cmp.entry.get_documentation" = false;
}
"Functions to override and use Noice. Note: some of these (e.g. vim.lsp.util.stylize_markdown) are deprecated by Neovim; see :h deprecated.";
hover = { hover = {
enabled = defaultNullOpts.mkBool true "Enable hover UI."; enabled = defaultNullOpts.mkBool true "Enable hover UI.";