* updated tzdata (2024a -> 2024b)
[t2sde.git] / package / editors / helix / consistent-tab-width.patch
blob9865fde38a135c4f601a17ebef5e7c828a3c3bcb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/helix/consistent-tab-width.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Helix's default embedded non-modifiable tree-sitter config sets tab-width to
15 various value (2, 3, 4, 8). Make it more consistent by setting it to 4 so that
16 visual do not change between files that have different LSPs and/or tree-sitter
17 grammar attached to them.
19 - NoTag <notag@t2sde.org>
21 --- helix-24.07/languages.toml.vanilla 2024-10-14 10:29:04.768993156 +0200
22 +++ helix-24.07/languages.toml 2024-10-14 10:30:51.773014787 +0200
23 @@ -300,7 +300,7 @@
24 file-types = ["toml", { glob = "pdm.lock" }, { glob = "poetry.lock" }, { glob = "Cargo.lock" }, { glob = "uv.lock" }]
25 comment-token = "#"
26 language-servers = [ "taplo" ]
27 -indent = { tab-width = 2, unit = " " }
28 +indent = { tab-width = 4, unit = " " }
30 [[grammar]]
31 name = "toml"
32 @@ -313,7 +313,7 @@
33 file-types = ["awk", "gawk", "nawk", "mawk"]
34 comment-token = "#"
35 language-servers = [ "awk-language-server" ]
36 -indent = { tab-width = 2, unit = " " }
37 +indent = { tab-width = 4, unit = " " }
39 [[grammar]]
40 name = "awk"
41 @@ -327,7 +327,7 @@
42 language-servers = [ "bufls", "pbkit" ]
43 comment-token = "//"
44 block-comment-tokens = { start = "/*", end = "*/" }
45 -indent = { tab-width = 2, unit = " " }
46 +indent = { tab-width = 4, unit = " " }
48 [[grammar]]
49 name = "protobuf"
50 @@ -342,7 +342,7 @@
51 roots = ["mix.exs", "mix.lock"]
52 comment-token = "#"
53 language-servers = [ "elixir-ls" ]
54 -indent = { tab-width = 2, unit = " " }
55 +indent = { tab-width = 4, unit = " " }
57 [[grammar]]
58 name = "elixir"
59 @@ -372,7 +372,7 @@
60 comment-token = "//"
61 block-comment-tokens = { start = "/*", end = "*/" }
62 language-servers = [ "mint" ]
63 -indent = { tab-width = 2, unit = " " }
64 +indent = { tab-width = 4, unit = " " }
66 [[language]]
67 name = "mojo"
68 @@ -398,7 +398,7 @@
69 shebangs = ["janet"]
70 roots = ["project.janet"]
71 comment-token = "#"
72 -indent = { tab-width = 2, unit = " " }
73 +indent = { tab-width = 4, unit = " " }
74 formatter = { command = "janet-format" }
75 grammar = "janet-simple"
77 @@ -442,7 +442,7 @@
79 language-servers = [ "vscode-json-language-server" ]
80 auto-format = true
81 -indent = { tab-width = 2, unit = " " }
82 +indent = { tab-width = 4, unit = " " }
84 [[grammar]]
85 name = "json"
86 @@ -456,7 +456,7 @@
87 grammar = "json"
88 language-servers = [ "vscode-json-language-server" ]
89 auto-format = true
90 -indent = { tab-width = 2, unit = " " }
91 +indent = { tab-width = 4, unit = " " }
93 [[language]]
94 name = "json5"
95 @@ -480,7 +480,7 @@
96 comment-token = "//"
97 block-comment-tokens = { start = "/*", end = "*/" }
98 language-servers = [ "clangd" ]
99 -indent = { tab-width = 2, unit = " " }
100 +indent = { tab-width = 4, unit = " " }
102 [language.debugger]
103 name = "lldb-dap"
104 @@ -517,7 +517,7 @@
105 comment-token = "//"
106 block-comment-tokens = { start = "/*", end = "*/" }
107 language-servers = [ "clangd" ]
108 -indent = { tab-width = 2, unit = " " }
109 +indent = { tab-width = 4, unit = " " }
111 [language.debugger]
112 name = "lldb-dap"
113 @@ -552,7 +552,7 @@
114 file-types = ["cr"]
115 roots = ["shard.yml", "shard.lock"]
116 comment-token = "#"
117 -indent = { tab-width = 2, unit = " " }
118 +indent = { tab-width = 4, unit = " " }
119 grammar = "ruby"
120 language-servers = [ "crystalline" ]
122 @@ -596,7 +596,7 @@
123 injection-regex = "cel"
124 file-types = ["cel"]
125 comment-token = "//"
126 -indent = { tab-width = 2, unit = " " }
127 +indent = { tab-width = 4, unit = " " }
129 [[grammar]]
130 name = "cel"
131 @@ -608,7 +608,7 @@
132 injection-regex = "spicedb"
133 file-types = ["zed"]
134 comment-token = "//"
135 -indent = { tab-width = 2, unit = " " }
136 +indent = { tab-width = 4, unit = " " }
138 [[grammar]]
139 name = "spicedb"
140 @@ -690,7 +690,7 @@
141 comment-token = "//"
142 block-comment-tokens = { start = "/*", end = "*/" }
143 language-servers = [ "gopls" ]
144 -indent = { tab-width = 2, unit = " " }
145 +indent = { tab-width = 4, unit = " " }
147 [[grammar]]
148 name = "gotmpl"
149 @@ -720,7 +720,7 @@
150 comment-token = "//"
151 block-comment-tokens = { start = "/*", end = "*/" }
152 language-servers = [ "typescript-language-server" ]
153 -indent = { tab-width = 2, unit = " " }
154 +indent = { tab-width = 4, unit = " " }
156 [language.debugger]
157 name = "node-debug2"
158 @@ -747,7 +747,7 @@
159 comment-token = "//"
160 block-comment-tokens = { start = "/*", end = "*/" }
161 language-servers = [ "typescript-language-server" ]
162 -indent = { tab-width = 2, unit = " " }
163 +indent = { tab-width = 4, unit = " " }
164 grammar = "javascript"
166 [[language]]
167 @@ -760,7 +760,7 @@
168 comment-token = "//"
169 block-comment-tokens = { start = "/*", end = "*/" }
170 language-servers = [ "typescript-language-server" ]
171 -indent = { tab-width = 2, unit = " " }
172 +indent = { tab-width = 4, unit = " " }
174 [[grammar]]
175 name = "typescript"
176 @@ -775,7 +775,7 @@
177 comment-token = "//"
178 block-comment-tokens = { start = "/*", end = "*/" }
179 language-servers = [ "typescript-language-server" ]
180 -indent = { tab-width = 2, unit = " " }
181 +indent = { tab-width = 4, unit = " " }
183 [[grammar]]
184 name = "tsx"
185 @@ -789,7 +789,7 @@
186 block-comment-tokens = { start = "/*", end = "*/" }
187 language-servers = [ "vscode-css-language-server" ]
188 auto-format = true
189 -indent = { tab-width = 2, unit = " " }
190 +indent = { tab-width = 4, unit = " " }
192 [[grammar]]
193 name = "css"
194 @@ -803,7 +803,7 @@
195 block-comment-tokens = { start = "/*", end = "*/" }
196 language-servers = [ "vscode-css-language-server" ]
197 auto-format = true
198 -indent = { tab-width = 2, unit = " " }
199 +indent = { tab-width = 4, unit = " " }
201 [[grammar]]
202 name = "scss"
203 @@ -817,7 +817,7 @@
204 block-comment-tokens = { start = "<!--", end = "-->" }
205 language-servers = [ "vscode-html-language-server" ]
206 auto-format = true
207 -indent = { tab-width = 2, unit = " " }
208 +indent = { tab-width = 4, unit = " " }
210 [[grammar]]
211 name = "html"
212 @@ -847,7 +847,7 @@
213 shebangs = []
214 comment-token = "#"
215 language-servers = [ "nls" ]
216 -indent = { tab-width = 2, unit = " " }
217 +indent = { tab-width = 4, unit = " " }
219 [language.auto-pairs]
220 '(' = ')'
221 @@ -867,7 +867,7 @@
222 shebangs = []
223 comment-token = "#"
224 language-servers = [ "nil" ]
225 -indent = { tab-width = 2, unit = " " }
226 +indent = { tab-width = 4, unit = " " }
228 [[grammar]]
229 name = "nix"
230 @@ -916,7 +916,7 @@
231 shebangs = ["ruby"]
232 comment-token = "#"
233 language-servers = [ "solargraph" ]
234 -indent = { tab-width = 2, unit = " " }
235 +indent = { tab-width = 4, unit = " " }
237 [[grammar]]
238 name = "ruby"
239 @@ -974,7 +974,7 @@
240 shebangs = ["sh", "bash", "dash", "zsh"]
241 comment-token = "#"
242 language-servers = [ "bash-language-server" ]
243 -indent = { tab-width = 2, unit = " " }
244 +indent = { tab-width = 4, unit = " " }
246 [[grammar]]
247 name = "bash"
248 @@ -1024,7 +1024,7 @@
249 injection-regex = "twig"
250 file-types = ["twig"]
251 block-comment-tokens = { start = "{#", end = "#}" }
252 -indent = { tab-width = 2, unit = " " }
253 +indent = { tab-width = 4, unit = " " }
255 [[grammar]]
256 name = "twig"
257 @@ -1079,7 +1079,7 @@
258 comment-token = "--"
259 block-comment-tokens = { start = "/-", end = "-/" }
260 language-servers = [ "lean" ]
261 -indent = { tab-width = 2, unit = " " }
262 +indent = { tab-width = 4, unit = " " }
263 rulers = [101]
264 text-width = 100
266 @@ -1128,7 +1128,7 @@
267 file-types = ["java", "jav", "pde"]
268 roots = ["pom.xml", "build.gradle", "build.gradle.kts"]
269 language-servers = [ "jdtls" ]
270 -indent = { tab-width = 2, unit = " " }
271 +indent = { tab-width = 4, unit = " " }
273 [[grammar]]
274 name = "java"
275 @@ -1165,7 +1165,7 @@
276 injection-regex = "beancount"
277 file-types = ["beancount", "bean"]
278 comment-token = ";"
279 -indent = { tab-width = 2, unit = " " }
280 +indent = { tab-width = 4, unit = " " }
282 [[grammar]]
283 name = "beancount"
284 @@ -1179,7 +1179,7 @@
285 shebangs = ["ocaml", "ocamlrun", "ocamlscript"]
286 block-comment-tokens = { start = "(*", end = "*)" }
287 language-servers = [ "ocamllsp" ]
288 -indent = { tab-width = 2, unit = " " }
289 +indent = { tab-width = 4, unit = " " }
291 [language.auto-pairs]
292 '(' = ')'
293 @@ -1199,7 +1199,7 @@
294 block-comment-tokens = { start = "(*", end = "*)" }
295 comment-token = "(**)"
296 language-servers = [ "ocamllsp" ]
297 -indent = { tab-width = 2, unit = " " }
298 +indent = { tab-width = 4, unit = " " }
300 [language.auto-pairs]
301 '(' = ')'
302 @@ -1220,7 +1220,7 @@
303 roots = [".luarc.json", ".luacheckrc", ".stylua.toml", "selene.toml", ".git"]
304 comment-token = "--"
305 block-comment-tokens = { start = "--[[", end = "--]]" }
306 -indent = { tab-width = 2, unit = " " }
307 +indent = { tab-width = 4, unit = " " }
308 language-servers = [ "lua-language-server" ]
310 [[grammar]]
311 @@ -1232,7 +1232,7 @@
312 scope = "source.svelte"
313 injection-regex = "svelte"
314 file-types = ["svelte"]
315 -indent = { tab-width = 2, unit = " " }
316 +indent = { tab-width = 4, unit = " " }
317 language-servers = [ "svelteserver" ]
319 [[grammar]]
320 @@ -1246,7 +1246,7 @@
321 file-types = ["vue"]
322 roots = ["package.json"]
323 block-comment-tokens = { start = "<!--", end = "-->" }
324 -indent = { tab-width = 2, unit = " " }
325 +indent = { tab-width = 4, unit = " " }
326 language-servers = [ "vuels" ]
328 [[grammar]]
329 @@ -1258,7 +1258,7 @@
330 scope = "source.yaml"
331 file-types = ["yml", "yaml"]
332 comment-token = "#"
333 -indent = { tab-width = 2, unit = " " }
334 +indent = { tab-width = 4, unit = " " }
335 language-servers = [ "yaml-language-server", "ansible-language-server" ]
336 injection-regex = "yml|yaml"
338 @@ -1275,7 +1275,7 @@
339 comment-token = "--"
340 block-comment-tokens = { start = "{-", end = "-}" }
341 language-servers = [ "haskell-language-server" ]
342 -indent = { tab-width = 2, unit = " " }
343 +indent = { tab-width = 4, unit = " " }
345 [[grammar]]
346 name = "haskell"
347 @@ -1286,7 +1286,7 @@
348 scope = "source.persistentmodels"
349 file-types = ["persistentmodels"]
350 comment-token = "--"
351 -indent = { tab-width = 2, unit = " " }
352 +indent = { tab-width = 4, unit = " " }
354 [[grammar]]
355 name = "haskell-persistent"
356 @@ -1301,7 +1301,7 @@
357 comment-token = "--"
358 block-comment-tokens = { start = "{-", end = "-}" }
359 language-servers = [ "purescript-language-server" ]
360 -indent = { tab-width = 2, unit = " " }
361 +indent = { tab-width = 4, unit = " " }
362 auto-format = true
363 formatter = { command = "purs-tidy", args = ["format"] }
365 @@ -1363,7 +1363,7 @@
366 file-types = ["tsq"]
367 comment-token = ";"
368 injection-regex = "tsq"
369 -indent = { tab-width = 2, unit = " " }
370 +indent = { tab-width = 4, unit = " " }
372 [[grammar]]
373 name = "tsq"
374 @@ -1375,7 +1375,7 @@
375 file-types = ["cmake", { glob = "CMakeLists.txt" }]
376 comment-token = "#"
377 block-comment-tokens = { start = "#[[", end = "]]" }
378 -indent = { tab-width = 2, unit = " " }
379 +indent = { tab-width = 4, unit = " " }
380 language-servers = [ "cmake-language-server" ]
381 injection-regex = "cmake"
383 @@ -1416,7 +1416,7 @@
384 shebangs = ["perl"]
385 comment-token = "#"
386 language-servers = [ "perlnavigator" ]
387 -indent = { tab-width = 2, unit = " " }
388 +indent = { tab-width = 4, unit = " " }
390 [[grammar]]
391 name = "perl"
392 @@ -1438,7 +1438,7 @@
393 file-types = ["rkt", "rktd", "rktl", "scrbl"]
394 shebangs = ["racket"]
395 comment-token = ";"
396 -indent = { tab-width = 2, unit = " " }
397 +indent = { tab-width = 4, unit = " " }
398 block-comment-tokens = { start = "#|", end = "|#" }
399 language-servers = [ "racket" ]
400 grammar = "scheme"
401 @@ -1449,7 +1449,7 @@
402 file-types = ["lisp", "asd", "cl", "l", "lsp", "ny", "podsl", "sexp"]
403 shebangs = ["lisp", "sbcl", "ccl", "clisp", "ecl"]
404 comment-token = ";"
405 -indent = { tab-width = 2, unit = " " }
406 +indent = { tab-width = 4, unit = " " }
407 language-servers = [ "cl-lsp" ]
408 grammar = "scheme"
410 @@ -1487,7 +1487,7 @@
411 scope = "source.llvm"
412 file-types = ["ll"]
413 comment-token = ";"
414 -indent = { tab-width = 2, unit = " " }
415 +indent = { tab-width = 4, unit = " " }
416 injection-regex = "llvm"
418 [[grammar]]
419 @@ -1499,7 +1499,7 @@
420 scope = "source.llvm_mir"
421 file-types = []
422 comment-token = ";"
423 -indent = { tab-width = 2, unit = " " }
424 +indent = { tab-width = 4, unit = " " }
425 injection-regex = "mir"
427 [[grammar]]
428 @@ -1514,7 +1514,7 @@
429 scope = "source.yaml"
430 file-types = ["mir"]
431 comment-token = "#"
432 -indent = { tab-width = 2, unit = " " }
433 +indent = { tab-width = 4, unit = " " }
435 [[language]]
436 name = "tablegen"
437 @@ -1522,7 +1522,7 @@
438 file-types = ["td"]
439 comment-token = "//"
440 block-comment-tokens = { start = "/*", end = "*/" }
441 -indent = { tab-width = 2, unit = " " }
442 +indent = { tab-width = 4, unit = " " }
443 injection-regex = "tablegen"
445 [[grammar]]
446 @@ -1536,7 +1536,7 @@
447 file-types = ["md", "markdown", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }]
448 roots = [".marksman.toml"]
449 language-servers = [ "marksman", "markdown-oxide" ]
450 -indent = { tab-width = 2, unit = " " }
451 +indent = { tab-width = 4, unit = " " }
452 block-comment-tokens = { start = "<!--", end = "-->" }
454 [[grammar]]
455 @@ -1563,7 +1563,7 @@
456 comment-token = "//"
457 block-comment-tokens = { start = "/*", end = "*/" }
458 language-servers = [ "dart" ]
459 -indent = { tab-width = 2, unit = " " }
460 +indent = { tab-width = 4, unit = " " }
462 [[grammar]]
463 name = "dart"
464 @@ -1576,7 +1576,7 @@
465 file-types = ["scala", "sbt", "sc"]
466 comment-token = "//"
467 block-comment-tokens = { start = "/*", end = "*/" }
468 -indent = { tab-width = 2, unit = " " }
469 +indent = { tab-width = 4, unit = " " }
470 language-servers = [ "metals" ]
472 [[grammar]]
473 @@ -1603,7 +1603,7 @@
474 { glob = "containerfile.*" },
476 comment-token = "#"
477 -indent = { tab-width = 2, unit = " " }
478 +indent = { tab-width = 4, unit = " " }
479 language-servers = [ "docker-langserver" ]
481 [[grammar]]
482 @@ -1617,7 +1617,7 @@
483 language-servers = [ "docker-compose-langserver", "yaml-language-server" ]
484 file-types = [{ glob = "docker-compose.yaml" }, { glob = "docker-compose.yml" }]
485 comment-token = "#"
486 -indent = { tab-width = 2, unit = " " }
487 +indent = { tab-width = 4, unit = " " }
488 grammar = "yaml"
490 [[language]]
491 @@ -1625,7 +1625,7 @@
492 scope = "git.commitmsg"
493 file-types = [{ glob = "COMMIT_EDITMSG" }]
494 comment-token = "#"
495 -indent = { tab-width = 2, unit = " " }
496 +indent = { tab-width = 4, unit = " " }
497 rulers = [51, 73]
498 text-width = 72
500 @@ -1639,7 +1639,7 @@
501 file-types = ["diff", "patch", "rej"]
502 injection-regex = "diff"
503 comment-token = "#"
504 -indent = { tab-width = 2, unit = " " }
505 +indent = { tab-width = 4, unit = " " }
507 [[grammar]]
508 name = "diff"
509 @@ -1651,7 +1651,7 @@
510 file-types = [{ glob = "git-rebase-todo" }]
511 injection-regex = "git-rebase"
512 comment-token = "#"
513 -indent = { tab-width = 2, unit = "y" }
514 +indent = { tab-width = 4, unit = "y" }
516 [[grammar]]
517 name = "git-rebase"
518 @@ -1711,7 +1711,7 @@
519 language-servers = [ "graphql-language-service" ]
520 comment-token = "#"
521 block-comment-tokens = { start = "\"\"\"", end = "\"\"\"" }
522 -indent = { tab-width = 2, unit = " " }
523 +indent = { tab-width = 4, unit = " " }
525 [[grammar]]
526 name = "graphql"
527 @@ -1754,7 +1754,7 @@
528 comment-token = "//"
529 block-comment-tokens = { start = "/*", end = "*/" }
530 language-servers = [ "rescript-language-server" ]
531 -indent = { tab-width = 2, unit = " " }
532 +indent = { tab-width = 4, unit = " " }
534 [[grammar]]
535 name = "rescript"
536 @@ -1797,7 +1797,7 @@
537 file-types = ["hcl", "tf", "nomad"]
538 comment-token = "#"
539 block-comment-tokens = { start = "/*", end = "*/" }
540 -indent = { tab-width = 2, unit = " " }
541 +indent = { tab-width = 4, unit = " " }
542 language-servers = [ "terraform-ls" ]
543 auto-format = true
545 @@ -1812,7 +1812,7 @@
546 file-types = ["tfvars"]
547 comment-token = "#"
548 block-comment-tokens = { start = "/*", end = "*/" }
549 -indent = { tab-width = 2, unit = " " }
550 +indent = { tab-width = 4, unit = " " }
551 language-servers = [ "terraform-ls" ]
552 auto-format = true
553 grammar = "hcl"
554 @@ -1822,7 +1822,7 @@
555 scope = "source.org"
556 injection-regex = "org"
557 file-types = ["org"]
558 -indent = { tab-width = 2, unit = " " }
559 +indent = { tab-width = 4, unit = " " }
561 [[grammar]]
562 name = "org"
563 @@ -1849,7 +1849,7 @@
564 file-types = ["gleam"]
565 roots = ["gleam.toml"]
566 comment-token = "//"
567 -indent = { tab-width = 2, unit = " " }
568 +indent = { tab-width = 4, unit = " " }
569 language-servers = [ "gleam" ]
570 auto-format = true
572 @@ -1890,7 +1890,7 @@
573 file-types = ["r", "R", { glob = ".Rprofile" }, { glob = "Rprofile.site" }, { glob = ".RHistory" }]
574 shebangs = ["r", "R"]
575 comment-token = "#"
576 -indent = { tab-width = 2, unit = " " }
577 +indent = { tab-width = 4, unit = " " }
578 language-servers = [ "r" ]
580 [[grammar]]
581 @@ -1903,7 +1903,7 @@
582 language-id = "rmd"
583 injection-regex = "(r|R)md"
584 file-types = ["rmd", "Rmd"]
585 -indent = { tab-width = 2, unit = " " }
586 +indent = { tab-width = 4, unit = " " }
587 grammar = "markdown"
588 block-comment-tokens = { start = "<!--", end = "-->" }
589 language-servers = [ "r" ]
590 @@ -1930,7 +1930,7 @@
591 injection-regex = "erb"
592 file-types = ["erb"]
593 block-comment-tokens = { start = "<!--", end = "-->" }
594 -indent = { tab-width = 2, unit = " " }
595 +indent = { tab-width = 4, unit = " " }
596 grammar = "embedded-template"
598 [[language]]
599 @@ -1939,7 +1939,7 @@
600 injection-regex = "ejs"
601 file-types = ["ejs"]
602 block-comment-tokens = { start = "<!--", end = "-->" }
603 -indent = { tab-width = 2, unit = " " }
604 +indent = { tab-width = 4, unit = " " }
605 grammar = "embedded-template"
607 [[grammar]]
608 @@ -1953,7 +1953,7 @@
609 file-types = ["eex"]
610 roots = ["mix.exs", "mix.lock"]
611 block-comment-tokens = { start = "<!--", end = "-->" }
612 -indent = { tab-width = 2, unit = " " }
613 +indent = { tab-width = 4, unit = " " }
615 [[grammar]]
616 name = "eex"
617 @@ -1966,7 +1966,7 @@
618 file-types = ["heex"]
619 roots = ["mix.exs", "mix.lock"]
620 block-comment-tokens = { start = "<!--", end = "-->" }
621 -indent = { tab-width = 2, unit = " " }
622 +indent = { tab-width = 4, unit = " " }
623 language-servers = [ "elixir-ls" ]
625 [[grammar]]
626 @@ -2024,7 +2024,7 @@
627 file-types = ["nu", "nuon"]
628 shebangs = ["nu"]
629 comment-token = "#"
630 -indent = { tab-width = 2, unit = " " }
631 +indent = { tab-width = 4, unit = " " }
632 language-servers = [ "nu-lsp" ]
634 [[grammar]]
635 @@ -2038,7 +2038,7 @@
636 file-types = ["vala", "vapi"]
637 comment-token = "//"
638 block-comment-tokens = { start = "/*", end = "*/" }
639 -indent = { tab-width = 2, unit = " " }
640 +indent = { tab-width = 4, unit = " " }
641 language-servers = [ "vala-language-server" ]
643 [[grammar]]
644 @@ -2051,7 +2051,7 @@
645 injection-regex = "hare"
646 file-types = ["ha"]
647 comment-token = "//"
648 -indent = { tab-width = 8, unit = "\t" }
649 +indent = { tab-width = 4, unit = "\t" }
651 [[grammar]]
652 name = "hare"
653 @@ -2091,7 +2091,7 @@
654 file-types = ["cpon", "cp"]
655 auto-format = true
656 comment-token = "//"
657 -indent = { tab-width = 2, unit = " " }
658 +indent = { tab-width = 4, unit = " " }
660 [[grammar]]
661 name = "cpon"
662 @@ -2142,7 +2142,7 @@
663 injection-regex = "meson"
664 file-types = [{ glob = "meson.build" }, { glob = "meson.options" }, { glob = "meson_options.txt" }]
665 comment-token = "#"
666 -indent = { tab-width = 2, unit = " " }
667 +indent = { tab-width = 4, unit = " " }
669 [[grammar]]
670 name = "meson"
671 @@ -2165,7 +2165,7 @@
672 file-types = ["ss", "scm"]
673 shebangs = ["scheme", "guile", "chicken"]
674 comment-token = ";"
675 -indent = { tab-width = 2, unit = " " }
676 +indent = { tab-width = 4, unit = " " }
678 [language.auto-pairs]
679 '(' = ')'
680 @@ -2200,7 +2200,7 @@
681 comment-token = "//"
682 block-comment-tokens = { start = "/*", end = "*/" }
683 language-servers = [ "svlangserver" ]
684 -indent = { tab-width = 2, unit = " " }
685 +indent = { tab-width = 4, unit = " " }
686 injection-regex = "verilog"
688 [[grammar]]
689 @@ -2223,7 +2223,7 @@
690 scope = "source.jsdoc"
691 injection-regex = "jsdoc"
692 file-types = ["jsdoc"]
693 -indent = { tab-width = 2, unit = " " }
694 +indent = { tab-width = 4, unit = " " }
696 [[grammar]]
697 name = "jsdoc"
698 @@ -2237,7 +2237,7 @@
699 comment-token = "//"
700 block-comment-tokens = { start = "/*", end = "*/" }
701 language-servers = [ "openscad-lsp" ]
702 -indent = { tab-width = 2, unit = "\t" }
703 +indent = { tab-width = 4, unit = "\t" }
705 [[grammar]]
706 name = "openscad"
707 @@ -2251,7 +2251,7 @@
708 roots = ["package.json"]
709 comment-token = "//"
710 language-servers = [ "prisma-language-server" ]
711 -indent = { tab-width = 2, unit = " " }
712 +indent = { tab-width = 4, unit = " " }
714 [[grammar]]
715 name = "prisma"
716 @@ -2265,7 +2265,7 @@
717 roots = ["project.clj", "build.boot", "deps.edn", "shadow-cljs.edn"]
718 comment-token = ";"
719 language-servers = [ "clojure-lsp" ]
720 -indent = { tab-width = 2, unit = " " }
721 +indent = { tab-width = 4, unit = " " }
723 [[grammar]]
724 name = "clojure"
725 @@ -2286,7 +2286,7 @@
726 shebangs = ["elvish"]
727 file-types = ["elv"]
728 comment-token = "#"
729 -indent = { tab-width = 2, unit = " " }
730 +indent = { tab-width = 4, unit = " " }
731 language-servers = [ "elvish" ]
732 grammar = "elvish"
734 @@ -2302,7 +2302,7 @@
735 shebangs = []
736 comment-token = "--"
737 block-comment-tokens = { start = "{-", end = "-}" }
738 -indent = { tab-width = 2, unit = " " }
739 +indent = { tab-width = 4, unit = " " }
740 language-servers = [ "idris2-lsp" ]
742 [[language]]
743 @@ -2325,7 +2325,7 @@
744 injection-regex = "ungrammar"
745 file-types = ["ungram", "ungrammar"]
746 comment-token = "//"
747 -indent = { tab-width = 2, unit = " " }
748 +indent = { tab-width = 4, unit = " " }
750 [[grammar]]
751 name = "ungrammar"
752 @@ -2381,7 +2381,7 @@
753 injection-regex = "task"
754 file-types = ["task"]
755 comment-token = "#"
756 -indent = { tab-width = 2, unit = " " }
757 +indent = { tab-width = 4, unit = " " }
759 [[grammar]]
760 name = "task"
761 @@ -2404,7 +2404,7 @@
762 injection-regex = "esdl"
763 file-types = ["esdl"]
764 comment-token = "#"
765 -indent = { tab-width = 2, unit = " " }
766 +indent = { tab-width = 4, unit = " " }
767 roots = ["edgedb.toml"]
769 [[grammar]]
770 @@ -2418,7 +2418,7 @@
771 file-types = ["pas", "pp", "inc", "lpr", "lfm"]
772 comment-token = "//"
773 block-comment-tokens = { start = "{", end = "}" }
774 -indent = { tab-width = 2, unit = " " }
775 +indent = { tab-width = 4, unit = " " }
776 language-servers = [ "pasls" ]
778 [[grammar]]
779 @@ -2443,7 +2443,7 @@
780 roots = ["jsonnetfile.json"]
781 comment-token = "//"
782 block-comment-tokens = { start = "/*", end = "*/" }
783 -indent = { tab-width = 2, unit = " " }
784 +indent = { tab-width = 4, unit = " " }
785 language-servers = [ "jsonnet-language-server" ]
787 [[grammar]]
788 @@ -2457,7 +2457,7 @@
789 file-types = ["adb", "ads", "gpr"]
790 roots = ["alire.toml"]
791 comment-token = "--"
792 -indent = { tab-width = 3, unit = " " }
793 +indent = { tab-width = 4, unit = " " }
794 language-servers = ["ada-language-server", "ada-gpr-language-server"]
797 @@ -2471,7 +2471,7 @@
798 injection-regex = "astro"
799 file-types = ["astro"]
800 block-comment-tokens = { start = "<!--", end = "-->" }
801 -indent = { tab-width = 2, unit = " " }
802 +indent = { tab-width = 4, unit = " " }
804 [[grammar]]
805 name = "astro"
806 @@ -2483,7 +2483,7 @@
807 injection-regex = "bass"
808 file-types = ["bass"]
809 comment-token = ";"
810 -indent = { tab-width = 2, unit = " " }
811 +indent = { tab-width = 4, unit = " " }
812 language-servers = [ "bass" ]
814 [[grammar]]
815 @@ -2532,7 +2532,7 @@
816 scope = "source.vhs"
817 file-types = ["tape"]
818 comment-token = "#"
819 -indent = { tab-width = 2, unit = " " }
820 +indent = { tab-width = 4, unit = " " }
821 grammar = "vhs"
823 [[grammar]]
824 @@ -2617,7 +2617,7 @@
825 "ui"
827 block-comment-tokens = { start = "<!--", end = "-->" }
828 -indent = { tab-width = 2, unit = " " }
829 +indent = { tab-width = 4, unit = " " }
831 [language.auto-pairs]
832 '(' = ')'
833 @@ -2637,7 +2637,7 @@
834 scope = "source.dtd"
835 injection-regex = "dtd"
836 file-types = ["dtd", "ent"]
837 -indent = {tab-width = 2, unit = " "}
838 +indent = {tab-width = 4, unit = " "}
840 [language.auto-pairs]
841 '(' = ')'
842 @@ -2657,7 +2657,7 @@
843 file-types = ["wit"]
844 comment-token = "//"
845 block-comment-tokens = { start = "/*", end = "*/" }
846 -indent = { tab-width = 2, unit = " " }
847 +indent = { tab-width = 4, unit = " " }
849 [language.auto-pairs]
850 '(' = ')'
851 @@ -2726,7 +2726,7 @@
852 file-types = ["inko"]
853 roots = ["inko.pkg"]
854 comment-token = "#"
855 -indent = { tab-width = 2, unit = " " }
856 +indent = { tab-width = 4, unit = " " }
857 formatter = { command = "inko", args = ["fmt", "-"] }
859 [[grammar]]
860 @@ -2740,7 +2740,7 @@
861 auto-format = true
862 comment-token = "//"
863 block-comment-tokens = { start = "/*", end = "*/" }
864 -indent = { tab-width = 2, unit = " "}
865 +indent = { tab-width = 4, unit = " "}
866 language-servers = [ "bicep-langserver" ]
868 [[grammar]]
869 @@ -2779,7 +2779,7 @@
870 file-types = ["m"]
871 comment-token = "%"
872 shebangs = ["octave-cli", "matlab"]
873 -indent = { tab-width = 2, unit = " " }
874 +indent = { tab-width = 4, unit = " " }
876 [[grammar]]
877 name = "matlab"
878 @@ -2791,7 +2791,7 @@
879 file-types = ["pony"]
880 injection-regex = "pony"
881 roots = ["corral.json", "lock.json"]
882 -indent = { tab-width = 2, unit = " " }
883 +indent = { tab-width = 4, unit = " " }
884 comment-token = "//"
885 block-comment-tokens = { start = "/*", end = "*/" }
887 @@ -2806,7 +2806,7 @@
888 file-types = ["dhall"]
889 comment-token = "--"
890 block-comment-tokens = { start = "{-", end = "-}" }
891 -indent = { tab-width = 2, unit = " " }
892 +indent = { tab-width = 4, unit = " " }
893 language-servers = [ "dhall-lsp-server" ]
894 formatter = { command = "dhall" , args = ["format"] }
896 @@ -2828,7 +2828,7 @@
897 scope = "source.msbuild"
898 injection-regex = "msbuild"
899 file-types = ["proj", "vbproj", "csproj", "fsproj", "targets", "props"]
900 -indent = { tab-width = 2, unit = " " }
901 +indent = { tab-width = 4, unit = " " }
902 block-comment-tokens = { start = "<!--", end = "-->" }
903 grammar = "xml"
905 @@ -2888,7 +2888,7 @@
906 injection-regex = "yuck"
907 file-types = ["yuck"]
908 comment-token = ";"
909 -indent = { tab-width = 2, unit = " " }
910 +indent = { tab-width = 4, unit = " " }
912 [[grammar]]
913 name = "yuck"
914 @@ -2922,7 +2922,7 @@
915 file-types = ["asm", "S", "nasm"]
916 injection-regex = "n?asm"
917 comment-token = ";"
918 -indent = { tab-width = 8, unit = " " }
919 +indent = { tab-width = 4, unit = " " }
921 [[grammar]]
922 name = "nasm"
923 @@ -2934,7 +2934,7 @@
924 file-types = ["s"]
925 injection-regex = "gas"
926 comment-token = "#"
927 -indent = { tab-width = 8, unit = " " }
928 +indent = { tab-width = 4, unit = " " }
930 [[grammar]]
931 name = "gas"
932 @@ -2956,7 +2956,7 @@
933 injection-regex = "capnp"
934 file-types = ["capnp"]
935 comment-token = "#"
936 -indent = { tab-width = 2, unit = " " }
937 +indent = { tab-width = 4, unit = " " }
939 [[grammar]]
940 name = "capnp"
941 @@ -2982,7 +2982,7 @@
942 file-types = ["vhd", "vhdl"]
943 comment-token = "--"
944 language-servers = [ "vhdl_ls" ]
945 -indent = { tab-width = 2, unit = " " }
946 +indent = { tab-width = 4, unit = " " }
947 injection-regex = "vhdl"
949 [[grammar]]
950 @@ -3011,7 +3011,7 @@
951 shebangs = []
952 comment-token = "#"
953 block-comment-tokens = { start = "#[", end = "]#" }
954 -indent = { tab-width = 2, unit = " " }
955 +indent = { tab-width = 4, unit = " " }
956 language-servers = [ "nimlangserver" ]
958 [language.auto-pairs]
959 @@ -3030,7 +3030,7 @@
960 scope = "source.cabal"
961 file-types = [ "cabal" ]
962 roots = ["cabal.project", "Setup.hs"]
963 -indent = { tab-width = 2, unit = " " }
964 +indent = { tab-width = 4, unit = " " }
965 comment-token = "--"
966 language-servers = [ "haskell-language-server" ]
968 @@ -3041,7 +3041,7 @@
969 file-types = ["hurl"]
970 comment-token = "#"
971 formatter = { command = "hurlfmt" }
972 -indent = { tab-width = 2, unit = " " }
973 +indent = { tab-width = 4, unit = " " }
975 [[grammar]]
976 name = "hurl"
977 @@ -3091,7 +3091,7 @@
978 file-types = ["gn", "gni"]
979 roots = []
980 comment-token = "#"
981 -indent = { tab-width = 2, unit = " " }
982 +indent = { tab-width = 4, unit = " " }
983 formatter = { command = "gn", args = ["format", "--stdin"] }
985 [[grammar]]
986 @@ -3119,7 +3119,7 @@
987 file-types = ["fs", "forth", "fth", "4th"]
988 comment-token = "\\"
989 language-servers = [ "forth-lsp" ]
990 -indent = { tab-width = 3, unit = " " }
991 +indent = { tab-width = 4, unit = " " }
993 [[grammar]]
994 name = "forth"
995 @@ -3147,7 +3147,7 @@
996 injection-regex = "t32"
997 file-types = ["cmm", "t32"]
998 comment-token = ";"
999 -indent = { tab-width = 2, unit = " " }
1000 +indent = { tab-width = 4, unit = " " }
1002 [[grammar]]
1003 name = "t32"
1004 @@ -3159,7 +3159,7 @@
1005 injection-regex = "webc"
1006 file-types = ["webc"]
1007 block-comment-tokens = { start = "<!--", end = "-->" }
1008 -indent = { tab-width = 2, unit = " " }
1009 +indent = { tab-width = 4, unit = " " }
1010 grammar = "html"
1012 [[language]]
1013 @@ -3170,7 +3170,7 @@
1014 comment-token = "//"
1015 block-comment-tokens = { start = "/*", end = "*/" }
1016 language-servers = ["tinymist", "typst-lsp"]
1017 -indent = { tab-width = 2, unit = " " }
1018 +indent = { tab-width = 4, unit = " " }
1020 [language.auto-pairs]
1021 '(' = ')'
1022 @@ -3188,7 +3188,7 @@
1023 scope = "text.html.nunjucks"
1024 injection-regex = "nunjucks"
1025 file-types = ["njk"]
1026 -indent = { tab-width = 2, unit = " " }
1027 +indent = { tab-width = 4, unit = " " }
1028 grammar = "jinja2"
1030 [[language]]
1031 @@ -3196,7 +3196,7 @@
1032 scope = "text.html.jinja"
1033 injection-regex = "jinja"
1034 file-types = ["jinja", "jinja2", "j2"]
1035 -indent = { tab-width = 2, unit = " " }
1036 +indent = { tab-width = 4, unit = " " }
1037 grammar = "jinja2"
1039 [[grammar]]
1040 @@ -3212,7 +3212,7 @@
1041 scope = "source.wren"
1042 injection-regex = "wren"
1043 file-types = ["wren"]
1044 -indent = { tab-width = 2, unit = " "}
1045 +indent = { tab-width = 4, unit = " "}
1047 [[language]]
1048 name = "unison"
1049 @@ -3275,7 +3275,7 @@
1050 # language-servers = [ "als" ]
1051 # the agda language server is of questionable functionality.
1052 auto-format = false
1053 -indent = { tab-width = 2, unit = " " }
1054 +indent = { tab-width = 4, unit = " " }
1056 [language.auto-pairs]
1057 '"' = '"'
1058 @@ -3297,7 +3297,7 @@
1059 file-types = ["templ"]
1060 roots = ["go.work", "go.mod"]
1061 comment-token = "//"
1062 -indent = { tab-width = 2, unit = " " }
1063 +indent = { tab-width = 4, unit = " " }
1064 language-servers = [ "templ" ]
1066 [[grammar]]
1067 @@ -3310,7 +3310,7 @@
1068 injection-regex = "dbml"
1069 file-types = ["dbml"]
1070 comment-token = ";"
1071 -indent = { tab-width = 2, unit = " " }
1072 +indent = { tab-width = 4, unit = " " }
1074 [[grammar]]
1075 name = "dbml"
1076 @@ -3342,7 +3342,7 @@
1077 injection-regex = "hoon"
1078 file-types = ["hoon"]
1079 comment-token = "::"
1080 -indent = {tab-width = 2, unit = " "}
1081 +indent = {tab-width = 4, unit = " "}
1083 [[grammar]]
1084 name = "hoon"
1085 @@ -3354,7 +3354,7 @@
1086 file-types = ["conf"]
1087 comment-token = "#"
1088 auto-format = true
1089 -indent = { tab-width = 2, unit = " " }
1090 +indent = { tab-width = 4, unit = " " }
1092 [[grammar]]
1093 name = "hocon"
1094 @@ -3366,7 +3366,7 @@
1095 injection-regex = "koka"
1096 file-types = ["kk"]
1097 comment-token = "//"
1098 -indent = { tab-width = 8, unit = " " }
1099 +indent = { tab-width = 4, unit = " " }
1100 language-servers = ["koka"]
1102 [[grammar]]
1103 @@ -3397,7 +3397,7 @@
1104 injection-regex = "pkl"
1105 file-types = ["pkl", "pcf"]
1106 comment-token = "//"
1107 -indent = { tab-width = 2, unit = " " }
1108 +indent = { tab-width = 4, unit = " " }
1110 [[grammar]]
1111 name = "pkl"
1112 @@ -3410,7 +3410,7 @@
1113 file-types = ["gradle", "groovy", "jenkinsfile", { glob = "Jenkinsfile" }, { glob = "Jenkinsfile.*" }]
1114 shebangs = ["groovy"]
1115 comment-token = "//"
1116 -indent = { tab-width = 2, unit = " " }
1117 +indent = { tab-width = 4, unit = " " }
1119 [[grammar]]
1120 name = "groovy"
1121 @@ -3454,7 +3454,7 @@
1122 injection-regex = "ld"
1123 file-types = ["ld"]
1124 block-comment-tokens = { start = "/*", end = "*/" }
1125 -indent = { tab-width = 2, unit = " " }
1126 +indent = { tab-width = 4, unit = " " }
1128 [[grammar]]
1129 name = "ld"
1130 @@ -3550,7 +3550,7 @@
1131 { start = "/*", end = "*/" },
1132 { start = "/**", end = "*/" },
1134 -indent = { tab-width = 2, unit = " " }
1135 +indent = { tab-width = 4, unit = " " }
1137 [language.auto-pairs]
1138 '"' = '"'
1139 @@ -3571,7 +3571,7 @@
1140 { glob = "Earthfile" },
1142 comment-token = "#"
1143 -indent = { tab-width = 2, unit = " " }
1144 +indent = { tab-width = 4, unit = " " }
1145 language-servers = ["earthlyls"]
1147 [[grammar]]
1148 @@ -3585,7 +3585,7 @@
1149 file-types = ["adl"]
1150 roots = []
1151 comment-token = "//"
1152 -indent = { tab-width = 2, unit = " " }
1153 +indent = { tab-width = 4, unit = " " }
1155 [language.auto-pairs]
1156 '"' = '"'
1157 @@ -3680,7 +3680,7 @@
1158 "vscode-eslint-language-server",
1159 "ember-language-server",
1161 -indent = { tab-width = 2, unit = " " }
1162 +indent = { tab-width = 4, unit = " " }
1163 grammar = "javascript"
1165 [language.auto-pairs]
1166 @@ -3704,7 +3704,7 @@
1167 "vscode-eslint-language-server",
1168 "ember-language-server",
1170 -indent = { tab-width = 2, unit = " " }
1171 +indent = { tab-width = 4, unit = " " }
1172 grammar = "typescript"
1174 [language.auto-pairs]