1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/helix/consistent-tab-width.patch
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
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
24 file-types = ["toml", { glob = "pdm.lock" }, { glob = "poetry.lock" }, { glob = "Cargo.lock" }, { glob = "uv.lock" }]
26 language-servers = [ "taplo" ]
27 -indent = { tab-width = 2, unit = " " }
28 +indent = { tab-width = 4, unit = " " }
33 file-types = ["awk", "gawk", "nawk", "mawk"]
35 language-servers = [ "awk-language-server" ]
36 -indent = { tab-width = 2, unit = " " }
37 +indent = { tab-width = 4, unit = " " }
42 language-servers = [ "bufls", "pbkit" ]
44 block-comment-tokens = { start = "/*", end = "*/" }
45 -indent = { tab-width = 2, unit = " " }
46 +indent = { tab-width = 4, unit = " " }
51 roots = ["mix.exs", "mix.lock"]
53 language-servers = [ "elixir-ls" ]
54 -indent = { tab-width = 2, unit = " " }
55 +indent = { tab-width = 4, unit = " " }
61 block-comment-tokens = { start = "/*", end = "*/" }
62 language-servers = [ "mint" ]
63 -indent = { tab-width = 2, unit = " " }
64 +indent = { tab-width = 4, unit = " " }
70 roots = ["project.janet"]
72 -indent = { tab-width = 2, unit = " " }
73 +indent = { tab-width = 4, unit = " " }
74 formatter = { command = "janet-format" }
75 grammar = "janet-simple"
79 language-servers = [ "vscode-json-language-server" ]
81 -indent = { tab-width = 2, unit = " " }
82 +indent = { tab-width = 4, unit = " " }
88 language-servers = [ "vscode-json-language-server" ]
90 -indent = { tab-width = 2, unit = " " }
91 +indent = { tab-width = 4, unit = " " }
97 block-comment-tokens = { start = "/*", end = "*/" }
98 language-servers = [ "clangd" ]
99 -indent = { tab-width = 2, unit = " " }
100 +indent = { tab-width = 4, unit = " " }
106 block-comment-tokens = { start = "/*", end = "*/" }
107 language-servers = [ "clangd" ]
108 -indent = { tab-width = 2, unit = " " }
109 +indent = { tab-width = 4, unit = " " }
115 roots = ["shard.yml", "shard.lock"]
117 -indent = { tab-width = 2, unit = " " }
118 +indent = { tab-width = 4, unit = " " }
120 language-servers = [ "crystalline" ]
123 injection-regex = "cel"
126 -indent = { tab-width = 2, unit = " " }
127 +indent = { tab-width = 4, unit = " " }
132 injection-regex = "spicedb"
135 -indent = { tab-width = 2, unit = " " }
136 +indent = { tab-width = 4, unit = " " }
142 block-comment-tokens = { start = "/*", end = "*/" }
143 language-servers = [ "gopls" ]
144 -indent = { tab-width = 2, unit = " " }
145 +indent = { tab-width = 4, unit = " " }
151 block-comment-tokens = { start = "/*", end = "*/" }
152 language-servers = [ "typescript-language-server" ]
153 -indent = { tab-width = 2, unit = " " }
154 +indent = { tab-width = 4, unit = " " }
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"
169 block-comment-tokens = { start = "/*", end = "*/" }
170 language-servers = [ "typescript-language-server" ]
171 -indent = { tab-width = 2, unit = " " }
172 +indent = { tab-width = 4, unit = " " }
178 block-comment-tokens = { start = "/*", end = "*/" }
179 language-servers = [ "typescript-language-server" ]
180 -indent = { tab-width = 2, unit = " " }
181 +indent = { tab-width = 4, unit = " " }
186 block-comment-tokens = { start = "/*", end = "*/" }
187 language-servers = [ "vscode-css-language-server" ]
189 -indent = { tab-width = 2, unit = " " }
190 +indent = { tab-width = 4, unit = " " }
195 block-comment-tokens = { start = "/*", end = "*/" }
196 language-servers = [ "vscode-css-language-server" ]
198 -indent = { tab-width = 2, unit = " " }
199 +indent = { tab-width = 4, unit = " " }
204 block-comment-tokens = { start = "<!--", end = "-->" }
205 language-servers = [ "vscode-html-language-server" ]
207 -indent = { tab-width = 2, unit = " " }
208 +indent = { tab-width = 4, unit = " " }
215 language-servers = [ "nls" ]
216 -indent = { tab-width = 2, unit = " " }
217 +indent = { tab-width = 4, unit = " " }
219 [language.auto-pairs]
224 language-servers = [ "nil" ]
225 -indent = { tab-width = 2, unit = " " }
226 +indent = { tab-width = 4, unit = " " }
233 language-servers = [ "solargraph" ]
234 -indent = { tab-width = 2, unit = " " }
235 +indent = { tab-width = 4, unit = " " }
240 shebangs = ["sh", "bash", "dash", "zsh"]
242 language-servers = [ "bash-language-server" ]
243 -indent = { tab-width = 2, unit = " " }
244 +indent = { tab-width = 4, unit = " " }
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 = " " }
257 @@ -1079,7 +1079,7 @@
259 block-comment-tokens = { start = "/-", end = "-/" }
260 language-servers = [ "lean" ]
261 -indent = { tab-width = 2, unit = " " }
262 +indent = { tab-width = 4, unit = " " }
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 = " " }
275 @@ -1165,7 +1165,7 @@
276 injection-regex = "beancount"
277 file-types = ["beancount", "bean"]
279 -indent = { tab-width = 2, unit = " " }
280 +indent = { tab-width = 4, unit = " " }
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]
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]
302 @@ -1220,7 +1220,7 @@
303 roots = [".luarc.json", ".luacheckrc", ".stylua.toml", "selene.toml", ".git"]
305 block-comment-tokens = { start = "--[[", end = "--]]" }
306 -indent = { tab-width = 2, unit = " " }
307 +indent = { tab-width = 4, unit = " " }
308 language-servers = [ "lua-language-server" ]
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" ]
320 @@ -1246,7 +1246,7 @@
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" ]
329 @@ -1258,7 +1258,7 @@
330 scope = "source.yaml"
331 file-types = ["yml", "yaml"]
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 @@
340 block-comment-tokens = { start = "{-", end = "-}" }
341 language-servers = [ "haskell-language-server" ]
342 -indent = { tab-width = 2, unit = " " }
343 +indent = { tab-width = 4, unit = " " }
347 @@ -1286,7 +1286,7 @@
348 scope = "source.persistentmodels"
349 file-types = ["persistentmodels"]
351 -indent = { tab-width = 2, unit = " " }
352 +indent = { tab-width = 4, unit = " " }
355 name = "haskell-persistent"
356 @@ -1301,7 +1301,7 @@
358 block-comment-tokens = { start = "{-", end = "-}" }
359 language-servers = [ "purescript-language-server" ]
360 -indent = { tab-width = 2, unit = " " }
361 +indent = { tab-width = 4, unit = " " }
363 formatter = { command = "purs-tidy", args = ["format"] }
365 @@ -1363,7 +1363,7 @@
368 injection-regex = "tsq"
369 -indent = { tab-width = 2, unit = " " }
370 +indent = { tab-width = 4, unit = " " }
374 @@ -1375,7 +1375,7 @@
375 file-types = ["cmake", { glob = "CMakeLists.txt" }]
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 @@
386 language-servers = [ "perlnavigator" ]
387 -indent = { tab-width = 2, unit = " " }
388 +indent = { tab-width = 4, unit = " " }
392 @@ -1438,7 +1438,7 @@
393 file-types = ["rkt", "rktd", "rktl", "scrbl"]
394 shebangs = ["racket"]
396 -indent = { tab-width = 2, unit = " " }
397 +indent = { tab-width = 4, unit = " " }
398 block-comment-tokens = { start = "#|", end = "|#" }
399 language-servers = [ "racket" ]
401 @@ -1449,7 +1449,7 @@
402 file-types = ["lisp", "asd", "cl", "l", "lsp", "ny", "podsl", "sexp"]
403 shebangs = ["lisp", "sbcl", "ccl", "clisp", "ecl"]
405 -indent = { tab-width = 2, unit = " " }
406 +indent = { tab-width = 4, unit = " " }
407 language-servers = [ "cl-lsp" ]
410 @@ -1487,7 +1487,7 @@
411 scope = "source.llvm"
414 -indent = { tab-width = 2, unit = " " }
415 +indent = { tab-width = 4, unit = " " }
416 injection-regex = "llvm"
419 @@ -1499,7 +1499,7 @@
420 scope = "source.llvm_mir"
423 -indent = { tab-width = 2, unit = " " }
424 +indent = { tab-width = 4, unit = " " }
425 injection-regex = "mir"
428 @@ -1514,7 +1514,7 @@
429 scope = "source.yaml"
432 -indent = { tab-width = 2, unit = " " }
433 +indent = { tab-width = 4, unit = " " }
437 @@ -1522,7 +1522,7 @@
440 block-comment-tokens = { start = "/*", end = "*/" }
441 -indent = { tab-width = 2, unit = " " }
442 +indent = { tab-width = 4, unit = " " }
443 injection-regex = "tablegen"
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 = "-->" }
455 @@ -1563,7 +1563,7 @@
457 block-comment-tokens = { start = "/*", end = "*/" }
458 language-servers = [ "dart" ]
459 -indent = { tab-width = 2, unit = " " }
460 +indent = { tab-width = 4, unit = " " }
464 @@ -1576,7 +1576,7 @@
465 file-types = ["scala", "sbt", "sc"]
467 block-comment-tokens = { start = "/*", end = "*/" }
468 -indent = { tab-width = 2, unit = " " }
469 +indent = { tab-width = 4, unit = " " }
470 language-servers = [ "metals" ]
473 @@ -1603,7 +1603,7 @@
474 { glob = "containerfile.*" },
477 -indent = { tab-width = 2, unit = " " }
478 +indent = { tab-width = 4, unit = " " }
479 language-servers = [ "docker-langserver" ]
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" }]
486 -indent = { tab-width = 2, unit = " " }
487 +indent = { tab-width = 4, unit = " " }
491 @@ -1625,7 +1625,7 @@
492 scope = "git.commitmsg"
493 file-types = [{ glob = "COMMIT_EDITMSG" }]
495 -indent = { tab-width = 2, unit = " " }
496 +indent = { tab-width = 4, unit = " " }
500 @@ -1639,7 +1639,7 @@
501 file-types = ["diff", "patch", "rej"]
502 injection-regex = "diff"
504 -indent = { tab-width = 2, unit = " " }
505 +indent = { tab-width = 4, unit = " " }
509 @@ -1651,7 +1651,7 @@
510 file-types = [{ glob = "git-rebase-todo" }]
511 injection-regex = "git-rebase"
513 -indent = { tab-width = 2, unit = "y" }
514 +indent = { tab-width = 4, unit = "y" }
518 @@ -1711,7 +1711,7 @@
519 language-servers = [ "graphql-language-service" ]
521 block-comment-tokens = { start = "\"\"\"", end = "\"\"\"" }
522 -indent = { tab-width = 2, unit = " " }
523 +indent = { tab-width = 4, unit = " " }
527 @@ -1754,7 +1754,7 @@
529 block-comment-tokens = { start = "/*", end = "*/" }
530 language-servers = [ "rescript-language-server" ]
531 -indent = { tab-width = 2, unit = " " }
532 +indent = { tab-width = 4, unit = " " }
536 @@ -1797,7 +1797,7 @@
537 file-types = ["hcl", "tf", "nomad"]
539 block-comment-tokens = { start = "/*", end = "*/" }
540 -indent = { tab-width = 2, unit = " " }
541 +indent = { tab-width = 4, unit = " " }
542 language-servers = [ "terraform-ls" ]
545 @@ -1812,7 +1812,7 @@
546 file-types = ["tfvars"]
548 block-comment-tokens = { start = "/*", end = "*/" }
549 -indent = { tab-width = 2, unit = " " }
550 +indent = { tab-width = 4, unit = " " }
551 language-servers = [ "terraform-ls" ]
554 @@ -1822,7 +1822,7 @@
556 injection-regex = "org"
558 -indent = { tab-width = 2, unit = " " }
559 +indent = { tab-width = 4, unit = " " }
563 @@ -1849,7 +1849,7 @@
564 file-types = ["gleam"]
565 roots = ["gleam.toml"]
567 -indent = { tab-width = 2, unit = " " }
568 +indent = { tab-width = 4, unit = " " }
569 language-servers = [ "gleam" ]
572 @@ -1890,7 +1890,7 @@
573 file-types = ["r", "R", { glob = ".Rprofile" }, { glob = "Rprofile.site" }, { glob = ".RHistory" }]
574 shebangs = ["r", "R"]
576 -indent = { tab-width = 2, unit = " " }
577 +indent = { tab-width = 4, unit = " " }
578 language-servers = [ "r" ]
581 @@ -1903,7 +1903,7 @@
583 injection-regex = "(r|R)md"
584 file-types = ["rmd", "Rmd"]
585 -indent = { tab-width = 2, unit = " " }
586 +indent = { tab-width = 4, unit = " " }
588 block-comment-tokens = { start = "<!--", end = "-->" }
589 language-servers = [ "r" ]
590 @@ -1930,7 +1930,7 @@
591 injection-regex = "erb"
593 block-comment-tokens = { start = "<!--", end = "-->" }
594 -indent = { tab-width = 2, unit = " " }
595 +indent = { tab-width = 4, unit = " " }
596 grammar = "embedded-template"
599 @@ -1939,7 +1939,7 @@
600 injection-regex = "ejs"
602 block-comment-tokens = { start = "<!--", end = "-->" }
603 -indent = { tab-width = 2, unit = " " }
604 +indent = { tab-width = 4, unit = " " }
605 grammar = "embedded-template"
608 @@ -1953,7 +1953,7 @@
610 roots = ["mix.exs", "mix.lock"]
611 block-comment-tokens = { start = "<!--", end = "-->" }
612 -indent = { tab-width = 2, unit = " " }
613 +indent = { tab-width = 4, unit = " " }
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" ]
626 @@ -2024,7 +2024,7 @@
627 file-types = ["nu", "nuon"]
630 -indent = { tab-width = 2, unit = " " }
631 +indent = { tab-width = 4, unit = " " }
632 language-servers = [ "nu-lsp" ]
635 @@ -2038,7 +2038,7 @@
636 file-types = ["vala", "vapi"]
638 block-comment-tokens = { start = "/*", end = "*/" }
639 -indent = { tab-width = 2, unit = " " }
640 +indent = { tab-width = 4, unit = " " }
641 language-servers = [ "vala-language-server" ]
644 @@ -2051,7 +2051,7 @@
645 injection-regex = "hare"
648 -indent = { tab-width = 8, unit = "\t" }
649 +indent = { tab-width = 4, unit = "\t" }
653 @@ -2091,7 +2091,7 @@
654 file-types = ["cpon", "cp"]
657 -indent = { tab-width = 2, unit = " " }
658 +indent = { tab-width = 4, unit = " " }
662 @@ -2142,7 +2142,7 @@
663 injection-regex = "meson"
664 file-types = [{ glob = "meson.build" }, { glob = "meson.options" }, { glob = "meson_options.txt" }]
666 -indent = { tab-width = 2, unit = " " }
667 +indent = { tab-width = 4, unit = " " }
671 @@ -2165,7 +2165,7 @@
672 file-types = ["ss", "scm"]
673 shebangs = ["scheme", "guile", "chicken"]
675 -indent = { tab-width = 2, unit = " " }
676 +indent = { tab-width = 4, unit = " " }
678 [language.auto-pairs]
680 @@ -2200,7 +2200,7 @@
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"
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 = " " }
698 @@ -2237,7 +2237,7 @@
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" }
707 @@ -2251,7 +2251,7 @@
708 roots = ["package.json"]
710 language-servers = [ "prisma-language-server" ]
711 -indent = { tab-width = 2, unit = " " }
712 +indent = { tab-width = 4, unit = " " }
716 @@ -2265,7 +2265,7 @@
717 roots = ["project.clj", "build.boot", "deps.edn", "shadow-cljs.edn"]
719 language-servers = [ "clojure-lsp" ]
720 -indent = { tab-width = 2, unit = " " }
721 +indent = { tab-width = 4, unit = " " }
725 @@ -2286,7 +2286,7 @@
726 shebangs = ["elvish"]
729 -indent = { tab-width = 2, unit = " " }
730 +indent = { tab-width = 4, unit = " " }
731 language-servers = [ "elvish" ]
734 @@ -2302,7 +2302,7 @@
737 block-comment-tokens = { start = "{-", end = "-}" }
738 -indent = { tab-width = 2, unit = " " }
739 +indent = { tab-width = 4, unit = " " }
740 language-servers = [ "idris2-lsp" ]
743 @@ -2325,7 +2325,7 @@
744 injection-regex = "ungrammar"
745 file-types = ["ungram", "ungrammar"]
747 -indent = { tab-width = 2, unit = " " }
748 +indent = { tab-width = 4, unit = " " }
752 @@ -2381,7 +2381,7 @@
753 injection-regex = "task"
754 file-types = ["task"]
756 -indent = { tab-width = 2, unit = " " }
757 +indent = { tab-width = 4, unit = " " }
761 @@ -2404,7 +2404,7 @@
762 injection-regex = "esdl"
763 file-types = ["esdl"]
765 -indent = { tab-width = 2, unit = " " }
766 +indent = { tab-width = 4, unit = " " }
767 roots = ["edgedb.toml"]
770 @@ -2418,7 +2418,7 @@
771 file-types = ["pas", "pp", "inc", "lpr", "lfm"]
773 block-comment-tokens = { start = "{", end = "}" }
774 -indent = { tab-width = 2, unit = " " }
775 +indent = { tab-width = 4, unit = " " }
776 language-servers = [ "pasls" ]
779 @@ -2443,7 +2443,7 @@
780 roots = ["jsonnetfile.json"]
782 block-comment-tokens = { start = "/*", end = "*/" }
783 -indent = { tab-width = 2, unit = " " }
784 +indent = { tab-width = 4, unit = " " }
785 language-servers = [ "jsonnet-language-server" ]
788 @@ -2457,7 +2457,7 @@
789 file-types = ["adb", "ads", "gpr"]
790 roots = ["alire.toml"]
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 = " " }
806 @@ -2483,7 +2483,7 @@
807 injection-regex = "bass"
808 file-types = ["bass"]
810 -indent = { tab-width = 2, unit = " " }
811 +indent = { tab-width = 4, unit = " " }
812 language-servers = [ "bass" ]
815 @@ -2532,7 +2532,7 @@
817 file-types = ["tape"]
819 -indent = { tab-width = 2, unit = " " }
820 +indent = { tab-width = 4, unit = " " }
824 @@ -2617,7 +2617,7 @@
827 block-comment-tokens = { start = "<!--", end = "-->" }
828 -indent = { tab-width = 2, unit = " " }
829 +indent = { tab-width = 4, unit = " " }
831 [language.auto-pairs]
833 @@ -2637,7 +2637,7 @@
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]
842 @@ -2657,7 +2657,7 @@
845 block-comment-tokens = { start = "/*", end = "*/" }
846 -indent = { tab-width = 2, unit = " " }
847 +indent = { tab-width = 4, unit = " " }
849 [language.auto-pairs]
851 @@ -2726,7 +2726,7 @@
852 file-types = ["inko"]
855 -indent = { tab-width = 2, unit = " " }
856 +indent = { tab-width = 4, unit = " " }
857 formatter = { command = "inko", args = ["fmt", "-"] }
860 @@ -2740,7 +2740,7 @@
863 block-comment-tokens = { start = "/*", end = "*/" }
864 -indent = { tab-width = 2, unit = " "}
865 +indent = { tab-width = 4, unit = " "}
866 language-servers = [ "bicep-langserver" ]
869 @@ -2779,7 +2779,7 @@
872 shebangs = ["octave-cli", "matlab"]
873 -indent = { tab-width = 2, unit = " " }
874 +indent = { tab-width = 4, unit = " " }
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 = " " }
885 block-comment-tokens = { start = "/*", end = "*/" }
887 @@ -2806,7 +2806,7 @@
888 file-types = ["dhall"]
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 = "-->" }
905 @@ -2888,7 +2888,7 @@
906 injection-regex = "yuck"
907 file-types = ["yuck"]
909 -indent = { tab-width = 2, unit = " " }
910 +indent = { tab-width = 4, unit = " " }
914 @@ -2922,7 +2922,7 @@
915 file-types = ["asm", "S", "nasm"]
916 injection-regex = "n?asm"
918 -indent = { tab-width = 8, unit = " " }
919 +indent = { tab-width = 4, unit = " " }
923 @@ -2934,7 +2934,7 @@
925 injection-regex = "gas"
927 -indent = { tab-width = 8, unit = " " }
928 +indent = { tab-width = 4, unit = " " }
932 @@ -2956,7 +2956,7 @@
933 injection-regex = "capnp"
934 file-types = ["capnp"]
936 -indent = { tab-width = 2, unit = " " }
937 +indent = { tab-width = 4, unit = " " }
941 @@ -2982,7 +2982,7 @@
942 file-types = ["vhd", "vhdl"]
944 language-servers = [ "vhdl_ls" ]
945 -indent = { tab-width = 2, unit = " " }
946 +indent = { tab-width = 4, unit = " " }
947 injection-regex = "vhdl"
950 @@ -3011,7 +3011,7 @@
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 = " " }
966 language-servers = [ "haskell-language-server" ]
968 @@ -3041,7 +3041,7 @@
969 file-types = ["hurl"]
971 formatter = { command = "hurlfmt" }
972 -indent = { tab-width = 2, unit = " " }
973 +indent = { tab-width = 4, unit = " " }
977 @@ -3091,7 +3091,7 @@
978 file-types = ["gn", "gni"]
981 -indent = { tab-width = 2, unit = " " }
982 +indent = { tab-width = 4, unit = " " }
983 formatter = { command = "gn", args = ["format", "--stdin"] }
986 @@ -3119,7 +3119,7 @@
987 file-types = ["fs", "forth", "fth", "4th"]
989 language-servers = [ "forth-lsp" ]
990 -indent = { tab-width = 3, unit = " " }
991 +indent = { tab-width = 4, unit = " " }
995 @@ -3147,7 +3147,7 @@
996 injection-regex = "t32"
997 file-types = ["cmm", "t32"]
999 -indent = { tab-width = 2, unit = " " }
1000 +indent = { tab-width = 4, unit = " " }
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 = " " }
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]
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 = " " }
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 = " " }
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 = " "}
1049 @@ -3275,7 +3275,7 @@
1050 # language-servers = [ "als" ]
1051 # the agda language server is of questionable functionality.
1053 -indent = { tab-width = 2, unit = " " }
1054 +indent = { tab-width = 4, unit = " " }
1056 [language.auto-pairs]
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" ]
1067 @@ -3310,7 +3310,7 @@
1068 injection-regex = "dbml"
1069 file-types = ["dbml"]
1071 -indent = { tab-width = 2, unit = " " }
1072 +indent = { tab-width = 4, unit = " " }
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 = " "}
1085 @@ -3354,7 +3354,7 @@
1086 file-types = ["conf"]
1089 -indent = { tab-width = 2, unit = " " }
1090 +indent = { tab-width = 4, unit = " " }
1094 @@ -3366,7 +3366,7 @@
1095 injection-regex = "koka"
1097 comment-token = "//"
1098 -indent = { tab-width = 8, unit = " " }
1099 +indent = { tab-width = 4, unit = " " }
1100 language-servers = ["koka"]
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 = " " }
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 = " " }
1121 @@ -3454,7 +3454,7 @@
1122 injection-regex = "ld"
1124 block-comment-tokens = { start = "/*", end = "*/" }
1125 -indent = { tab-width = 2, unit = " " }
1126 +indent = { tab-width = 4, unit = " " }
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]
1139 @@ -3571,7 +3571,7 @@
1140 { glob = "Earthfile" },
1143 -indent = { tab-width = 2, unit = " " }
1144 +indent = { tab-width = 4, unit = " " }
1145 language-servers = ["earthlyls"]
1148 @@ -3585,7 +3585,7 @@
1149 file-types = ["adl"]
1151 comment-token = "//"
1152 -indent = { tab-width = 2, unit = " " }
1153 +indent = { tab-width = 4, unit = " " }
1155 [language.auto-pairs]
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]