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

(def- opts {:ensure_installed [:black
                               :cpplint
                               :flake8
                               :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)