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 = { plugins.noice = {
enable = true; enable = true;
cmdline = { settings = {
view = "cmdline"; cmdline = {
format = { view = "cmdline";
cmdline = { format = {
pattern = "^:"; cmdline = {
icon = ""; pattern = "^:";
lang = "vim"; 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 = {
lsp = { override = {
override = { "vim.lsp.util.convert_input_to_markdown_lines" = true;
"vim.lsp.util.convert_input_to_markdown_lines" = true; "vim.lsp.util.stylize_markdown" = true;
"vim.lsp.util.stylize_markdown" = true; "cmp.entry.get_documentation" = true;
"cmp.entry.get_documentation" = true; };
}; hover = {
hover = { enabled = true;
enabled = true; view = "hover";
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 = { presets = {
winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder"; 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";
};
}; };
}; };
}; };