neovim -> nixvim
This commit is contained in:
94
home/programs/nixvim/plugins/todo-comments.nix
Normal file
94
home/programs/nixvim/plugins/todo-comments.nix
Normal 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 = " ";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user