summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp/servers.fnl
blob: fea4e8985e6d5d25c901a482360e70676a611477 (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
27
28
29
30
31
32
;; List of lsp that should be automatically installed and supported.

{:bashls {}
 :clangd {}
 :cssls {}
 :dockerls {}
 :elixirls {}
 :hls {}
 :html {}
 :jsonls {:init_options {:providerFormatter false}
          :settings {:json {:schemas (let [schemastore (require :schemastore)]
                                       (schemastore.json.schemas))
                            :validate {:enable true}}}
          :setup {:commands {:Format [(λ []
                                        (vim.lsp.buf.range_formatting [] [0 0]
                                                                      [(vim.fn.line "$"
                                                                                    0)]))]}}}
 :ocamllsp {}
 :pyright {}
 :rust_analyzer {:settings {:rust-analyzer {:lens {:enable true}
                                            :checkOnSave {:command :clippy}}}}
 :lua_ls {:settings {:Lua {:completion {:callSnippet :Replace}
                           :workspace {:checkThirdParty false}
                           :runtime {:version :LuaJIT
                                     :path (vim.split package.path ";")}}}}
 :taplo {}
 :texlab {}
 :vale_ls {:filetypes [:markdown :text :org]}
 :sqls {}
 :yamlls {:settings {:yaml {:schemastore {:enable false :url ""}
                            :schemas (let [schemastore (require :schemastore)]
                                       (schemastore.yaml.schemas))}}}}