mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 19:22:00 -05:00
35 lines
533 B
Nix
Executable File
35 lines
533 B
Nix
Executable File
_: {
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|