Init:start-nix

This commit is contained in:
dichgrem
2025-07-22 12:18:15 +08:00
parent 7ce7214a74
commit e57cdd246c
178 changed files with 22667 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
_: {
programs.nixvim = {
plugins.lint = {
autoCmd = {
callback.__raw = ''
function()
require('lint').try_lint()
end
'';
group = "lint";
event = [
"BufEnter"
"BufWritePost"
"InsertLeave"
];
};
enable = true;
lintersByFt = {
nix = ["nix"];
markdown = [
"markdownlint"
];
};
};
autoGroups = {
lint = {
clear = true;
};
};
};
}