Added noice
This commit is contained in:
parent
6c340e0958
commit
a1773eedfc
2 changed files with 35 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
./flash.nix
|
./flash.nix
|
||||||
./ts-autotag.nix
|
./ts-autotag.nix
|
||||||
./lualine.nix
|
./lualine.nix
|
||||||
|
./noice.nix
|
||||||
];
|
];
|
||||||
opts = {
|
opts = {
|
||||||
number = true;
|
number = true;
|
||||||
|
|
|
||||||
34
config/noice.nix
Normal file
34
config/noice.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
plugins.noice = {
|
||||||
|
enable = true;
|
||||||
|
luaConfig.pre = ''
|
||||||
|
opts = {
|
||||||
|
lsp = {
|
||||||
|
override = {
|
||||||
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
|
["vim.lsp.util.stylize_markdown"] = true,
|
||||||
|
["cmp.entry.get_documentation"] = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
routes = {
|
||||||
|
{
|
||||||
|
filter = {
|
||||||
|
event = "msg_show",
|
||||||
|
any = {
|
||||||
|
{ find = "%d+L, %d+B" },
|
||||||
|
{ find = "; after #%d+" },
|
||||||
|
{ find = "; before #%d+" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
view = "mini",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
presets = {
|
||||||
|
bottom_search = true,
|
||||||
|
command_palette = true,
|
||||||
|
long_message_to_split = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue