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:
parent
417f28297b
commit
36ce7aacbe
1 changed files with 8 additions and 5 deletions
|
|
@ -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.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue