Run `nix fmt` at the root of the repository to format all files. I've done this on my fork and this will help me merge your changes later without having to deal with un-formatted files.
36 lines
570 B
Nix
36 lines
570 B
Nix
{
|
|
autoGroups = {
|
|
filetypes = { };
|
|
};
|
|
|
|
files."ftdetect/terraformft.lua".autoCmd = [
|
|
{
|
|
group = "filetypes";
|
|
event = [
|
|
"BufRead"
|
|
"BufNewFile"
|
|
];
|
|
pattern = [
|
|
"*.tf"
|
|
" *.tfvars"
|
|
" *.hcl"
|
|
];
|
|
command = "set ft=terraform";
|
|
}
|
|
];
|
|
|
|
files."ftdetect/bicepft.lua".autoCmd = [
|
|
{
|
|
group = "filetypes";
|
|
event = [
|
|
"BufRead"
|
|
"BufNewFile"
|
|
];
|
|
pattern = [
|
|
"*.bicep"
|
|
"*.bicepparam"
|
|
];
|
|
command = "set ft=bicep";
|
|
}
|
|
];
|
|
}
|