summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/mason-null-ls.fnl
blob: 5200cea720f123dab6c60ae969ee7e7a463a2b30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;; Ensure that tools needed for null-ls are installed.
(module config.mason-null-ls {autoload {util config.util}})

(def- opts {:ensure_installed [:cpplint
                               :fnlfmt
                               :gitlint
                               :hadolint
                               :jsonlint
                               :prettier
                               :rustfmt
                               :shellcheck
                               :shfmt
                               :sqlfluff
                               :stylua
                               :terraform-fmt
                               :yamllint]
            :auto_update true
            :automatic_installation true})

(util.setup :mason-null-ls opts)