summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/mason-null-ls.fnl
blob: 33cf93f9e6278de62530f85b285e7d35c6b839a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
;; Ensure that tools needed for null-ls are installed.
(module config.mason-null-ls {autoload {util config.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.setup :mason-null-ls opts)