switch to filetype event

This commit is contained in:
mewoocat 2025-12-24 13:07:14 -06:00
commit 78066496b2
2 changed files with 1 additions and 24 deletions

View file

@ -209,7 +209,7 @@ in {
(setLanguageIndent {
language = "markdown";
indentSize = 4;
indentSize = 6;
})
]);

View file

@ -174,28 +174,5 @@ in {
indentSize = cfg.indentSize;
})
/*
{
vim.autocmds = [
{
desc = "Sets indent for nix files";
event = ["BufEnter"];
pattern = [
"*.nix"
"*.md"
];
callback = lib.generators.mkLuaInline ''
function()
vim.opt.tabstop = ${toString cfg.indentSize}
vim.opt.softtabstop = ${toString cfg.indentSize}
vim.opt.shiftwidth = ${toString cfg.indentSize}
end
'';
once = true;
}
];
}
*/
]);
}