neovim -> nixvim

This commit is contained in:
2026-02-20 23:38:41 +01:00
parent 2f47700b62
commit 6fd9424a96
60 changed files with 3005 additions and 176 deletions

View File

@@ -0,0 +1,94 @@
{ ... }:
{
programs.nixvim.plugins = {
todo-comments = {
enable = true;
settings = {
highlight = {
comments_only = false;
};
colors = {
default = [
"Identifier"
"#7C3AED"
];
error = [
"DiagnosticError"
"ErrorMsg"
"#DC2626"
];
hint = [
"DiagnosticHint"
"#10B981"
];
info = [
"DiagnosticInfo"
"#2563EB"
];
test = [
"Identifier"
"#FF00FF"
];
warning = [
"DiagnosticWarn"
"WarningMsg"
"#FBBF24"
];
};
keywords = {
FIX = {
alt = [
"FIXME"
"BUG"
"FIXIT"
"ISSUE"
];
color = "error";
icon = " ";
};
HACK = {
color = "warning";
icon = " ";
};
NOTE = {
alt = [
"INFO"
];
color = "hint";
icon = " ";
};
PERF = {
alt = [
"OPTIM"
"PERFORMANCE"
"OPTIMIZE"
];
icon = " ";
};
TEST = {
alt = [
"TESTING"
"PASSED"
"FAILED"
];
color = "test";
icon = " ";
};
TODO = {
color = "info";
icon = " ";
};
WARN = {
alt = [
"WARNING"
"XXX"
];
color = "warning";
icon = " ";
};
};
};
};
};
}