added sql formatter
This commit is contained in:
parent
f6e3fa6a86
commit
5c93afcb2b
2 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue