summaryrefslogtreecommitdiff
path: root/kate/lspclient/settings.json
blob: 935b1e1336981dba05ba908b10eb0c3d44a25364 (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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
    "servers": {
        "bash": {
            "command": ["bash-language-server", "start"],
            "root": "",
            "url": "https://github.com/bash-lsp/bash-language-server",
            "highlightingModeRegex": "^Bash$"
        },
        "bibtex": {
            "use": "latex",
            "highlightingModeRegex": "^BibTeX$"
        },
        "c": {
            "command": ["clangd", "-log=error", "--background-index", "--limit-results=500", "--completion-style=bundled"],
            "commandDebug": ["clangd", "-log=verbose", "--background-index"],
            "url": "https://clang.llvm.org/extra/clangd/",
            "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$"
        },
        "cpp": {
            "use": "c",
            "highlightingModeRegex": "^(C\\+\\+|ISO C\\+\\+|Objective-C\\+\\+)$"
        },
        "c-sharp": {
            "command": ["omnisharp", "-lsp"],
            "commandDebug": ["omnisharp", "--debug", "--verbose"],
            "url": "https://github.com/OmniSharp/omnisharp-roslyn",
            "highlightingModeRegex": "^C#$"
        },
        "d": {
            "command": ["serve-d"],
            "rootIndicationFileNames": ["dub.json"],
            "url": "https://github.com/Pure-D/serve-d",
            "highlightingModeRegex": "^D$"
        },
        "dart": {
            "command": ["dart", "analysis_server.dart.snapshot", "--lsp"],
            "url": "https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/tool",
            "rootIndicationFileNames": ["pubspec.yaml"],
            "highlightingModeRegex": "^Dart$",
            "initializationOptions": {
                "onlyAnalyzeProjectsWithOpenFiles": true
            }
        },
        "docker": {
            "command": ["docker-langserver", "--stdio"],
            "url": "https://github.com/rcjsuen/dockerfile-language-server-nodejs",
            "highlightingModeRegex": "^Dockerfile$"
        },
        "elm": {
            "command": ["elm-language-server"],
            "rootIndicatorFileNames": ["elm.json"],
            "url": "https://github.com/elm-tooling/elm-language-server",
            "highlightingModeRegex": "^Elm$"
        },
        "fortran": {
            "command": ["fortls"],
            "rootIndicationFileNames": [".fortls"],
            "url": "https://github.com/hansec/fortran-language-server",
            "highlightingModeRegex": "^Fortran.*$"
        },
        "go": {
            "command": ["gopls"],
            "commandDebug": ["gopls", "serve", "-rpc.trace"],
            "path": ["%{ENV:HOME}/go/bin", "%{ENV:USERPROFILE}/go/bin"],
            "rootIndicationFileNames": ["go.mod"],
            "url": "golang.org/x/tools/gopls",
            "highlightingModeRegex": "^Go$"
        },
        "haskell": {
            "command": ["haskell-language-server-wrapper", "--lsp"],
            "rootIndicationFileNames": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml"],
            "url": "https://github.com/haskell/haskell-language-server",
            "highlightingModeRegex": "^Haskell$"
        },
        "html": {
            "command": ["vscode-html-languageserver", "--stdio"],
            "url": "https://github.com/Microsoft/vscode/tree/main/extensions/html-language-features/server",
            "highlightingModeRegex": "^HTML$"
        },
        "javascript": {
            "command": ["typescript-language-server", "--stdio"],
            "rootIndicationFileNames": ["package.json", "package-lock.json"],
            "url": "https://github.com/theia-ide/typescript-language-server",
            "highlightingModeRegex": "^JavaScript.*$",
            "documentLanguageId": false
        },
        "kotlin": {
            "command": ["kotlin-language-server"],
            "root": ".",
            "url": "https://github.com/fwcd/kotlin-language-server",
            "highlightingModeRegex": "^Kotlin$"
        },
        "latex": {
            "command": ["texlab"],
            "url": "https://texlab.netlify.com/",
            "highlightingModeRegex": "^LaTeX$"
        },
        "lua": {
            "command": ["lua-language-server"],
            "url": "https://github.com/sumneko/lua-language-server",
            "highlightingModeRegex": "^Lua$"
        },
        "nim": {
            "command": ["nimlsp"],
            "path": ["%{ENV:HOME}/.nimble/bin", "%{ENV:USERPROFILE}/.nimble/bin"],
            "url": "https://github.com/PMunch/nimlsp",
            "highlightingModeRegex": "^Nim$"
        },
        "ocaml": {
            "command": ["ocamllsp"],
            "url": "https://github.com/ocaml/ocaml-lsp",
            "highlightingModeRegex": "^Objective Caml.*$"
        },
        "perl": {
            "command": ["perl", "-MPerl::LanguageServer", "-e", "Perl::LanguageServer::run", "--"],
            "commandDebug": ["perl", "-MPerl::LanguageServer", "-e", "Perl::LanguageServer::run", "--", "--debug"],
            "url": "https://github.com/richterger/Perl-LanguageServer",
            "highlightingModeRegex": "^Perl$"
        },
        "python": {
            "command": ["pylsp", "--check-parent-process"],
            "url": "https://github.com/python-lsp/python-lsp-server",
            "highlightingModeRegex": "^Python$"
        },
        "r": {
            "command": ["R", "--slave", "-e", "languageserver::run()"],
            "url": "https://github.com/REditorSupport/languageserver",
            "highlightingModeRegex": "^R Script$"
        },
        "racket": {
            "command": ["racket","-l","racket-langserver"],
            "rootIndicationFileNames": ["info.rkt"],
            "url": "https://github.com/jeapostrophe/racket-langserver",
            "highlightingModeRegex": "^Racket$"
        },
        "rust": {
            "command": ["rust-analyzer"],
            "path": ["%{ENV:HOME}/.cargo/bin", "%{ENV:USERPROFILE}/.cargo/bin"],
            "rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"],
            "url": "https://rust-analyzer.github.io",
            "highlightingModeRegex": "^Rust$"
        },
        "typescript": {
            "use": "javascript",
            "highlightingModeRegex": "^TypeScript.*$",
            "documentLanguageId": false
        },
        "vala": {
            "command": ["vala-language-server"],
            "url": "https://github.com/Prince781/vala-language-server",
            "highlightingModeRegex": "^Vala$"
        },
        "yaml": {
            "command": ["yaml-language-server", "--stdio"],
            "url": "https://github.com/redhat-developer/yaml-language-server",
            "highlightingModeRegex": "^YAML$"
        },
        "zig": {
            "command": ["zls"],
            "url": "https://github.com/zigtools/zls",
            "highlightingModeRegex": "^Zig$"
        }
    }
}