summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/null-ls.fnl
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-30 22:02:16 +0200
committeraktersnurra <grydholm@kth.se>2022-04-30 22:02:16 +0200
commitf1ba54105f8d0ff0187b4336f80a0040043549f1 (patch)
tree21aa72994e255352895f69d0d975158e6abe2f14 /fnl/config/lsp/null-ls.fnl
parent8884050b2b86c75a0676976df0150c11bdda09ea (diff)
style: format
Diffstat (limited to 'fnl/config/lsp/null-ls.fnl')
-rw-r--r--fnl/config/lsp/null-ls.fnl44
1 files changed, 24 insertions, 20 deletions
diff --git a/fnl/config/lsp/null-ls.fnl b/fnl/config/lsp/null-ls.fnl
index a7e49ec..b0fec48 100644
--- a/fnl/config/lsp/null-ls.fnl
+++ b/fnl/config/lsp/null-ls.fnl
@@ -5,23 +5,27 @@
(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]})))
+ (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]})))