diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-09-18 22:06:51 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-09-18 22:06:51 +0200 |
commit | 3312fe1fd4a32665145a957a35b171222bd73add (patch) | |
tree | 0b305810ba7de87705fa3a2a05c8983fca0973bb /fnl/config/lsp/mason-null-lsp.fnl | |
parent | 712bdc4eb8c2c8446671c70116a637e45153c008 (diff) |
Add mason-null-lsp plugin
Diffstat (limited to 'fnl/config/lsp/mason-null-lsp.fnl')
-rw-r--r-- | fnl/config/lsp/mason-null-lsp.fnl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fnl/config/lsp/mason-null-lsp.fnl b/fnl/config/lsp/mason-null-lsp.fnl new file mode 100644 index 0000000..e35f0d7 --- /dev/null +++ b/fnl/config/lsp/mason-null-lsp.fnl @@ -0,0 +1,17 @@ +;; Ensure that tools needed for null-ls are installed. +(module config.mason-null-ls {autoload {: util}}) + +(def- opts {:ensure_installed {:flake8 :golangci-lint + :jsonlint :yamllint + :black :fnlfmt + :fourmolu :gofmt + :goimports :prettier + :rustfmt :stylua + :shellcheck :sqlformat + :terraform-fmt :shfmt} + :auto_update true + :automatic_installation true}) + +(util.use-config :mason-null-ls opts) +(let [mason-null-ls (require :mason-null-ls)] + (mason-null-ls.check_install true)) |