fix depreciation

This commit is contained in:
Patrick Neff 2024-11-05 06:52:14 +01:00
parent 6e0730fb9c
commit 1187a75226
1 changed files with 67 additions and 65 deletions

View File

@ -1,75 +1,77 @@
{
plugins.noice = {
enable = true;
cmdline = {
view = "cmdline";
format = {
cmdline = {
pattern = "^:";
icon = "";
lang = "vim";
settings = {
cmdline = {
view = "cmdline";
format = {
cmdline = {
pattern = "^:";
icon = "";
lang = "vim";
};
search_down = {
kind = "search";
pattern = "^/";
icon = "󰍉 ";
lang = "regex";
};
search_up = {
kind = "search";
pattern = "^%?";
icon = "󰍉 ";
lang = "regex";
};
filter = {
pattern = "^:%s*!";
icon = "$";
lang = "bash";
};
lua = {
pattern = [ "^:%s*lua%s+" "^:%s*lua%s*=%s*" "^:%s*=%s*" ];
icon = "";
lang = "lua";
};
help = {
pattern = "^:%s*he?l?p?%s+";
icon = "";
};
input = { };
};
search_down = {
kind = "search";
pattern = "^/";
icon = "󰍉 ";
lang = "regex";
};
search_up = {
kind = "search";
pattern = "^%?";
icon = "󰍉 ";
lang = "regex";
};
filter = {
pattern = "^:%s*!";
icon = "$";
lang = "bash";
};
lua = {
pattern = ["^:%s*lua%s+" "^:%s*lua%s*=%s*" "^:%s*=%s*"];
icon = "";
lang = "lua";
};
help = {
pattern = "^:%s*he?l?p?%s+";
icon = "";
};
input = {};
};
};
lsp = {
override = {
"vim.lsp.util.convert_input_to_markdown_lines" = true;
"vim.lsp.util.stylize_markdown" = true;
"cmp.entry.get_documentation" = true;
};
hover = {
enabled = true;
view = "hover";
lsp = {
override = {
"vim.lsp.util.convert_input_to_markdown_lines" = true;
"vim.lsp.util.stylize_markdown" = true;
"cmp.entry.get_documentation" = true;
};
hover = {
enabled = true;
view = "hover";
};
};
presets = {
bottom_search = true;
command_palette = true;
long_message_to_split = false;
inc_rename = false;
lsp_doc_border = true;
};
popupmenu = {
enabled = true;
backend = "cmp";
};
views = {
hover = {
border = {
style = "none";
padding = [ 0 0 ];
};
filter_options = {};
win_options = {
winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder";
};
presets = {
bottom_search = true;
command_palette = true;
long_message_to_split = false;
inc_rename = false;
lsp_doc_border = true;
};
popupmenu = {
enabled = true;
backend = "cmp";
};
views = {
hover = {
border = {
style = "none";
padding = [ 0 0 ];
};
filter_options = { };
win_options = {
winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder";
};
};
};
};