summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/null-ls.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-05-01 23:06:03 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-05-01 23:06:03 +0200
commitf845a7b0588559750b1cb7eede1b3aecb450cdfe (patch)
tree1c2028e77ef60fb5a00e0abce46a0d4bf66d76d9 /fnl/config/lsp/null-ls.fnl
parent609daf2f632e907f0aed920084b51f608a63edf7 (diff)
style: fmt with fnlfmt
Diffstat (limited to 'fnl/config/lsp/null-ls.fnl')
-rw-r--r--fnl/config/lsp/null-ls.fnl49
1 files changed, 22 insertions, 27 deletions
diff --git a/fnl/config/lsp/null-ls.fnl b/fnl/config/lsp/null-ls.fnl
index 0d24373..b4b75c6 100644
--- a/fnl/config/lsp/null-ls.fnl
+++ b/fnl/config/lsp/null-ls.fnl
@@ -1,32 +1,27 @@
;; Adds LSP diagnostics and formatting.
-(module config.lsp.null-ls
- {autoload {util util}})
+(module config.lsp.null-ls {autoload {util util}})
(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.fnlfmt
- 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.fnlfmt
+ 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]})))