nixvim/plugins/ux.nix
Lander Van den Bulcke 61feed4086
refactor: complete overhaul
Complete overhaul of repo structure based on nvix.

See https://github.com/niksingh710/nvix

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
2025-10-19 18:25:15 +02:00

64 lines
1.3 KiB
Nix

{ pkgs, config, ... }:
{
extraPlugins = [
pkgs.vimPlugins.windows-nvim
];
extraConfigLua = ''
vim.o.winwidth = 10
vim.o.winminwidth = 10
vim.o.equalalways = false
require('windows').setup({
ignore = {
filetype = { "snacks_picker_list", "snacks_layout_box" },
},
})
'';
plugins = {
colorizer = {
enable = true;
settings = {
filetypes = {
__unkeyed = "*";
};
user_default_options = {
names = true;
RRGGBBAA = true;
AARRGGBB = true;
rgb_fn = true;
hsl_fn = true;
css = true;
css_fn = true;
tailwind = true;
mode = "virtualtext";
virtualtext = "";
always_update = true;
};
};
};
dressing = {
enable = true;
settings.input.mappings.n = {
"q" = "Close";
"k" = "HistoryPrev";
"j" = "HistoryNext";
};
};
fidget = {
enable = true;
settings = {
progress.display.progress_icon = [ "moon" ];
notification.window = {
relative = "editor";
winblend = 0;
border = "none";
};
};
};
lastplace.enable = true;
};
}