summaryrefslogtreecommitdiffstats
path: root/lua/mason-lspconfig/win-exepath-compat.lua
blob: 995bb6db5e111a8c2eb23e051c5cde66d175edcb (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---On Windows, Mason will link executables as .cmd wrapper scripts in Mason's bin/ directory.
---Some utilities, libuv in particular (which neovim's RPC client, among others, uses), have problems finding .cmd
---executables in PATH.
---The following is a table of lspconfig servers whose cmd will need to be expanded with |exepath()| in order to be
---successfully located and started with lspconfig.
return {
    ["angularls"] = true,
    ["arduino_language_server"] = true,
    ["asm_lsp"] = true,
    ["beancount"] = true,
    ["bicep"] = true,
    ["bsl_ls"] = true,
    ["ccls"] = true,
    ["clangd"] = true,
    ["clarity_lsp"] = true,
    ["clojure_lsp"] = true,
    ["cmake"] = true,
    ["codeqlls"] = true,
    ["crystalline"] = true,
    ["csharp_ls"] = true,
    ["cssls"] = true,
    ["denols"] = true,
    ["dhall_lsp_server"] = true,
    ["efm"] = true,
    ["elixirls"] = true,
    ["esbonio"] = true,
    ["flux_lsp"] = true,
    ["fortls"] = true,
    ["fsautocomplete"] = true,
    ["golangci_lint_ls"] = true,
    ["gopls"] = true,
    ["groovyls"] = true,
    ["haxe_language_server"] = true,
    ["hls"] = true,
    ["jdtls"] = true,
    ["jedi_language_server"] = true,
    ["jsonnet_ls"] = true,
    ["kotlin_language_server"] = true,
    ["lelwel_ls"] = true,
    ["lemminx"] = true,
    ["ltex"] = true,
    ["mm0_ls"] = true,
    ["nickel_ls"] = true,
    ["nimls"] = true,
    ["ocamllsp"] = true,
    ["omnisharp"] = true,
    ["perlnavigator"] = true,
    ["phpactor"] = true,
    ["prosemd_lsp"] = true,
    ["psalm"] = true,
    ["puppet"] = true,
    ["pylsp"] = true,
    ["quick_lint_js"] = true,
    ["reason_ls"] = true,
    ["rescriptls"] = true,
    ["rnix"] = true,
    ["robotframework_ls"] = true,
    ["rust_analyzer"] = true,
    ["salt_ls"] = true,
    ["scry"] = true,
    ["serve_d"] = true,
    ["slint_lsp"] = true,
    ["solang"] = true,
    ["sorbet"] = true,
    ["sourcery"] = true,
    ["sqlls"] = true,
    ["sqls"] = true,
    ["sumneko_lua"] = true,
    ["svls"] = true,
    ["taplo"] = true,
    ["teal_ls"] = true,
    ["terraformls"] = true,
    ["texlab"] = true,
    ["tflint"] = true,
    ["theme_check"] = true,
    ["vala_ls"] = true,
    ["verible"] = true,
    ["visualforce_ls"] = true,
    ["vls"] = true,
    ["zk"] = true,
    ["zls"] = true,
}