summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/mason-null-ls.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-09-19 12:51:09 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-09-19 12:51:09 +0200
commita052cf5d74da44327598c52636421118e774575d (patch)
tree66ea6d75a2154895ad5259a84e2d7d3bdb84fb65 /fnl/config/lsp/mason-null-ls.fnl
parentd854fe79e232ebe21ae1d948400c3901adaa3140 (diff)
Update mason-null-ls
Diffstat (limited to 'fnl/config/lsp/mason-null-ls.fnl')
-rw-r--r--fnl/config/lsp/mason-null-ls.fnl26
1 files changed, 26 insertions, 0 deletions
diff --git a/fnl/config/lsp/mason-null-ls.fnl b/fnl/config/lsp/mason-null-ls.fnl
new file mode 100644
index 0000000..42b3715
--- /dev/null
+++ b/fnl/config/lsp/mason-null-ls.fnl
@@ -0,0 +1,26 @@
+;; Ensure that tools needed for null-ls are installed.
+(module config.mason-null-ls {autoload {: util}})
+
+(def- opts {:ensure_installed [:flake8
+ :golangci-lint
+ :cpplint
+ :gitlint
+ :jsonlint
+ :yamllint
+ :black
+ :fnlfmt
+ :fourmolu
+ :gofmt
+ :goimports
+ :prettier
+ :rustfmt
+ :stylua
+ :shellcheck
+ :sqlfluff
+ :hadolint
+ :terraform-fmt
+ :shfmt]
+ :auto_update true
+ :automatic_installation true})
+
+(util.use-config :mason-null-ls opts)