summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/mason-null-ls.fnl
blob: 42b3715350c466b4b27e3853515a46f41fd96934 (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}})

(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)