mirror of
https://github.com/akr2002/nv.git
synced 2025-02-05 10:30:02 +00:00
add noice
This commit is contained in:
parent
98f033921a
commit
1635041641
2 changed files with 37 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
./ui/alpha.nix
|
||||
./ui/dressing-nvim.nix
|
||||
./ui/indent-blankline.nix
|
||||
./ui/noice.nix
|
||||
./ui/nvim-notify.nix
|
||||
];
|
||||
}
|
||||
|
|
36
config/ui/noice.nix
Normal file
36
config/ui/noice.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
plugins.noice = {
|
||||
enable = true;
|
||||
notify = {
|
||||
enabled = false;
|
||||
};
|
||||
messages = {
|
||||
enabled = true; # Adds a padding-bottom to neovim statusline when set to false for some reason
|
||||
};
|
||||
lsp = {
|
||||
message = {
|
||||
enabled = true;
|
||||
};
|
||||
progress = {
|
||||
enabled = false;
|
||||
view = "mini";
|
||||
};
|
||||
};
|
||||
popupmenu = {
|
||||
enabled = true;
|
||||
backend = "nui";
|
||||
};
|
||||
format = {
|
||||
filter = {
|
||||
pattern = [":%s*%%s*s:%s*" ":%s*%%s*s!%s*" ":%s*%%s*s/%s*" "%s*s:%s*" ":%s*s!%s*" ":%s*s/%s*"];
|
||||
icon = "";
|
||||
lang = "regex";
|
||||
};
|
||||
replace = {
|
||||
pattern = [":%s*%%s*s:%w*:%s*" ":%s*%%s*s!%w*!%s*" ":%s*%%s*s/%w*/%s*" "%s*s:%w*:%s*" ":%s*s!%w*!%s*" ":%s*s/%w*/%s*"];
|
||||
icon = "";
|
||||
lang = "regex";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue