diff options
Diffstat (limited to 'fnl/config/lsp/null-ls.fnl')
-rw-r--r-- | fnl/config/lsp/null-ls.fnl | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/fnl/config/lsp/null-ls.fnl b/fnl/config/lsp/null-ls.fnl index b2bc1e2..0f9e459 100644 --- a/fnl/config/lsp/null-ls.fnl +++ b/fnl/config/lsp/null-ls.fnl @@ -2,28 +2,28 @@ (module config.lsp.null-ls {autoload {util util}}) -(let [(ok? null-ls) util.load-plugin :null-ls] - (when ok? - (let [formatting null_ls.builtins.formatting diagnostics null_ls.builtins.diagnostics]) - (null-ls.setup - {:debug false - :sources [ - (diagnostics.flake8) - (diagnostics.golangci_lint) - (diagnostics.jsonlint) - (diagnostics.shellcheck) - (diagnostics.yamllint) - (formatting.black.with { extra_args [ "--fast" ] }) - (formatting.erlfmt) - (formatting.fourmolu) - (formatting.gofmt) - (formatting.goimports) - (formatting.nixfmt) - (formatting.prettier.with { - extra_args [ "--no-semi" "--single-quote" "--jsx-single-quote" ] - }) - (formatting.rustfmt) - (formatting.shfmt) - (formatting.sqlformat) - (formatting.stylua) - (formatting.terraform_fmt)]}))) +(let [null-ls (util.load-plugin :null-ls)] + (let [formatting null_ls.builtins.formatting + diagnostics null_ls.builtins.diagnostics]) + (null-ls.setup + {:debug false + :sources [ + (diagnostics.flake8) + (diagnostics.golangci_lint) + (diagnostics.jsonlint) + (diagnostics.shellcheck) + (diagnostics.yamllint) + (formatting.black.with { extra_args [ "--fast" ] }) + (formatting.erlfmt) + (formatting.fourmolu) + (formatting.gofmt) + (formatting.goimports) + (formatting.nixfmt) + (formatting.prettier.with { + extra_args [ "--no-semi" "--single-quote" "--jsx-single-quote" ] + }) + (formatting.rustfmt) + (formatting.shfmt) + (formatting.sqlformat) + (formatting.stylua) + (formatting.terraform_fmt)]})) |