add bicep

(not really working yet)
This commit is contained in:
Roel de Cort 2024-05-28 22:34:02 +02:00
parent 21240d6edb
commit 54f3e1bfb5

View file

@ -74,10 +74,6 @@
return { lsp_fallback = true } return { lsp_fallback = true }
end end
''; '';
#formatOnSave = {
# lspFallback = true;
# timeoutMs = 500;
#};
notifyOnError = true; notifyOnError = true;
formattersByFt = { formattersByFt = {
html = [ html = [
@ -123,6 +119,7 @@
] ]
]; ];
terraform = ["terraform_fmt"]; terraform = ["terraform_fmt"];
bicep = ["bicep"];
bash = [ bash = [
"shellcheck" "shellcheck"
"shellharden" "shellharden"
@ -131,6 +128,7 @@
json = ["jq"]; json = ["jq"];
"_" = ["trim_whitespace"]; "_" = ["trim_whitespace"];
}; };
formatters = { formatters = {
black = { black = {
command = "${lib.getExe pkgs.black}"; command = "${lib.getExe pkgs.black}";
@ -159,6 +157,9 @@
shellharden = { shellharden = {
command = "${lib.getExe pkgs.shellharden}"; command = "${lib.getExe pkgs.shellharden}";
}; };
bicep = {
command = "${lib.getExe pkgs.bicep}";
};
#yamlfmt = { #yamlfmt = {
# command = "${lib.getExe pkgs.yamlfmt}"; # command = "${lib.getExe pkgs.yamlfmt}";
#}; #};