add sql formatter and fix ignore patterns ignoring too much
This commit is contained in:
parent
86a29f880e
commit
498ade4bfc
3 changed files with 7 additions and 5 deletions
|
|
@ -61,6 +61,7 @@ return {
|
|||
},
|
||||
-- Note that all these need to be available at runtime, add them to flake.nix#runtimeDependencies
|
||||
formatters_by_ft = {
|
||||
sql = { "sqlfluff", lsp_format = "first" },
|
||||
lua = { "stylua", lsp_format = "first" },
|
||||
nix = { "nixfmt", lsp_format = "first" },
|
||||
typescript = expandFormatters({ { "prettierd", "prettier" }, "rustywind", lsp_format = "first" }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue