added sql formatter

This commit is contained in:
foxora 2026-03-16 08:43:25 +00:00
parent f6e3fa6a86
commit 5c93afcb2b
2 changed files with 6 additions and 0 deletions

View file

@ -62,6 +62,7 @@ return {
haskell = nixCats("lang.haskell.format") and { "ormolu" } or nil,
proto = nixCats("lang.protobuf.format") and { "buf" } or nil,
toml = nixCats("lang.toml.format") and { "taplo" } or nil,
sql = nixCats("lang.sql.format") and { "sqlfluff" } or nil,
},
format_on_save = {
timeout_ms = 500,

View file

@ -103,6 +103,9 @@ in {
bash = {
lsp = [bash-language-server];
};
sql = {
format = [sqlfluff];
};
};
};
@ -300,6 +303,8 @@ in {
toml.format = true;
bash.lsp = true;
sql.format = true;
};
};
};