Last active 3 months ago

Kate LSP

Revision 79e993208d2e0536ec7b70e4df92ca2d9187db29

settings.json Raw
1{
2 "servers": {
3 "bash": {
4 "command": [
5 "bash-language-server",
6 "start"
7 ],
8 "root": "",
9 "url": "https://github.com/bash-lsp/bash-language-server",
10 "highlightingModeRegex": "^Bash$"
11 },
12 "c": {
13 "command": [
14 "clangd",
15 "-log=error",
16 "--background-index",
17 "--limit-results=500",
18 "--completion-style=bundled"
19 ],
20 "commandDebug": [
21 "clangd",
22 "-log=verbose",
23 "--background-index"
24 ],
25 "url": "https://clangd.llvm.org",
26 "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$"
27 },
28 "css": {
29 "command": [
30 "vscode-css-language-server",
31 "--stdio"
32 ],
33 "url": "https://github.com/Microsoft/vscode/tree/main/extensions/css-language-features/server",
34 "highlightingModeRegex": "^CSS$"
35 },
36 "cpp": {
37 "use": "c",
38 "highlightingModeRegex": "^(C\\+\\+|ISO C\\+\\+|Objective-C\\+\\+)$"
39 },
40 "docker": {
41 "command": [
42 "docker-langserver",
43 "--stdio"
44 ],
45 "url": "https://github.com/rcjsuen/dockerfile-language-server-nodejs",
46 "highlightingModeRegex": "^Dockerfile$"
47 },
48 "go": {
49 "command": [
50 "gopls"
51 ],
52 "commandDebug": [
53 "gopls",
54 "serve",
55 "-rpc.trace"
56 ],
57 "path": [
58 "%{ENV:GOPATH}/bin",
59 "%{ENV:HOME}/go/bin",
60 "%{ENV:USERPROFILE}/go/bin"
61 ],
62 "rootIndicationFileNames": [
63 "go.mod"
64 ],
65 "url": "golang.org/x/tools/gopls",
66 "highlightingModeRegex": "^Go$"
67 },
68 "html": {
69 "command": [
70 "vscode-html-language-server",
71 "--stdio"
72 ],
73 "url": "https://github.com/Microsoft/vscode/tree/main/extensions/html-language-features/server",
74 "highlightingModeRegex": "^HTML$"
75 },
76 "java": {
77 "command": [
78 "jdtls"
79 ],
80 "url": "https://github.com/eclipse-jdtls/eclipse.jdt.ls",
81 "highlightingModeRegex": "^Java$"
82 },
83 "javascript": {
84 "command": [
85 "typescript-language-server",
86 "--stdio"
87 ],
88 "rootIndicationFileNames": [
89 "package.json",
90 "package-lock.json"
91 ],
92 "url": "https://github.com/typescript-language-server/typescript-language-server",
93 "highlightingModeRegex": "^JavaScript$"
94 },
95 "javascriptreact": {
96 "use": "javascript",
97 "highlightingModeRegex": "^JavaScript React.*$"
98 },
99 "json": {
100 "command": [
101 "vscode-json-language-server",
102 "--stdio"
103 ],
104 "url": "https://github.com/microsoft/vscode/tree/main/extensions/json-language-features/server",
105 "highlightingModeRegex": "^JSON$"
106 },
107 "julia": {
108 "command": [
109 "julia",
110 "-e",
111 "using LanguageServer; runserver();"
112 ],
113 "root": ".",
114 "path": [
115 "%{ENV:HOME}/.juliaup/bin"
116 ],
117 "url": "https://github.com/julia-vscode/LanguageServer.jl",
118 "highlightingModeRegex": "^Julia$"
119 },
120 "latex": {
121 "command": [
122 "texlab"
123 ],
124 "url": "https://texlab.netlify.com/",
125 "highlightingModeRegex": "^LaTeX$"
126 },
127 "less": {
128 "use": "css",
129 "highlightingModeRegex": "^LESSCSS$"
130 },
131 "lua": {
132 "command": [
133 "lua-language-server"
134 ],
135 "url": "https://github.com/sumneko/lua-language-server",
136 "highlightingModeRegex": "^Lua$"
137 },
138 "perl": {
139 "command": [
140 "perlnavigator"
141 ],
142 "url": "https://github.com/bscan/PerlNavigator",
143 "settings": {
144 "perlnavigator": {
145 "includePaths": [
146 "/home/benjamin/obs-build"
147 ]
148 }
149 },
150 "highlightingModeRegex": "^Perl$"
151 },
152 "php": {
153 "command": [
154 "phpactor",
155 "language-server"
156 ],
157 "commandDebug": [
158 "phpactor",
159 "language-server",
160 "-vvv"
161 ],
162 "root": ".",
163 "url": "https://github.com/phpactor/phpactor",
164 "highlightingModeRegex": "^PHP \\(HTML\\)$"
165 },
166 "python": {
167 "command": [
168 "pylsp",
169 "--check-parent-process"
170 ],
171 "url": "https://github.com/python-lsp/python-lsp-server",
172 "highlightingModeRegex": "^Python$"
173 },
174 "rpmspec": {
175 "command": [
176 "poetry",
177 "run",
178 "-C",
179 "/home/benjamin/rpm-spec-language-server/",
180 "rpm_lsp_server",
181 "--stdio"
182 ],
183 "url": "https://github.com/dcermak/rpm-spec-language-server",
184 "highlightingModeRegex": "^RPM Spec$"
185 },
186 "ruby": {
187 "command": [
188 "solargraph",
189 "stdio"
190 ],
191 "rootIndicationFileNames": [
192 "Gemfile",
193 "Gemfile.lock",
194 "gems.rb",
195 "gems.lock",
196 "Rakefile"
197 ],
198 "url": "https://solargraph.org",
199 "highlightingModeRegex": "^Ruby$"
200 },
201 "rust": {
202 "command": [
203 "rust-analyzer"
204 ],
205 "path": [
206 "%{ENV:CARGO_HOME}/bin",
207 "%{ENV:HOME}/.cargo/bin",
208 "%{ENV:USERPROFILE}/.cargo/bin"
209 ],
210 "url": "https://rust-analyzer.github.io",
211 "useWorkspace": true,
212 "rootIndicationFileNames": [
213 "Cargo.lock",
214 "Cargo.toml"
215 ],
216 "highlightingModeRegex": "^Rust$"
217 },
218 "scss": {
219 "use": "css",
220 "highlightingModeRegex": "^SCSS$"
221 },
222 "typescript": {
223 "use": "javascript",
224 "highlightingModeRegex": "^TypeScript$"
225 },
226 "typescriptreact": {
227 "use": "javascript",
228 "highlightingModeRegex": "^TypeScript React.*$"
229 },
230 "vue": {
231 "command": [
232 "vue-language-server",
233 "--stdio"
234 ],
235 "rootIndicationFileNames": [
236 "package.json",
237 "package-lock.json"
238 ],
239 "url": "https://www.npmjs.com/package/@vue/language-server",
240 "highlightingModeRegex": "^Vue.*$",
241 "initializationOptions": {
242 "typescript": {
243 "tsdk": "./node_modules/typescript/lib"
244 },
245 "vue": {
246 "hybridMode": false
247 }
248 }
249 },
250 "xml": {
251 "command": [
252 "lemminx"
253 ],
254 "url": "https://github.com/redhat-developer/vscode-xml#lemminx-binary",
255 "highlightingModeRegex": "^XML$"
256 },
257 "yaml": {
258 "command": [
259 "yaml-language-server",
260 "--stdio"
261 ],
262 "url": "https://github.com/redhat-developer/yaml-language-server",
263 "highlightingModeRegex": "^YAML$"
264 },
265 "zig": {
266 "command": [
267 "zls"
268 ],
269 "url": "https://github.com/zigtools/zls",
270 "highlightingModeRegex": "^Zig$"
271 }
272 }
273}
274