fork/helix

git clone https://git.julia.blue/fork/helix

Michael DavisAdd a language to fix Rust highlights in format-args macros86f10ae2

25.07
123.7 KiB4523 linesraw
1# Language support configuration.
2# See the languages documentation: https://docs.helix-editor.com/master/languages.html
3
4use-grammars = { except = [ "wren", "gemini" ] }
5
6[language-server]
7
8ada-gpr-language-server = {command = "ada_language_server", args = ["--language-gpr"]}
9ada-language-server = { command = "ada_language_server" }
10als = { command = "als" }
11amber-lsp = { command = "amber-lsp" }
12ameba-ls = { command = "ameba-ls" }
13angular = {command = "ngserver", args = ["--stdio", "--tsProbeLocations", ".", "--ngProbeLocations", ".",]}
14asm-lsp = { command = "asm-lsp" }
15awk-language-server = { command = "awk-language-server" }
16bash-language-server = { command = "bash-language-server", args = ["start"] }
17bass = { command = "bass", args = ["--lsp"] }
18beancount-language-server = { command = "beancount-language-server" }
19bicep-langserver = { command = "bicep-langserver" }
20bitbake-language-server = { command = "bitbake-language-server" }
21buf = { command = "buf", args = ["beta", "lsp", "--timeout", "0"] }
22cairo-language-server = { command = "cairo-language-server", args = [] }
23circom-lsp = { command = "circom-lsp" }
24cl-lsp = { command = "cl-lsp" }
25clangd = { command = "clangd" }
26clojure-lsp = { command = "clojure-lsp" }
27cmake-language-server = { command = "cmake-language-server" }
28codeql = { command = "codeql", args = ["execute", "language-server", "--check-errors=ON_CHANGE"] }
29crystalline = { command = "crystalline", args = ["--stdio"] }
30cs = { command = "cs", args = ["launch", "--contrib", "smithy-language-server", "--", "0"] }
31csharp-ls = { command = "csharp-ls" }
32cuelsp = { command = "cuelsp" }
33dart = { command = "dart", args = ["language-server", "--client-id=helix"] }
34dhall-lsp-server = { command = "dhall-lsp-server" }
35djlsp = { command = "djlsp" }
36docker-langserver = { command = "docker-langserver", args = ["--stdio"] }
37docker-compose-langserver = { command = "docker-compose-langserver", args = ["--stdio"]}
38dot-language-server = { command = "dot-language-server", args = ["--stdio"] }
39dts-lsp = { command = "dts-lsp" }
40earthlyls = { command = "earthlyls" }
41elixir-ls = { command = "elixir-ls", config = { elixirLS.dialyzerEnabled = false } }
42elm-language-server = { command = "elm-language-server" }
43elp = { command = "elp", args = ["server"] }
44elvish = { command = "elvish", args = ["-lsp"] }
45erlang-ls = { command = "erlang_ls" }
46fennel-ls = { command = "fennel-ls" }
47fish-lsp = { command = "fish-lsp", args = ["start"], environment = { fish_lsp_show_client_popups = "false" } }
48forc = { command = "forc", args = ["lsp"] }
49forth-lsp = { command = "forth-lsp" }
50fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
51fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
52gleam = { command = "gleam", args = ["lsp"] }
53glsl_analyzer = { command = "glsl_analyzer" }
54graphql-language-service = { command = "graphql-lsp", args = ["server", "-m", "stream"] }
55harper-ls = { command = "harper-ls", args = ["--stdio"] }
56haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
57hyprls = { command = "hyprls" }
58idris2-lsp = { command = "idris2-lsp" }
59intelephense = { command = "intelephense", args = ["--stdio"] }
60jdtls = { command = "jdtls" }
61jedi = { command = "jedi-language-server" }
62jq-lsp = { command = "jq-lsp" }
63jsonnet-language-server = { command = "jsonnet-language-server", args= ["-t", "--lint"] }
64julia = { command = "julia", timeout = 60, args = [ "--startup-file=no", "--history-file=no", "--quiet", "-e", "using LanguageServer; runserver()", ] }
65just-lsp = { command = "just-lsp" }
66koka = { command = "koka", args = ["--language-server", "--lsstdio"] }
67koto-ls = { command = "koto-ls" }
68kotlin-language-server = { command = "kotlin-language-server" }
69lean = { command = "lean", args = [ "--server", "--memory=1024" ] }
70ltex-ls = { command = "ltex-ls" }
71ltex-ls-plus = { command = "ltex-ls-plus" }
72markdoc-ls = { command = "markdoc-ls", args = ["--stdio"] }
73markdown-oxide = { command = "markdown-oxide" }
74marksman = { command = "marksman", args = ["server"] }
75metals = { command = "metals", config = { "isHttpEnabled" = true, metals = { inlayHints = { typeParameters = {enable = true} , hintsInPatternMatch = {enable = true} }  } } }
76mesonlsp = { command = "mesonlsp", args = ["--lsp"] }
77mint = { command = "mint", args = ["tool", "ls"] }
78mojo-lsp-server = { command = "pixi", args = ["run", "mojo-lsp-server"] }
79neocmakelsp = { command = "neocmakelsp", args = ["stdio"] }
80nil = { command = "nil" }
81nimlangserver = { command = "nimlangserver" }
82nimlsp = { command = "nimlsp" }
83nixd = { command = "nixd" }
84nls = { command = "nls" }
85nu-lsp = { command = "nu", args = [ "--lsp" ] }
86ocamllsp = { command = "ocamllsp" }
87ols = { command = "ols", args = [] }
88omnisharp = { command = "OmniSharp", args = [ "--languageserver" ] }
89openscad-lsp = { command = "openscad-lsp", args = ["--stdio"] }
90pasls = { command = "pasls", args = [] }
91pbkit = { command = "pb", args = [ "lsp" ] }
92perlnavigator = { command = "perlnavigator", args= ["--stdio"] }
93pest-language-server = { command = "pest-language-server" }
94pkl-lsp = { command = "pkl-lsp" }
95prisma-language-server = { command = "prisma-language-server", args = ["--stdio"], config.prisma.enableDiagnostics = true }
96purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] }
97pylsp = { command = "pylsp" }
98pyrefly = { command = "pyrefly", args = ["lsp"] }
99pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} }
100protols = { command = "protols", args = [] }
101basedpyright = { command = "basedpyright-langserver", args = ["--stdio"], config = {} }
102pylyzer = { command = "pylyzer", args = ["--server"] }
103qmlls = { command = "qmlls" }
104quint-language-server = { command = "quint-language-server", args = ["--stdio"] }
105r = { command = "R", args = ["--no-echo", "-e", "languageserver::run()"] }
106racket = { command = "racket", args = ["-l", "racket-langserver"] }
107regols = { command = "regols" }
108rescript-language-server = { command = "rescript-language-server", args = ["--stdio"] }
109robotframework_ls = { command = "robotframework_ls" }
110ruff = { command = "ruff", args = ["server"] }
111ruby-lsp = { command = "ruby-lsp" }
112serve-d = { command = "serve-d" }
113slangd = { command = "slangd" }
114slint-lsp = { command = "slint-lsp", args = [] }
115systemd-lsp = { command = "systemd-lsp" }
116solargraph = { command = "solargraph", args = ["stdio"] }
117solc = { command = "solc", args = ["--lsp"] }
118sourcekit-lsp = { command = "sourcekit-lsp" }
119spade-language-server = {command = "spade-language-server"}
120starpls = {command = "starpls"}
121svlangserver = { command = "svlangserver", args = [] }
122swipl = { command = "swipl", args = [ "-g", "use_module(library(lsp_server))", "-g", "lsp_server:main", "-t", "halt", "--", "stdio" ] }
123superhtml = {  command = "superhtml", args = ["lsp"]}
124tailwindcss-ls = { command = "tailwindcss-language-server", args = ["--stdio"] }
125taplo = { command = "taplo", args = ["lsp", "stdio"] }
126templ = { command = "templ", args = ["lsp"] }
127terraform-ls = { command = "terraform-ls", args = ["serve"] }
128texlab = { command = "texlab" }
129tombi = { command = "tombi", args = ["lsp"] }
130ty = { command = "ty", args = ["server"] }
131typespec = { command = "tsp-server", args = ["--stdio"] }
132vala-language-server = { command = "vala-language-server" }
133vale-ls = { command = "vale-ls" }
134vhdl_ls = { command = "vhdl_ls", args = [] }
135vlang-language-server = { command = "v-analyzer" }
136vscode-css-language-server = { command = "vscode-css-language-server", args = ["--stdio"], config = { provideFormatter = true, css = { validate = { enable = true } } } }
137vscode-html-language-server = { command = "vscode-html-language-server", args = ["--stdio"], config = { provideFormatter = true } }
138vscode-json-language-server = { command = "vscode-json-language-server", args = ["--stdio"], config = { provideFormatter = true, json = { validate = { enable = true } } } }
139vuels = { command = "vue-language-server", args = ["--stdio"], config = { typescript = { tsdk = "node_modules/typescript/lib/" } } }
140wgsl-analyzer = { command = "wgsl-analyzer" }
141yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
142yls = { command = "yls", args = ["-vv"] }
143zls = { command = "zls" }
144blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] }
145tinymist = { command = "tinymist" }
146ts_query_ls = { command = "ts_query_ls" }
147termux-language-server = { command = "termux-language-server" }
148helm_ls = { command = "helm_ls", args = ["serve"] }
149ember-language-server = { command = "ember-language-server", args = ["--stdio"] }
150teal-language-server = { command = "teal-language-server" }
151wasm-language-tools = { command = "wat_server" }
152sourcepawn-studio = { command = "sourcepawn-studio" }
153luau = { command = "luau-lsp", args = ["lsp"] }
154
155[language-server.ansible-language-server]
156command = "ansible-language-server"
157args = ["--stdio"]
158
159[language-server.astro-ls]
160command = "astro-ls"
161args = [ "--stdio" ]
162config = { typescript = { tsdk = "node_modules/typescript/lib" } }
163
164[language-server.lua-language-server]
165command = "lua-language-server"
166
167[language-server.lua-language-server.config.Lua.hint]
168enable = true
169arrayIndex = "Enable"
170setType = true
171paramName = "All"
172paramType = true
173await = true
174
175
176[language-server.gopls]
177command = "gopls"
178
179[language-server.gopls.config.hints]
180assignVariableTypes = true
181compositeLiteralFields = true
182constantValues = true
183functionTypeParameters = true
184parameterNames = true
185rangeVariableTypes = true
186
187[language-server.golangci-lint-lsp]
188command = "golangci-lint-langserver"
189
190[language-server.golangci-lint-lsp.config]
191command = ["golangci-lint", "run", "--output.json.path=stdout", "--show-stats=false", "--issues-exit-code=1"]
192
193
194[language-server.rust-analyzer]
195command = "rust-analyzer"
196
197[language-server.rust-analyzer.config]
198inlayHints.bindingModeHints.enable = false
199inlayHints.closingBraceHints.minLines = 10
200inlayHints.closureReturnTypeHints.enable = "with_block"
201inlayHints.discriminantHints.enable = "fieldless"
202inlayHints.lifetimeElisionHints.enable = "skip_trivial"
203inlayHints.typeHints.hideClosureInitialization = false
204
205[language-server.rust-analyzer.config.files]
206watcher = "server"
207
208[language-server.typescript-language-server]
209command = "typescript-language-server"
210args = ["--stdio"]
211config.hostInfo = "helix"
212
213[language-server.typescript-language-server.config.typescript.inlayHints]
214includeInlayEnumMemberValueHints = true
215includeInlayFunctionLikeReturnTypeHints = true
216includeInlayFunctionParameterTypeHints = true
217includeInlayParameterNameHints = "all"
218includeInlayParameterNameHintsWhenArgumentMatchesName = true
219includeInlayPropertyDeclarationTypeHints = true
220includeInlayVariableTypeHints = true
221
222[language-server.typescript-language-server.config.javascript.inlayHints]
223includeInlayEnumMemberValueHints = true
224includeInlayFunctionLikeReturnTypeHints = true
225includeInlayFunctionParameterTypeHints = true
226includeInlayParameterNameHints = "all"
227includeInlayParameterNameHintsWhenArgumentMatchesName = true
228includeInlayPropertyDeclarationTypeHints = true
229includeInlayVariableTypeHints = true
230
231[language-server.svelteserver]
232command = "svelteserver"
233args = ["--stdio"]
234
235[language-server.svelteserver.config.configuration.typescript]
236inlayHints.parameterTypes.enabled = true
237inlayHints.variableTypes.enabled = true
238inlayHints.propertyDeclarationTypes.enabled = true
239inlayHints.functionLikeReturnTypes.enabled = true
240inlayHints.enumMemberValues.enabled = true
241inlayHints.parameterNames.enabled = "all"
242
243[language-server.svelteserver.config.configuration.javascript]
244inlayHints.parameterTypes.enabled = true
245inlayHints.variableTypes.enabled = true
246inlayHints.propertyDeclarationTypes.enabled = true
247inlayHints.functionLikeReturnTypes.enabled = true
248inlayHints.enumMemberValues.enabled = true
249inlayHints.parameterNames.enabled = "all"
250
251[language-server.vscode-eslint-language-server]
252command = "vscode-eslint-language-server"
253args = ["--stdio"]
254
255[language-server.vscode-eslint-language-server.config]
256validate = "on"
257experimental = { useFlatConfig = false }
258rulesCustomizations = []
259run = "onType"
260problems = { shortenToSingleLine = false }
261nodePath = ""
262
263[language-server.vscode-eslint-language-server.config.codeAction.disableRuleComment]
264enable = true
265location = "separateLine"
266
267[language-server.vscode-eslint-language-server.config.codeAction.showDocumentation]
268enable = true
269
270[language-server.vscode-eslint-language-server.config.workingDirectory]
271mode = "location"
272
273[language-server.clarinet]
274command = "clarinet"
275args = ["lsp"]
276
277[[language]]
278name = "rust"
279scope = "source.rust"
280injection-regex = "rs|rust"
281file-types = ["rs"]
282roots = ["Cargo.toml", "Cargo.lock"]
283shebangs = ["rust-script", "cargo"]
284auto-format = true
285comment-tokens = ["//", "///", "//!"]
286block-comment-tokens = [
287  { start = "/*", end = "*/" },
288  { start = "/**", end = "*/" },
289  { start = "/*!", end = "*/" },
290]
291language-servers = [ "rust-analyzer" ]
292indent = { tab-width = 4, unit = "    " }
293persistent-diagnostic-sources = ["rustc", "clippy"]
294
295[language.auto-pairs]
296'(' = ')'
297'{' = '}'
298'[' = ']'
299'"' = '"'
300'`' = '`'
301
302[language.debugger]
303name = "lldb-dap"
304transport = "stdio"
305command = "lldb-dap"
306
307[[language.debugger.templates]]
308name = "binary"
309request = "launch"
310completion = [ { name = "binary", completion = "filename" } ]
311args = { program = "{0}" }
312
313[[language.debugger.templates]]
314name = "binary (terminal)"
315request = "launch"
316completion = [ { name = "binary", completion = "filename" } ]
317args = { program = "{0}", runInTerminal = true }
318
319[[language.debugger.templates]]
320name = "attach"
321request = "attach"
322completion = [ "pid" ]
323args = { pid = "{0}" }
324
325[[language.debugger.templates]]
326name = "gdbserver attach"
327request = "attach"
328completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
329args = { attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
330
331[[grammar]]
332name = "rust"
333source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "1f63b33efee17e833e0ea29266dd3d713e27e321" }
334
335[[language]]
336name = "sway"
337scope = "source.sway"
338injection-regex = "sway"
339file-types = ["sw"]
340language-servers = [ "forc" ]
341roots = ["Forc.toml", "Forc.lock"]
342indent = { tab-width = 4, unit = "    " }
343comment-token = "//"
344
345[[grammar]]
346name = "sway"
347source = { git = "https://github.com/FuelLabs/tree-sitter-sway", rev = "e491a005ee1d310f4c138bf215afd44cfebf959c" }
348
349[[language]]
350name = "toml"
351scope = "source.toml"
352injection-regex = "toml"
353file-types = ["toml", { glob = "pdm.lock" }, { glob = "poetry.lock" }, { glob = "Cargo.lock" }, { glob = "uv.lock" }]
354comment-token = "#"
355language-servers = [ "taplo", "tombi" ]
356indent = { tab-width = 2, unit = "  " }
357
358[[grammar]]
359name = "toml"
360source = { git = "https://github.com/ikatyang/tree-sitter-toml", rev = "7cff70bbcbbc62001b465603ca1ea88edd668704" }
361
362[[language]]
363name = "awk"
364scope = "source.awk"
365injection-regex = "awk"
366file-types = ["awk", "gawk", "nawk", "mawk"]
367comment-token = "#"
368language-servers = [ "awk-language-server" ]
369indent = { tab-width = 2, unit = "  " }
370
371[[grammar]]
372name = "awk"
373source = { git = "https://github.com/Beaglefoot/tree-sitter-awk", rev = "a799bc5da7c2a84bc9a06ba5f3540cf1191e4ee3" }
374
375[[language]]
376name = "protobuf"
377scope = "source.proto"
378injection-regex = "proto"
379file-types = ["proto"]
380language-servers = [ "buf", "pbkit", "protols" ]
381comment-token = "//"
382block-comment-tokens = { start = "/*", end = "*/" }
383indent = { tab-width = 2, unit = "  " }
384grammar = "proto"
385
386[[grammar]]
387name = "proto"
388source = { git = "https://github.com/sdoerner/tree-sitter-proto", rev = "778ab6ed18a7fcf82c83805a87d63376c51e80bc"}
389
390[[language]]
391name = "textproto"
392file-types = ["txtpb", "textpb", "textproto"]
393comment-token = "#"
394scope = "source.textproto"
395indent = { tab-width = 2, unit = "  " }
396formatter = { command = "txtpbfmt" }
397auto-format = true
398
399[[grammar]]
400name = "textproto"
401source = { git = "https://github.com/PorterAtGoogle/tree-sitter-textproto", rev = "568471b80fd8793d37ed01865d8c2208a9fefd1b"}
402
403[[language]]
404name = "elixir"
405scope = "source.elixir"
406injection-regex = "(elixir|ex)"
407file-types = ["ex", "exs", { glob = "mix.lock" }]
408shebangs = ["elixir"]
409roots = ["mix.exs", "mix.lock"]
410comment-token = "#"
411language-servers = [ "elixir-ls" ]
412indent = { tab-width = 2, unit = "  " }
413
414[[grammar]]
415name = "elixir"
416source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "02a6f7fd4be28dd94ee4dd2ca19cb777053ea74e" }
417
418[[language]]
419name = "fennel"
420scope = "source.fennel"
421file-types = ["fnl", "fnlm"]
422shebangs = ["fennel"]
423comment-token = ";"
424language-servers = ["fennel-ls"]
425formatter = { command = "fnlfmt", args = ["-"]}
426indent = { tab-width = 2, unit = "  " }
427
428[[grammar]]
429name = "fennel"
430source = { git = "https://github.com/alexmozaidze/tree-sitter-fennel", rev = "cfbfa478dc2dbef267ee94ae4323d9c886f45e94" }
431
432[[language]]
433name = "fish"
434scope = "source.fish"
435injection-regex = "fish"
436file-types = ["fish"]
437shebangs = ["fish"]
438comment-token = "#"
439language-servers = ["fish-lsp"]
440indent = { tab-width = 4, unit = "    " }
441auto-format = true
442formatter = { command = "fish_indent" }
443
444[[grammar]]
445name = "fish"
446source = { git = "https://github.com/ram02z/tree-sitter-fish", rev = "a78aef9abc395c600c38a037ac779afc7e3cc9e0" }
447
448[[language]]
449name = "mint"
450scope = "source.mint"
451injection-regex = "mint"
452file-types = ["mint"]
453shebangs = []
454comment-token = "//"
455block-comment-tokens = { start = "/*", end = "*/" }
456language-servers = [ "mint" ]
457indent = { tab-width = 2, unit = "  " }
458
459[[language]]
460name = "mojo"
461scope = "source.mojo"
462roots = ["pixi.toml", "pixi.lock"]
463injection-regex = "mojo"
464file-types = ["mojo", "🔥"]
465language-servers = [ "mojo-lsp-server" ]
466comment-token = "#"
467indent = { tab-width = 4, unit = "    " }
468auto-format = true
469formatter = { command = "pixi", args = ["run", "mojo" , "format", "-q", "-"]}
470
471[[grammar]]
472name = "mojo"
473source = { git = "https://github.com/lsh/tree-sitter-mojo", rev = "3d7c53b8038f9ebbb57cd2e61296180aa5c1cf64" }
474
475[[language]]
476name = "janet"
477scope = "source.janet"
478injection-regex = "janet"
479file-types = ["cgen", "janet", "jdn"]
480shebangs = ["janet"]
481roots = ["project.janet"]
482comment-token = "#"
483indent = { tab-width = 2, unit = "  " }
484formatter = { command = "janet-format" }
485grammar = "janet-simple"
486
487[language.auto-pairs]
488'"' = '"'
489'(' = ')'
490'[' = ']'
491'{' = '}'
492"`" = "`"
493
494[[grammar]]
495name = "janet-simple"
496source = { git = "https://github.com/sogaiu/tree-sitter-janet-simple", rev = "51271e260346878e1a1aa6c506ce6a797b7c25e2" }
497
498[[language]]
499name = "json"
500scope = "source.json"
501injection-regex = "json"
502file-types = [
503  "json",
504  "arb",
505  "ipynb",
506  "geojson",
507  "gltf",
508  "webmanifest",
509  { glob = "flake.lock" },
510  { glob = ".babelrc" },
511  { glob = ".bowerrc" },
512  { glob = ".jscrc" },
513  "js.map",
514  "ts.map",
515  "css.map",
516  { glob = ".jslintrc" },
517  "jsonl",
518  { glob = ".vuerc" },
519  { glob = "composer.lock" },
520  { glob = ".watchmanconfig" },
521  "avsc",
522  "ldtk",
523  "ldtkl",
524  { glob = ".swift-format" },
525  "sublime-build",
526  "sublime-color-scheme",
527  "sublime-commands",
528  "sublime-completions",
529  "sublime-keymap",
530  "sublime-macro",
531  "sublime-menu",
532  "sublime-mousemap",
533  "sublime-project",
534  "sublime-settings",
535  "sublime-theme",
536  "sublime-workspace"
537]
538language-servers = [ "vscode-json-language-server" ]
539auto-format = true
540indent = { tab-width = 2, unit = "  " }
541
542[[grammar]]
543name = "json"
544source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076754005a460947cafe8e03a8cf5fa4fa2938" }
545
546[[language]]
547name = "jsonc"
548scope = "source.json"
549injection-regex = "jsonc"
550file-types = ["jsonc", { glob = "{t,j}sconfig.json" }, { glob = "bun.lock" }]
551comment-token = "//"
552block-comment-tokens = { start = "/*", end = "*/" }
553grammar = "json"
554language-servers = [ "vscode-json-language-server" ]
555auto-format = true
556indent = { tab-width = 2, unit = "  " }
557
558# https://www.w3.org/TR/json-ld/
559[[language]]
560name = "json-ld"
561scope = "source.json-ld"
562injection-regex = "json-ld"
563grammar = "json"
564file-types = ["jsonld"]
565language-servers = ["vscode-json-language-server"]
566auto-format = true
567indent = { tab-width = 2, unit = "  " }
568
569[[language]]
570name = "json5"
571scope = "source.json5"
572injection-regex = "json5"
573file-types = ["json5"]
574language-servers = []
575comment-token = "//"
576indent = { tab-width = 4, unit = "    " }
577# https://json5.org
578
579[[grammar]]
580name = "json5"
581source = { git = "https://github.com/Joakker/tree-sitter-json5", rev = "c23f7a9b1ee7d45f516496b1e0e4be067264fa0d" }
582
583[[language]]
584name = "c"
585scope = "source.c"
586injection-regex = "c"
587file-types = ["c"] # TODO: ["h"]
588comment-token = "//"
589block-comment-tokens = { start = "/*", end = "*/" }
590language-servers = [ "clangd" ]
591indent = { tab-width = 2, unit = "  " }
592
593[language.debugger]
594name = "lldb-dap"
595transport = "stdio"
596command = "lldb-dap"
597
598[[language.debugger.templates]]
599name = "binary"
600request = "launch"
601completion = [ { name = "binary", completion = "filename" } ]
602args = { console = "internalConsole", program = "{0}" }
603
604[[language.debugger.templates]]
605name = "attach"
606request = "attach"
607completion = [ "pid" ]
608args = { console = "internalConsole", pid = "{0}" }
609
610[[language.debugger.templates]]
611name = "gdbserver attach"
612request = "attach"
613completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
614args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
615
616[[grammar]]
617name = "c"
618source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd5fc1cee660dce6fe23f6043d75af424a" }
619
620[[language]]
621name = "cpp"
622scope = "source.cpp"
623injection-regex = "cpp"
624file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H", "cu", "cuh", "cppm", "h++", "ii", "inl", { glob = ".hpp.in" }, { glob = ".h.in" }]
625comment-token = "//"
626block-comment-tokens = { start = "/*", end = "*/" }
627language-servers = [ "clangd" ]
628indent = { tab-width = 2, unit = "  " }
629
630[language.debugger]
631name = "lldb-dap"
632transport = "stdio"
633command = "lldb-dap"
634
635[[language.debugger.templates]]
636name = "binary"
637request = "launch"
638completion = [ { name = "binary", completion = "filename" } ]
639args = { console = "internalConsole", program = "{0}" }
640
641[[language.debugger.templates]]
642name = "attach"
643request = "attach"
644completion = [ "pid" ]
645args = { console = "internalConsole", pid = "{0}" }
646
647[[language.debugger.templates]]
648name = "gdbserver attach"
649request = "attach"
650completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
651args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
652
653[[grammar]]
654name = "cpp"
655source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "56455f4245baf4ea4e0881c5169de69d7edd5ae7" }
656
657[[language]]
658name = "crystal"
659scope = "source.cr"
660file-types = ["cr"]
661roots = ["shard.yml", "shard.lock"]
662comment-token = "#"
663indent = { tab-width = 2, unit = "  " }
664language-servers = [ "crystalline", "ameba-ls" ]
665formatter = { command = "crystal", args = ["tool", "format", "-"] }
666
667[[grammar]]
668name = "crystal"
669source = { git = "https://github.com/crystal-lang-tools/tree-sitter-crystal", rev = "76afc1f53518a2b68b51a5abcde01d268a9cb47c" }
670
671[[language]]
672name = "c-sharp"
673scope = "source.csharp"
674injection-regex = "c-?sharp"
675file-types = ["cs", "csx", "cake"]
676roots = ["sln", "csproj"]
677comment-token = "//"
678block-comment-tokens = { start = "/*", end = "*/" }
679indent = { tab-width = 4, unit = "\t" }
680language-servers = [ "omnisharp" ]
681
682[language.debugger]
683name = "netcoredbg"
684transport = "tcp"
685command = "netcoredbg"
686args = [ "--interpreter=vscode" ]
687port-arg = "--server={}"
688
689[[language.debugger.templates]]
690name = "launch"
691request = "launch"
692completion = [ { name = "path to dll", completion = "filename" } ]
693args = { type = "coreclr", console = "internalConsole", internalConsoleOptions = "openOnSessionStart", program = "{0}" }
694
695[[language.debugger.templates]]
696name = "attach"
697request = "attach"
698completion = [ "pid" ]
699args = { processId = "{0}" }
700
701[[grammar]]
702name = "c-sharp"
703source = { git = "https://github.com/tree-sitter/tree-sitter-c-sharp", rev = "b5eb5742f6a7e9438bee22ce8026d6b927be2cd7" }
704
705[[language]]
706name = "cel"
707scope = "source.cel"
708injection-regex = "cel"
709file-types = ["cel"]
710comment-token = "//"
711indent = { tab-width = 2, unit = "  " }
712
713[[grammar]]
714name = "cel"
715source = { git = "https://github.com/bufbuild/tree-sitter-cel", rev = "9f2b65da14c216df53933748e489db0f11121464" }
716
717[[language]]
718name = "spicedb"
719scope = "source.zed"
720injection-regex = "spicedb"
721file-types = ["zed"]
722comment-token = "//"
723indent = { tab-width = 2, unit = "  " }
724
725[[grammar]]
726name = "spicedb"
727source = { git = "https://github.com/jzelinskie/tree-sitter-spicedb", rev = "a4e4645651f86d6684c15dfa9931b7841dc52a66" }
728
729[[language]]
730name = "go"
731scope = "source.go"
732injection-regex = "go"
733file-types = ["go"]
734roots = ["go.work", "go.mod"]
735auto-format = true
736comment-token = "//"
737block-comment-tokens = { start = "/*", end = "*/" }
738language-servers = [ "gopls", "golangci-lint-lsp" ]
739# TODO: gopls needs utf-8 offsets?
740indent = { tab-width = 4, unit = "\t" }
741
742[language.debugger]
743name = "go"
744transport = "tcp"
745command = "dlv"
746args = ["dap"]
747port-arg = "-l 127.0.0.1:{}"
748
749[[language.debugger.templates]]
750name = "source"
751request = "launch"
752completion = [ { name = "entrypoint", completion = "filename", default = "." } ]
753args = { mode = "debug", program = "{0}" }
754
755[[language.debugger.templates]]
756name = "binary"
757request = "launch"
758completion = [ { name = "binary", completion = "filename" } ]
759args = { mode = "exec", program = "{0}" }
760
761[[language.debugger.templates]]
762name = "test"
763request = "launch"
764completion = [ { name = "tests", completion = "directory", default = "." } ]
765args = { mode = "test", program = "{0}" }
766
767[[language.debugger.templates]]
768name = "attach"
769request = "attach"
770completion = [ "pid" ]
771args = { mode = "local", processId = "{0}" }
772
773[[language.debugger.templates]]
774name = "core"
775request = "launch"
776completion = [ { name = "binary", completion = "filename" }, { name = "core", completion = "filename" } ]
777args = { mode = "core", program = "{0}", coreFilePath = "{1}" }
778
779[[grammar]]
780name = "go"
781source = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "64457ea6b73ef5422ed1687178d4545c3e91334a" }
782
783[[language]]
784name = "gomod"
785scope = "source.gomod"
786injection-regex = "gomod"
787file-types = [{ glob = "go.mod" }]
788auto-format = true
789comment-token = "//"
790language-servers = [ "gopls" ]
791indent = { tab-width = 4, unit = "\t" }
792
793[[grammar]]
794name = "gomod"
795source = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c" }
796
797[[language]]
798name = "gotmpl"
799scope = "source.gotmpl"
800injection-regex = "gotmpl"
801file-types = ["gotmpl"]
802comment-token = "//"
803block-comment-tokens = { start = "/*", end = "*/" }
804language-servers = [ "gopls" ]
805indent = { tab-width = 2, unit = " " }
806
807[[grammar]]
808name = "gotmpl"
809source = { git = "https://github.com/dannylongeuay/tree-sitter-go-template", rev = "395a33e08e69f4155156f0b90138a6c86764c979" }
810
811[[language]]
812name = "gowork"
813scope = "source.gowork"
814injection-regex = "gowork"
815file-types = [{ glob = "go.work" }]
816auto-format = true
817comment-token = "//"
818language-servers = [ "gopls" ]
819indent = { tab-width = 4, unit = "\t" }
820
821[[grammar]]
822name = "gowork"
823source = { git = "https://github.com/omertuc/tree-sitter-go-work", rev = "6dd9dd79fb51e9f2abc829d5e97b15015b6a8ae2" }
824
825[[language]]
826name = "javascript"
827scope = "source.js"
828injection-regex = "(js|javascript)"
829language-id = "javascript"
830file-types = ["js", "mjs", "cjs", "rules", "es6", "pac", { glob = ".node_repl_history" }, { glob = "jakefile" }]
831shebangs = ["node"]
832roots = [ "package.json", "jsconfig.json" ]
833comment-token = "//"
834block-comment-tokens = { start = "/*", end = "*/" }
835language-servers = [ "typescript-language-server" ]
836indent = { tab-width = 2, unit = "  " }
837
838[language.debugger]
839name = "js-debug-dap"
840transport = "tcp"
841port-arg = "{} 127.0.0.1"
842# args consisting of cmd (node) and path to adapter should be added to user's configuration
843quirks = { absolute-paths = true }
844
845[[language.debugger.templates]]
846name = "source"
847request = "launch"
848completion = [ { name = "main", completion = "filename", default = "index.js" } ]
849args = { program = "{0}", skipFiles = [ "<node_internals>/**" ] }
850
851[[grammar]]
852name = "javascript"
853source = { git = "https://github.com/tree-sitter/tree-sitter-javascript", rev = "f772967f7b7bc7c28f845be2420a38472b16a8ee" }
854
855[[language]]
856name = "jsx"
857scope = "source.jsx"
858injection-regex = "jsx"
859language-id = "javascriptreact"
860file-types = ["jsx"]
861roots = [ "package.json", "jsconfig.json" ]
862comment-token = "//"
863block-comment-tokens = { start = "/*", end = "*/" }
864language-servers = [ "typescript-language-server" ]
865indent = { tab-width = 2, unit = "  " }
866grammar = "javascript"
867
868[[language]]
869name = "typescript"
870scope = "source.ts"
871injection-regex = "(ts|typescript)"
872language-id = "typescript"
873file-types = ["ts", "mts", "cts"]
874shebangs = ["deno", "bun", "ts-node"]
875roots = [ "package.json", "tsconfig.json" ]
876comment-token = "//"
877block-comment-tokens = { start = "/*", end = "*/" }
878language-servers = [ "typescript-language-server" ]
879indent = { tab-width = 2, unit = "  " }
880
881[[grammar]]
882name = "typescript"
883source = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf", subpath = "typescript" }
884
885[[language]]
886name = "typespec"
887scope = "source.typespec"
888injection-regex = "(tsp|typespec)"
889language-id = "typespec"
890file-types = ["tsp"]
891roots = ["tspconfig.yaml"]
892auto-format = true
893comment-token = "//"
894block-comment-tokens = { start = "/*", end = "*/" }
895language-servers = ["typespec"]
896indent = { tab-width = 2, unit = "  " }
897
898[[grammar]]
899name = "typespec"
900source = { git = "https://github.com/happenslol/tree-sitter-typespec", rev = "0ee05546d73d8eb64635ed8125de6f35c77759fe" }
901
902[[language]]
903name = "tsx"
904scope = "source.tsx"
905injection-regex = "(tsx)" # |typescript
906language-id = "typescriptreact"
907file-types = ["tsx"]
908roots = [ "package.json", "tsconfig.json" ]
909comment-token = "//"
910block-comment-tokens = { start = "/*", end = "*/" }
911language-servers = [ "typescript-language-server" ]
912indent = { tab-width = 2, unit = "  " }
913
914[[grammar]]
915name = "tsx"
916source = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf", subpath = "tsx" }
917
918[[language]]
919name = "css"
920scope = "source.css"
921injection-regex = "css"
922file-types = ["css"]
923block-comment-tokens = { start = "/*", end = "*/" }
924language-servers = [ "vscode-css-language-server" ]
925auto-format = true
926indent = { tab-width = 2, unit = "  " }
927
928[[grammar]]
929name = "css"
930source = { git = "https://github.com/tree-sitter/tree-sitter-css", rev = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" }
931
932[[language]]
933name = "scss"
934scope = "source.scss"
935injection-regex = "scss"
936file-types = ["scss"]
937block-comment-tokens = { start = "/*", end = "*/" }
938language-servers = [ "vscode-css-language-server" ]
939auto-format = true
940indent = { tab-width = 2, unit = "  " }
941
942[[grammar]]
943name = "scss"
944source = { git = "https://github.com/serenadeai/tree-sitter-scss", rev = "c478c6868648eff49eb04a4df90d703dc45b312a" }
945
946[[language]]
947name = "html"
948scope = "text.html.basic"
949injection-regex = "html"
950file-types = ["html", "htm", "shtml", "xhtml", "xht", "jsp", "asp", "aspx", "jshtm", "volt", "rhtml", "cshtml"]
951block-comment-tokens = { start = "<!--", end = "-->" }
952language-servers = [ "vscode-html-language-server", "superhtml" ]
953auto-format = true
954indent = { tab-width = 2, unit = "  " }
955
956[[grammar]]
957name = "html"
958source = { git = "https://github.com/tree-sitter/tree-sitter-html", rev = "cbb91a0ff3621245e890d1c50cc811bffb77a26b" }
959
960[[language]]
961name = "htmldjango"
962scope = "source.htmldjango"
963injection-regex = "htmldjango"
964language-servers = ["djlsp", "vscode-html-language-server", "superhtml"]
965file-types = []
966
967[language.auto-pairs]
968'"' = '"'
969'(' = ')'
970'[' = ']'
971'{' = '}'
972'%' = '%'
973'<' = '>'
974
975[[grammar]]
976name = "htmldjango"
977source = { git = "https://github.com/interdependence/tree-sitter-htmldjango", rev = "3a643167ad9afac5d61e092f08ff5b054576fadf" }
978
979[[language]]
980name = "python"
981scope = "source.python"
982injection-regex = "py(thon)?"
983file-types = ["py", "pyi", "py3", "pyw", "ptl", "rpy", "cpy", "ipy", "pyt", { glob = ".python_history" }, { glob = ".pythonstartup" }, { glob = ".pythonrc" }, { glob = "*SConstruct" }, { glob = "*SConscript" }, { glob = "*sconstruct" }]
984shebangs = ["python", "uv"]
985roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
986comment-token = "#"
987language-servers = ["ty", "ruff", "jedi", "pylsp"]
988# TODO: pyls needs utf-8 offsets
989indent = { tab-width = 4, unit = "    " }
990
991[[grammar]]
992name = "python"
993source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "4bfdd9033a2225cc95032ce77066b7aeca9e2efc" }
994
995[[language]]
996name = "nickel"
997scope = "source.nickel"
998injection-regex = "nickel"
999file-types = ["ncl"]
1000shebangs = []
1001comment-token = "#"
1002language-servers = [ "nls" ]
1003indent = { tab-width = 2, unit = "  " }
1004
1005[language.auto-pairs]
1006'(' = ')'
1007'{' = '}'
1008'[' = ']'
1009'"' = '"'
1010
1011[[grammar]]
1012name = "nickel"
1013source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "88d836a24b3b11c8720874a1a9286b8ae838d30a" }
1014
1015[[language]]
1016name = "nix"
1017scope = "source.nix"
1018injection-regex = "nix"
1019file-types = ["nix"]
1020shebangs = []
1021comment-token = "#"
1022language-servers = [ "nil", "nixd" ]
1023indent = { tab-width = 2, unit = "  " }
1024
1025[[grammar]]
1026name = "nix"
1027source = { git = "https://github.com/nix-community/tree-sitter-nix", rev = "1b69cf1fa92366eefbe6863c184e5d2ece5f187d" }
1028
1029[[language]]
1030name = "ruby"
1031scope = "source.ruby"
1032injection-regex = "ruby"
1033file-types = [
1034  "rb",
1035  "rake",
1036  "irb",
1037  "gemspec",
1038  "rabl",
1039  "jbuilder",
1040  "jb",
1041  "podspec",
1042  "rjs",
1043  "rbi",
1044  "rbs",
1045  { glob = "rakefile" },
1046  { glob = "gemfile" },
1047  { glob = "Rakefile" },
1048  { glob = "Gemfile" },
1049  { glob = "Podfile" },
1050  { glob = "Vagrantfile" },
1051  { glob = "Brewfile" },
1052  { glob = "Guardfile" },
1053  { glob = "Capfile" },
1054  { glob = "Cheffile" },
1055  { glob = "Hobofile" },
1056  { glob = "Appraisals" },
1057  { glob = "Rantfile" },
1058  { glob = "Berksfile" },
1059  { glob = "Berksfile.lock" },
1060  { glob = "Thorfile" },
1061  { glob = "Puppetfile" },
1062  { glob = "Fastfile" },
1063  { glob = "Appfile" },
1064  { glob = "Deliverfile" },
1065  { glob = "Matchfile" },
1066  { glob = "Scanfile" },
1067  { glob = "Snapfile" },
1068  { glob = "Gymfile" },
1069]
1070shebangs = ["ruby"]
1071comment-token = "#"
1072language-servers = [ "ruby-lsp", "solargraph" ]
1073indent = { tab-width = 2, unit = "  " }
1074
1075[[grammar]]
1076name = "ruby"
1077source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "206c7077164372c596ffa8eaadb9435c28941364" }
1078
1079[[language]]
1080name = "bash"
1081scope = "source.bash"
1082injection-regex = "(shell|bash|zsh|sh)"
1083file-types = [
1084  "sh",
1085  "bash",
1086  "ash",
1087  "dash",
1088  "ksh",
1089  "mksh",
1090  "zsh",
1091  "zshenv",
1092  "zlogin",
1093  "zlogout",
1094  "zprofile",
1095  "zshrc",
1096  "eclass",
1097  "ebuild",
1098  "bazelrc",
1099  "Renviron",
1100  "zsh-theme",
1101  "cshrc",
1102  "tcshrc",
1103  "bashrc_Apple_Terminal",
1104  "zshrc_Apple_Terminal",
1105  { glob = "i3/config" },
1106  { glob = "sway/config" },
1107  { glob = "tmux.conf" },
1108  { glob = ".bash_history" },
1109  { glob = ".bash_login" },
1110  { glob = ".bash_logout" },
1111  { glob = ".bash_profile" },
1112  { glob = ".bashrc" },
1113  { glob = ".profile" },
1114  { glob = ".zshenv" },
1115  { glob = ".zlogin" },
1116  { glob = ".zlogout" },
1117  { glob = ".zprofile" },
1118  { glob = ".zshrc" },
1119  { glob = ".zimrc" },
1120  { glob = "APKBUILD" },
1121  { glob = ".bash_aliases" },
1122  { glob = ".Renviron" },
1123  { glob = ".xprofile" },
1124  { glob = ".xsession" },
1125  { glob = ".xsessionrc" },
1126  { glob = ".yashrc" },
1127  { glob = ".yash_profile" },
1128  { glob = ".hushlogin" },
1129]
1130shebangs = ["sh", "bash", "dash", "zsh"]
1131comment-token = "#"
1132language-servers = [ "bash-language-server" ]
1133indent = { tab-width = 2, unit = "  " }
1134
1135[[grammar]]
1136name = "bash"
1137source = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "487734f87fd87118028a65a4599352fa99c9cde8" }
1138
1139[[language]]
1140name = "php"
1141scope = "source.php"
1142injection-regex = "php"
1143file-types = ["php", "inc", "php4", "php5", "phtml", "ctp"]
1144shebangs = ["php"]
1145roots = ["composer.json", "index.php"]
1146comment-token = "//"
1147block-comment-tokens = [{start = "/**", end = "*/"}, {start = "/*", end = "*/"}]
1148language-servers = [ "intelephense" ]
1149indent = { tab-width = 4, unit = "    " }
1150
1151[[grammar]]
1152name = "php"
1153source = { git = "https://github.com/tree-sitter/tree-sitter-php", rev = "f860e598194f4a71747f91789bf536b393ad4a56" }
1154
1155[[language]]
1156name = "php-only"
1157scope = "source.php-only"
1158injection-regex = "php-only"
1159file-types = []
1160indent = { tab-width = 4, unit = "    " }
1161roots = ["composer.json", "index.php"]
1162
1163[[grammar]]
1164name = "php-only"
1165source = { git = "https://github.com/tree-sitter/tree-sitter-php", rev = "cf1f4a0f1c01c705c1d6cf992b104028d5df0b53", subpath = "php_only" }
1166
1167[[language]]
1168name = "blade"
1169scope = "source.blade.php"
1170file-types = [{ glob = "*.blade.php" }, "blade"]
1171injection-regex = "blade"
1172roots = ["composer.json", "index.php"]
1173
1174[[grammar]]
1175name = "blade"
1176source = { git = "https://github.com/EmranMR/tree-sitter-blade", rev = "4c66efe1e05c639c555ee70092021b8223d2f440" }
1177
1178[[language]]
1179name = "twig"
1180scope = "source.twig"
1181injection-regex = "twig"
1182file-types = ["twig"]
1183block-comment-tokens = { start = "{#", end = "#}" }
1184indent = { tab-width = 2, unit = "  " }
1185
1186[[grammar]]
1187name = "twig"
1188source = { git = "https://github.com/gbprod/tree-sitter-twig", rev = "085648e01d1422163a1702a44e72303b4e2a0bd1" }
1189
1190[[language]]
1191name = "latex"
1192scope = "source.tex"
1193injection-regex = "tex"
1194file-types = ["tex", "sty", "cls", "Rd", "bbx", "cbx"]
1195comment-token = "%"
1196language-servers = [ "texlab" ]
1197indent = { tab-width = 4, unit = "\t" }
1198
1199[[grammar]]
1200name = "latex"
1201source = { git = "https://github.com/latex-lsp/tree-sitter-latex", rev = "8c75e93cd08ccb7ce1ccab22c1fbd6360e3bcea6" }
1202
1203[[language]]
1204name = "bibtex"
1205scope = "source.bib"
1206injection-regex = "bib"
1207file-types = ["bib"]
1208comment-token = "%"
1209language-servers = [ "texlab" ]
1210indent = { tab-width = 4, unit = "\t" }
1211auto-format = true
1212
1213[language.formatter]
1214command = 'bibtex-tidy'
1215args = [
1216  "-",
1217  "--curly",
1218  "--drop-all-caps",
1219  "--remove-empty-fields",
1220  "--sort-fields",
1221  "--sort=year,author,id",
1222  "--strip-enclosing-braces",
1223  "--trailing-commas",
1224]
1225
1226[[grammar]]
1227name = "bibtex"
1228source = { git = "https://github.com/latex-lsp/tree-sitter-bibtex", rev = "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34" }
1229
1230[[language]]
1231name = "lean"
1232scope = "source.lean"
1233injection-regex = "lean"
1234file-types = ["lean"]
1235roots = [ "lakefile.lean" ]
1236comment-token = "--"
1237block-comment-tokens = { start = "/-", end = "-/" }
1238language-servers = [ "lean" ]
1239indent = { tab-width = 2, unit = "  " }
1240rulers = [101]
1241text-width = 100
1242
1243[language.auto-pairs]
1244'(' = ')'
1245'{' = '}'
1246'[' = ']'
1247'"' = '"'
1248'⟨' = '⟩'
1249
1250[[grammar]]
1251name = "lean"
1252source = { git = "https://github.com/Julian/tree-sitter-lean", rev = "d98426109258b266e1e92358c5f11716d2e8f638" }
1253
1254
1255[[language]]
1256name = "lpf"
1257comment-token = "#"
1258scope = "source.lpf"
1259file-types = ["lpf"]
1260
1261[[grammar]]
1262name = "lpf"
1263source = { git = "https://gitlab.com/TheZoq2/tree-sitter-lpf", rev = "db7372e60c722ca7f12ab359e57e6bf7611ab126" }
1264
1265[[language]]
1266name = "julia"
1267scope = "source.julia"
1268injection-regex = "julia"
1269file-types = ["jl"]
1270shebangs = ["julia"]
1271roots = ["Manifest.toml", "Project.toml"]
1272comment-token = "#"
1273block-comment-tokens = { start = "#=", end = "=#" }
1274language-servers = [ "julia" ]
1275indent = { tab-width = 4, unit = "    " }
1276
1277[[grammar]]
1278name = "julia"
1279source = { git = "https://github.com/tree-sitter/tree-sitter-julia", rev = "e84f10db8eeb8b9807786bfc658808edaa1b4fa2" }
1280
1281[[language]]
1282name = "java"
1283scope = "source.java"
1284injection-regex = "java"
1285file-types = ["java", "jav", "pde"]
1286roots = ["pom.xml", "build.gradle", "build.gradle.kts"]
1287language-servers = [ "jdtls" ]
1288indent = { tab-width = 2, unit = "  " }
1289comment-tokens = ["//"]
1290block-comment-tokens = { start = "/*", end = "*/" }
1291
1292[[grammar]]
1293name = "java"
1294source = { git = "https://github.com/tree-sitter/tree-sitter-java", rev = "09d650def6cdf7f479f4b78f595e9ef5b58ce31e" }
1295
1296[[language]]
1297name = "smali"
1298scope = "source.smali"
1299injection-regex = "smali"
1300file-types = ["smali"]
1301comment-token = "#"
1302roots = []
1303indent = { tab-width = 4, unit = "    " }
1304
1305[[grammar]]
1306name = "smali"
1307source = { git = "https://github.com/amaanq/tree-sitter-smali", rev = "5ae51e15c4d1ac93cba6127caf3d1f0a072c140c" }
1308
1309[[language]]
1310name = "ledger"
1311scope = "source.ledger"
1312injection-regex = "ledger"
1313file-types = ["ldg", "ledger", "journal"]
1314comment-token = ";"
1315indent = { tab-width = 4, unit = "    " }
1316
1317[[grammar]]
1318name = "ledger"
1319source = { git = "https://github.com/cbarrete/tree-sitter-ledger", rev = "1f864fb2bf6a87fe1b48545cc6adc6d23090adf7" }
1320
1321[[language]]
1322name = "beancount"
1323scope = "source.beancount"
1324injection-regex = "beancount"
1325file-types = ["beancount", "bean"]
1326comment-token = ";"
1327indent = { tab-width = 2, unit = "  " }
1328language-servers = [ "beancount-language-server" ]
1329
1330[[grammar]]
1331name = "beancount"
1332source = { git = "https://github.com/polarmutex/tree-sitter-beancount", rev = "f3741a3a68ade59ec894ed84a64673494d2ba8f3" }
1333
1334[[language]]
1335name = "ocaml"
1336scope = "source.ocaml"
1337injection-regex = "ocaml"
1338file-types = ["ml"]
1339shebangs = ["ocaml", "ocamlrun", "ocamlscript"]
1340block-comment-tokens = { start = "(*", end = "*)" }
1341language-servers = [ "ocamllsp" ]
1342indent = { tab-width = 2, unit = "  " }
1343
1344[language.auto-pairs]
1345'(' = ')'
1346'{' = '}'
1347'[' = ']'
1348'"' = '"'
1349
1350[[grammar]]
1351name = "ocaml"
1352source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml", rev = "9965d208337d88bbf1a38ad0b0fe49e5f5ec9677", subpath = "ocaml" }
1353
1354[[language]]
1355name = "ocaml-interface"
1356scope = "source.ocaml.interface"
1357file-types = ["mli"]
1358shebangs = []
1359block-comment-tokens = { start = "(*", end = "*)" }
1360comment-token = "(**)"
1361language-servers = [ "ocamllsp" ]
1362indent = { tab-width = 2, unit = "  " }
1363
1364[language.auto-pairs]
1365'(' = ')'
1366'{' = '}'
1367'[' = ']'
1368'"' = '"'
1369
1370[[grammar]]
1371name = "ocaml-interface"
1372source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml", rev = "9965d208337d88bbf1a38ad0b0fe49e5f5ec9677", subpath = "interface" }
1373
1374[[language]]
1375name = "dune"
1376scope = "source.dune"
1377roots = ["dune-project"]
1378file-types = [{ glob = "dune-project" }, { glob = "dune" }]
1379comment-token = ";"
1380indent = { tab-width = 1, unit = " " }
1381grammar = "scheme"
1382auto-format = true
1383formatter = { command = "dune", args = ["format-dune-file"] }
1384
1385[language.auto-pairs]
1386'(' = ')'
1387'{' = '}'
1388'[' = ']'
1389'"' = '"'
1390
1391[[language]]
1392name = "lua"
1393injection-regex = "lua"
1394scope = "source.lua"
1395file-types = ["lua", "rockspec"]
1396shebangs = ["lua", "luajit"]
1397roots = [".luarc.json", ".luacheckrc", ".stylua.toml", "selene.toml", ".git"]
1398comment-token = "--"
1399block-comment-tokens = { start = "--[[", end = "--]]" }
1400indent = { tab-width = 2, unit = "  " }
1401language-servers = [ "lua-language-server" ]
1402
1403[[grammar]]
1404name = "lua"
1405source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-lua", rev = "88e446476a1e97a8724dff7a23e2d709855077f2" }
1406
1407[[grammar]]
1408name = "teal"
1409source = { git = "https://github.com/euclidianAce/tree-sitter-teal", rev = "3db655924b2ff1c54fdf6371b5425ea6b5dccefe" }
1410
1411[[language]]
1412name = "teal"
1413scope = "source.tl"
1414injection-regex = "teal"
1415file-types = ["tl"]
1416comment-tokens = "--"
1417block-comment-tokens = { start = "--[[", end = "--]]" }
1418roots = [ "tlconfig.lua" ]
1419language-servers = [ "teal-language-server" ]
1420
1421[[language]]
1422name = "svelte"
1423scope = "source.svelte"
1424injection-regex = "svelte"
1425file-types = ["svelte"]
1426indent = { tab-width = 2, unit = "  " }
1427comment-token = "//"
1428block-comment-tokens = { start = "/*", end = "*/" }
1429language-servers = [ "svelteserver" ]
1430
1431[[grammar]]
1432name = "svelte"
1433source = { git = "https://github.com/Himujjal/tree-sitter-svelte", rev = "60ea1d673a1a3eeeb597e098d9ada9ed0c79ef4b" }
1434
1435[[language]]
1436name = "vue"
1437scope = "source.vue"
1438injection-regex = "vue"
1439file-types = ["vue"]
1440roots = ["package.json"]
1441block-comment-tokens = { start = "<!--", end = "-->" }
1442indent = { tab-width = 2, unit = "  " }
1443language-servers = [ "vuels" ]
1444
1445[[grammar]]
1446name = "vue"
1447source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe2754796cd8fba5f229505a23fa08f3546c06" }
1448
1449[[language]]
1450name = "yaml"
1451scope = "source.yaml"
1452file-types = [
1453  "yml",
1454  "yaml",
1455  { glob = ".prettierrc" },
1456  { glob = ".clangd" },
1457  { glob = ".clang-format" },
1458  { glob = ".clang-tidy" },
1459  { glob = ".gem/credentials" },
1460  "sublime-syntax"
1461]
1462comment-token = "#"
1463indent = { tab-width = 2, unit = "  " }
1464language-servers = [ "yaml-language-server", "ansible-language-server" ]
1465injection-regex = "yml|yaml"
1466
1467[[grammar]]
1468name = "yaml"
1469source = { git = "https://github.com/ikatyang/tree-sitter-yaml", rev = "0e36bed171768908f331ff7dff9d956bae016efb" }
1470
1471[[language]]
1472name = "nestedtext"
1473scope = "text.nested"
1474injection-regex = "nestedtext"
1475file-types = ["nt"]
1476comment-token = "#"
1477indent = { tab-width = 4, unit = "    " }
1478grammar = "yaml"
1479
1480[[language]]
1481name = "haskell"
1482scope = "source.haskell"
1483injection-regex = "hs|haskell"
1484file-types = ["hs", "hs-boot", "hsc"]
1485roots = ["Setup.hs", "stack.yaml", "cabal.project"]
1486comment-token = "--"
1487block-comment-tokens = { start = "{-", end = "-}" }
1488language-servers = [ "haskell-language-server" ]
1489indent = { tab-width = 2, unit = "  " }
1490
1491[[grammar]]
1492name = "haskell"
1493source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "0975ef72fc3c47b530309ca93937d7d143523628" }
1494
1495[[language]]
1496name = "haskell-persistent"
1497scope = "source.persistentmodels"
1498file-types = ["persistentmodels"]
1499comment-token = "--"
1500indent = { tab-width = 2, unit = "  " }
1501
1502[[grammar]]
1503name = "haskell-persistent"
1504source = { git = "https://github.com/MercuryTechnologies/tree-sitter-haskell-persistent", rev = "58a6ccfd56d9f1de8fb9f77e6c42151f8f0d0f3d" }
1505
1506[[language]]
1507name = "purescript"
1508scope = "source.purescript"
1509injection-regex = "purescript"
1510file-types = ["purs"]
1511roots = ["spago.yaml", "spago.dhall", "bower.json"]
1512comment-token = "--"
1513block-comment-tokens = { start = "{-", end = "-}" }
1514language-servers = [ "purescript-language-server" ]
1515indent = { tab-width = 2, unit = "  " }
1516auto-format = true
1517formatter = { command = "purs-tidy", args = ["format"] }
1518
1519[[grammar]]
1520name = "purescript"
1521source = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "f541f95ffd6852fbbe88636317c613285bc105af" }
1522
1523[[language]]
1524name = "zig"
1525scope = "source.zig"
1526injection-regex = "zig"
1527file-types = ["zig", "zon"]
1528roots = ["build.zig"]
1529auto-format = true
1530comment-tokens = ["//", "///", "//!"]
1531language-servers = [ "zls" ]
1532indent = { tab-width = 4, unit = "    " }
1533formatter = { command = "zig" , args = ["fmt", "--stdin"] }
1534
1535[language.debugger]
1536name = "lldb-dap"
1537transport = "stdio"
1538command = "lldb-dap"
1539
1540[[language.debugger.templates]]
1541name = "binary"
1542request = "launch"
1543completion = [ { name = "binary", completion = "filename" } ]
1544args = { console = "internalConsole", program = "{0}" }
1545
1546[[language.debugger.templates]]
1547name = "attach"
1548request = "attach"
1549completion = [ "pid" ]
1550args = { console = "internalConsole", pid = "{0}" }
1551
1552[[language.debugger.templates]]
1553name = "gdbserver attach"
1554request = "attach"
1555completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
1556args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
1557
1558[[grammar]]
1559name = "zig"
1560source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-zig", rev = "eb7d58c2dc4fbeea4745019dee8df013034ae66b" }
1561
1562[[language]]
1563name = "prolog"
1564scope = "source.prolog"
1565file-types = ["pl", "prolog"]
1566shebangs = ["swipl"]
1567comment-token = "%"
1568block-comment-tokens = { start = "/*", end = "*/" }
1569language-servers = [ "swipl" ]
1570
1571[[grammar]]
1572name = "prolog"
1573source = { git = "https://codeberg.org/foxy/tree-sitter-prolog", subpath = "grammars/prolog", rev = "d8d415f6a1cf80ca138524bcc395810b176d40fa" }
1574
1575[[language]]
1576name = "tsq"
1577scope = "source.tsq"
1578file-types = [{ glob = "queries/*.scm" }, { glob = "injections.scm" },  { glob = "highlights.scm" },  { glob = "indents.scm" },  { glob = "textobjects.scm" },  { glob = "locals.scm" },  { glob = "tags.scm" }]
1579comment-token = ";"
1580injection-regex = "tsq"
1581language-servers = ["ts_query_ls"]
1582grammar = "query"
1583indent = { tab-width = 2, unit = "  " }
1584
1585[language.auto-pairs]
1586'(' = ')'
1587'[' = ']'
1588'"' = '"'
1589
1590[[grammar]]
1591name = "query"
1592source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-query", rev = "a6674e279b14958625d7a530cabe06119c7a1532" }
1593
1594[[language]]
1595name = "cmake"
1596scope = "source.cmake"
1597file-types = ["cmake", { glob = "CMakeLists.txt" }]
1598comment-token = "#"
1599block-comment-tokens = { start = "#[[", end = "]]" }
1600indent = { tab-width = 2, unit = "  " }
1601language-servers = ["neocmakelsp", "cmake-language-server"]
1602injection-regex = "cmake"
1603
1604[[grammar]]
1605name = "cmake"
1606source = { git = "https://github.com/uyha/tree-sitter-cmake", rev = "6e51463ef3052dd3b328322c22172eda093727ad" }
1607
1608[[language]]
1609name = "make"
1610scope = "source.make"
1611file-types = [{ glob = "Makefile" }, { glob = "makefile" }, "make", "mk", "mak", {glob = "GNUmakefile" }, { glob = "OCamlMakefile" }]
1612shebangs = ["make", "gmake"]
1613injection-regex = "(make|makefile|Makefile|mk)"
1614comment-token = "#"
1615indent = { tab-width = 4, unit = "\t" }
1616
1617[[grammar]]
1618name = "make"
1619source = { git = "https://github.com/alemuller/tree-sitter-make", rev = "a4b9187417d6be349ee5fd4b6e77b4172c6827dd" }
1620
1621[[language]]
1622name = "glsl"
1623scope = "source.glsl"
1624file-types = ["glsl", "vert", "tesc", "tese", "geom", "frag", "comp" ]
1625comment-token = "//"
1626block-comment-tokens = { start = "/*", end = "*/" }
1627indent = { tab-width = 4, unit = "    " }
1628language-servers = [ "glsl_analyzer" ]
1629injection-regex = "glsl"
1630
1631[[grammar]]
1632name = "glsl"
1633source = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "88408ffc5e27abcffced7010fc77396ae3636d7e" }
1634
1635[[language]]
1636name = "perl"
1637scope = "source.perl"
1638file-types = ["pl", "pm", "t", "psgi", "raku", "rakumod", "rakutest", "rakudoc", "nqp", "p6", "pl6", "pm6"]
1639shebangs = ["perl"]
1640comment-token = "#"
1641language-servers = [ "perlnavigator" ]
1642indent = { tab-width = 2, unit = "  " }
1643
1644[[grammar]]
1645name = "perl"
1646source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "72a08a496a23212f23802490ef6f4700d68cfd0e" }
1647
1648[[language]]
1649name = "pod"
1650scope = "source.pod"
1651injection-regex = "pod"
1652file-types = ["pod"]
1653
1654[[grammar]]
1655name = "pod"
1656source = { git = "https://github.com/tree-sitter-perl/tree-sitter-pod", rev = "0bf8387987c21bf2f8ed41d2575a8f22b139687f" }
1657
1658[[language]]
1659name = "racket"
1660scope = "source.racket"
1661file-types = ["rkt", "rktd", "rktl", "scrbl"]
1662shebangs = ["racket"]
1663comment-token = ";"
1664indent = { tab-width = 2, unit = "  " }
1665block-comment-tokens = { start = "#|", end = "|#" }
1666language-servers = [ "racket" ]
1667grammar = "scheme"
1668
1669[[language]]
1670name = "common-lisp"
1671scope = "source.lisp"
1672file-types = ["lisp", "asd", "cl", "l", "lsp", "ny", "podsl", "sexp"]
1673shebangs = ["lisp", "sbcl", "ccl", "clisp", "ecl"]
1674comment-token = ";"
1675indent = { tab-width = 2, unit = "  " }
1676language-servers = [ "cl-lsp" ]
1677grammar = "scheme"
1678
1679[language.auto-pairs]
1680'(' = ')'
1681'{' = '}'
1682'[' = ']'
1683'"' = '"'
1684
1685[[language]]
1686name = "comment"
1687scope = "scope.comment"
1688file-types = []
1689injection-regex = "comment"
1690
1691[[grammar]]
1692name = "comment"
1693source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "aefcc2813392eb6ffe509aa0fc8b4e9b57413ee1" }
1694
1695[[language]]
1696name = "wesl"
1697scope = "source.wesl"
1698file-types = ["wesl"]
1699comment-token = "//"
1700block-comment-tokens = { start = "/*", end = "*/" }
1701indent = { tab-width = 4, unit = "    " }
1702
1703[[grammar]]
1704name = "wesl"
1705source = { git = "https://github.com/wgsl-tooling-wg/tree-sitter-wesl", rev = "94ee6122680ef8ce2173853ca7c99f7aaeeda8ce" }
1706
1707[[language]]
1708name = "wgsl"
1709scope = "source.wgsl"
1710file-types = ["wgsl"]
1711comment-token = "//"
1712block-comment-tokens = { start = "/*", end = "*/" }
1713language-servers = [ "wgsl-analyzer" ]
1714indent = { tab-width = 4, unit = "    " }
1715
1716[[grammar]]
1717name = "wgsl"
1718source = { git = "https://github.com/szebniok/tree-sitter-wgsl", rev = "272e89ef2aeac74178edb9db4a83c1ffef80a463" }
1719
1720[[language]]
1721name = "llvm"
1722scope = "source.llvm"
1723file-types = ["ll"]
1724comment-token = ";"
1725indent = { tab-width = 2, unit = "  " }
1726injection-regex = "llvm"
1727
1728[[grammar]]
1729name = "llvm"
1730source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "c14cb839003348692158b845db9edda201374548" }
1731
1732[[language]]
1733name = "llvm-mir"
1734scope = "source.llvm_mir"
1735file-types = []
1736comment-token = ";"
1737indent = { tab-width = 2, unit = "  " }
1738injection-regex = "mir"
1739
1740[[grammar]]
1741name = "llvm-mir"
1742source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir", rev = "d166ff8c5950f80b0a476956e7a0ad2f27c12505" }
1743
1744[[language]]
1745name = "llvm-mir-yaml"
1746# TODO allow languages to point to their grammar like so:
1747#
1748#     grammar = "yaml"
1749scope = "source.yaml"
1750file-types = ["mir"]
1751comment-token = "#"
1752indent = { tab-width = 2, unit = "  " }
1753
1754[[language]]
1755name = "tablegen"
1756scope = "source.tablegen"
1757file-types = ["td"]
1758comment-token = "//"
1759block-comment-tokens = { start = "/*", end = "*/" }
1760indent = { tab-width = 2, unit = "  " }
1761injection-regex = "tablegen"
1762
1763[[grammar]]
1764name = "tablegen"
1765source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "3e9c4822ab5cdcccf4f8aa9dcd42117f736d51d9" }
1766
1767[[language]]
1768name = "mail"
1769scope = "text.mail"
1770file-types = ["eml"]
1771injection-regex = "mail|eml|email"
1772
1773[[grammar]]
1774name = "mail"
1775source = { git = "https://github.com/ficcdaf/tree-sitter-mail", rev = "8e60f38efbae1cc5f22833ae13c5500dd0f3b12f" }
1776
1777[[language]]
1778name = "markdown"
1779scope = "source.md"
1780injection-regex = "md|markdown"
1781file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }]
1782roots = [".marksman.toml"]
1783language-servers = [ "marksman", "markdown-oxide" ]
1784indent = { tab-width = 2, unit = "  " }
1785block-comment-tokens = { start = "<!--", end = "-->" }
1786
1787[[grammar]]
1788name = "markdown"
1789source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown" }
1790
1791[[language]]
1792name = "markdown-rustdoc"
1793scope = "source.markdown-rustdoc"
1794grammar = "markdown"
1795injection-regex = "markdown-rustdoc"
1796file-types = []
1797indent = { tab-width = 2, unit = "  " }
1798block-comment-tokens = { start = "<!--", end = "-->" }
1799
1800[[language]]
1801name = "markdown.inline"
1802scope = "source.markdown.inline"
1803injection-regex = "markdown\\.inline"
1804file-types = []
1805grammar = "markdown_inline"
1806
1807[[grammar]]
1808name = "markdown_inline"
1809source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown-inline" }
1810
1811[[language]]
1812name = "djot"
1813scope = "source.djot"
1814injection-regex = "dj|djot"
1815file-types = ["dj", "djot"]
1816indent = { tab-width = 2, unit = "  " }
1817block-comment-tokens = { start = "{%", end = "%}" }
1818
1819[[grammar]]
1820name = "djot"
1821source = { git = "https://github.com/treeman/tree-sitter-djot", rev = "67e6e23ba7be81a4373e0f49e21207bdc32d12a5" }
1822
1823[[language]]
1824name = "dart"
1825scope = "source.dart"
1826file-types = ["dart"]
1827roots = ["pubspec.yaml"]
1828auto-format = true
1829comment-tokens = ["//", "///"]
1830block-comment-tokens = { start = "/*", end = "*/" }
1831language-servers = [ "dart" ]
1832indent = { tab-width = 2, unit = "  " }
1833
1834[[grammar]]
1835name = "dart"
1836source = { git = "https://github.com/UserNobody14/tree-sitter-dart", rev = "e398400a0b785af3cf571f5a57eccab242f0cdf9" }
1837
1838[[language]]
1839name = "scala"
1840scope = "source.scala"
1841roots = ["build.sbt", "build.sc", "build.gradle", "build.gradle.kts", "pom.xml", ".scala-build"]
1842file-types = ["scala", "sbt", "sc"]
1843comment-token = "//"
1844block-comment-tokens = { start = "/*", end = "*/" }
1845indent = { tab-width = 2, unit = "  " }
1846language-servers = [ "metals" ]
1847
1848[[grammar]]
1849name = "scala"
1850source = { git = "https://github.com/tree-sitter/tree-sitter-scala", rev = "7891815f42dca9ed6aeb464c2edc39d479ab965c" }
1851
1852[[language]]
1853name = "dockerfile"
1854scope = "source.dockerfile"
1855injection-regex = "docker|dockerfile"
1856roots = ["Dockerfile", "Containerfile"]
1857file-types = [
1858  "Dockerfile",
1859  { glob = "Dockerfile" },
1860  { glob = "Dockerfile.*" },
1861  "dockerfile",
1862  { glob = "dockerfile" },
1863  { glob = "dockerfile.*" },
1864  "Containerfile",
1865  { glob = "Containerfile" },
1866  { glob = "Containerfile.*" },
1867  "containerfile",
1868  { glob = "containerfile" },
1869  { glob = "containerfile.*" },
1870]
1871comment-token = "#"
1872indent = { tab-width = 2, unit = "  " }
1873language-servers = [ "docker-langserver" ]
1874
1875[[grammar]]
1876name = "dockerfile"
1877source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "087daa20438a6cc01fa5e6fe6906d77c869d19fe" }
1878
1879[[language]]
1880name = "docker-compose"
1881scope = "source.yaml.docker-compose"
1882roots = ["docker-compose.yaml", "docker-compose.yml", "compose.yaml", "compose.yml"]
1883language-servers = [ "docker-compose-langserver", "yaml-language-server" ]
1884file-types = [{ glob = "docker-compose.yaml" }, { glob = "docker-compose.yml" }, { glob = "compose.yaml" }, { glob = "compose.yml" }]
1885comment-token = "#"
1886indent = { tab-width = 2, unit = "  " }
1887grammar = "yaml"
1888
1889[[language]]
1890name = "git-commit"
1891scope = "git.commitmsg"
1892file-types = [{ glob = "COMMIT_EDITMSG" }, { glob = "MERGE_MSG" }]
1893comment-token = "#"
1894indent = { tab-width = 4, unit = "    " }
1895rulers = [51, 73]
1896text-width = 72
1897grammar = "gitcommit"
1898
1899[[grammar]]
1900name = "gitcommit"
1901source = { git = "https://github.com/gbprod/tree-sitter-gitcommit", rev = "a716678c0f00645fed1e6f1d0eb221481dbd6f6d" }
1902
1903[[language]]
1904name = "git-notes"
1905scope = "git.notesmsg"
1906file-types = [{ glob = "NOTES_EDITMSG" }]
1907comment-token = "#"
1908indent = { tab-width = 4, unit = "    " }
1909rulers = [73]
1910text-width = 72
1911grammar = "gitcommit"
1912
1913[[language]]
1914name = "diff"
1915scope = "source.diff"
1916file-types = ["diff", "patch", "rej"]
1917injection-regex = "diff"
1918comment-token = "#"
1919indent = { tab-width = 2, unit = "  " }
1920
1921[[grammar]]
1922name = "diff"
1923source = { git = "https://github.com/the-mikedavis/tree-sitter-diff", rev = "fd74c78fa88a20085dbc7bbeaba066f4d1692b63" }
1924
1925[[language]]
1926name = "git-rebase"
1927scope = "source.gitrebase"
1928file-types = [{ glob = "git-rebase-todo" }]
1929injection-regex = "git-rebase"
1930comment-token = "#"
1931indent = { tab-width = 2, unit = "\t" }
1932
1933[[grammar]]
1934name = "git-rebase"
1935source = { git = "https://github.com/the-mikedavis/tree-sitter-git-rebase", rev = "d8a4207ebbc47bd78bacdf48f883db58283f9fd8" }
1936
1937[[language]]
1938name = "regex"
1939scope = "source.regex"
1940injection-regex = "regex"
1941file-types = ["regex", { glob = ".Rbuildignore" }]
1942
1943[[grammar]]
1944name = "regex"
1945source = { git = "https://github.com/tree-sitter/tree-sitter-regex", rev = "e1cfca3c79896ff79842f057ea13e529b66af636" }
1946
1947[[language]]
1948name = "git-config"
1949scope = "source.gitconfig"
1950file-types = ["gitconfig", { glob = ".gitmodules" }, { glob = ".gitconfig" }, { glob = ".git/config" }, { glob = ".config/git/config" }]
1951injection-regex = "git-config"
1952comment-token = "#"
1953indent = { tab-width = 4, unit = "\t" }
1954
1955[[grammar]]
1956name = "git-config"
1957source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config", rev = "9c2a1b7894e6d9eedfe99805b829b4ecd871375e" }
1958
1959[[language]]
1960name = "git-attributes"
1961scope = "source.gitattributes"
1962file-types = [{ glob = ".gitattributes" }, { glob = ".config/git/attributes" }]
1963injection-regex = "git-attributes"
1964comment-token = "#"
1965grammar = "gitattributes"
1966
1967[[grammar]]
1968name = "gitattributes"
1969source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes", rev = "3dd50808e3096f93dccd5e9dc7dc3dba2eb12dc4" }
1970
1971[[language]]
1972name = "git-ignore"
1973scope = "source.gitignore"
1974file-types = [{ glob = ".gitignore_global" }, { glob = "git/ignore" }, { glob = ".ignore" }, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }, { glob = ".*ignore" }, { glob = ".git-blame-ignore-revs" }]
1975injection-regex = "git-ignore"
1976comment-token = "#"
1977grammar = "gitignore"
1978
1979[[grammar]]
1980name = "gitignore"
1981source = { git = "https://github.com/shunsambongi/tree-sitter-gitignore", rev = "f4685bf11ac466dd278449bcfe5fd014e94aa504" }
1982
1983[[language]]
1984name = "graphql"
1985scope = "source.graphql"
1986injection-regex = "graphql"
1987file-types = ["gql", "graphql", "graphqls"]
1988language-servers = [ "graphql-language-service" ]
1989comment-token = "#"
1990block-comment-tokens = { start = "\"\"\"", end = "\"\"\"" }
1991indent = { tab-width = 2, unit = "  " }
1992
1993[[grammar]]
1994name = "graphql"
1995source = { git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe" }
1996
1997[[language]]
1998name = "elm"
1999scope = "source.elm"
2000injection-regex = "elm"
2001file-types = ["elm"]
2002roots = ["elm.json"]
2003auto-format = true
2004comment-token = "--"
2005block-comment-tokens = { start = "{-", end = "-}" }
2006language-servers = [ "elm-language-server" ]
2007indent = { tab-width = 4, unit = "    " }
2008
2009[[grammar]]
2010name = "elm"
2011source = { git = "https://github.com/elm-tooling/tree-sitter-elm", rev = "df4cb639c01b76bc9ac9cc66788709a6da20002c" }
2012
2013[[language]]
2014name = "iex"
2015scope = "source.iex"
2016injection-regex = "iex"
2017file-types = ["iex"]
2018comment-token = "#"
2019
2020[[grammar]]
2021name = "iex"
2022source = { git = "https://github.com/elixir-lang/tree-sitter-iex", rev = "39f20bb51f502e32058684e893c0c0b00bb2332c" }
2023
2024[[language]]
2025name = "rescript"
2026scope = "source.rescript"
2027injection-regex = "rescript"
2028file-types = ["res"]
2029roots = ["bsconfig.json"]
2030auto-format = true
2031comment-token = "//"
2032block-comment-tokens = { start = "/*", end = "*/" }
2033language-servers = [ "rescript-language-server" ]
2034indent = { tab-width = 2, unit = "  " }
2035
2036[[grammar]]
2037name = "rescript"
2038source = { git = "https://github.com/rescript-lang/tree-sitter-rescript", rev = "5e2a44a9d886b0a509f5bfd0437d33b4871fbac5" }
2039
2040[[language]]
2041name = "erlang"
2042scope = "source.erlang"
2043injection-regex = "erl(ang)?"
2044file-types = ["erl", "hrl", "app", { glob = "rebar.config" }, { glob = "rebar.lock" }, { glob = "*.app.src" }]
2045roots = ["rebar.config"]
2046shebangs = ["escript"]
2047comment-token = "%%"
2048indent = { tab-width = 4, unit = "    " }
2049language-servers = [ "erlang-ls", "elp" ]
2050
2051[[grammar]]
2052name = "erlang"
2053source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "33a3e4f1fa77a3e1a2736813f4b27c358f6c0b63" }
2054
2055[[language]]
2056name = "kotlin"
2057scope = "source.kotlin"
2058file-types = ["kt", "kts"]
2059roots = ["settings.gradle", "settings.gradle.kts"]
2060comment-token = "//"
2061block-comment-tokens = { start = "/*", end = "*/" }
2062indent = { tab-width = 4, unit = "    " }
2063language-servers = [ "kotlin-language-server" ]
2064
2065[[grammar]]
2066name = "kotlin"
2067source = { git = "https://github.com/fwcd/tree-sitter-kotlin", rev = "c4ddea359a7ff4d92360b2efcd6cfce5dc25afe6" }
2068
2069[[language]]
2070name = "hcl"
2071scope = "source.hcl"
2072injection-regex = "(hcl|tf|nomad)"
2073language-id = "terraform"
2074file-types = ["hcl", "tf", "nomad"]
2075comment-token = "#"
2076block-comment-tokens = { start = "/*", end = "*/" }
2077indent = { tab-width = 2, unit = "  " }
2078language-servers = [ "terraform-ls" ]
2079auto-format = true
2080
2081[[grammar]]
2082name = "hcl"
2083source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-hcl", rev = "9e3ec9848f28d26845ba300fd73c740459b83e9b" }
2084
2085[[language]]
2086name = "tfvars"
2087scope = "source.tfvars"
2088language-id = "terraform-vars"
2089file-types = ["tfvars"]
2090comment-token = "#"
2091block-comment-tokens = { start = "/*", end = "*/" }
2092indent = { tab-width = 2, unit = "  " }
2093language-servers = [ "terraform-ls" ]
2094auto-format = true
2095grammar = "hcl"
2096
2097[[language]]
2098name = "org"
2099scope = "source.org"
2100injection-regex = "org"
2101file-types = ["org"]
2102indent = { tab-width = 2, unit = "  " }
2103
2104[[grammar]]
2105name = "org"
2106source = { git = "https://github.com/milisims/tree-sitter-org", rev = "698bb1a34331e68f83fc24bdd1b6f97016bb30de" }
2107
2108[[language]]
2109name = "solidity"
2110scope = "source.sol"
2111injection-regex = "(sol|solidity)"
2112file-types = ["sol"]
2113comment-token = "//"
2114block-comment-tokens = { start = "/*", end = "*/" }
2115indent = { tab-width = 4, unit = "    " }
2116language-servers = [ "solc" ]
2117
2118[[grammar]]
2119name = "solidity"
2120source = { git = "https://github.com/JoranHonig/tree-sitter-solidity", rev = "f7f5251a3f5b1d04f0799b3571b12918af177fc8" }
2121
2122[[language]]
2123name = "gleam"
2124scope = "source.gleam"
2125injection-regex = "gleam"
2126file-types = ["gleam"]
2127roots = ["gleam.toml"]
2128comment-tokens = ["//", "///", "////"]
2129indent = { tab-width = 2, unit = "  " }
2130language-servers = [ "gleam" ]
2131auto-format = true
2132
2133[[grammar]]
2134name = "gleam"
2135source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "ee93c639dc82148d716919df336ad612fd33538e" }
2136
2137[[language]]
2138name = "quarto"
2139scope = "source.qmd"
2140language-id = "qmd"
2141injection-regex = "qmd"
2142file-types = ["qmd"]
2143indent = { tab-width = 2, unit = "  " }
2144grammar = "markdown"
2145block-comment-tokens = { start = "<!--", end = "-->" }
2146
2147[[language]]
2148name = "ron"
2149scope = "source.ron"
2150injection-regex = "ron"
2151file-types = ["ron"]
2152comment-token = "//"
2153block-comment-tokens = { start = "/*", end = "*/" }
2154indent = { tab-width = 4, unit = "    " }
2155
2156[[grammar]]
2157name = "ron"
2158source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-ron", rev = "78938553b93075e638035f624973083451b29055" }
2159
2160[[language]]
2161name = "robot"
2162scope = "source.robot"
2163injection-regex = "robot"
2164file-types = ["robot", "resource"]
2165comment-token = "#"
2166indent = { tab-width = 4, unit = " " }
2167language-servers = [ "robotframework_ls" ]
2168
2169[[grammar]]
2170name = "robot"
2171source = { git = "https://github.com/Hubro/tree-sitter-robot", rev = "322e4cc65754d2b3fdef4f2f8a71e0762e3d13af" }
2172
2173[[language]]
2174name = "r"
2175scope = "source.r"
2176injection-regex = "(r|R)"
2177file-types = ["r", "R", { glob = ".Rprofile" }, { glob = "Rprofile.site" }, { glob = ".RHistory" }]
2178shebangs = ["r", "R"]
2179comment-tokens = ["#", "#'"]
2180indent = { tab-width = 2, unit = "  " }
2181language-servers = [ "r" ]
2182
2183[[grammar]]
2184name = "r"
2185source = { git = "https://github.com/r-lib/tree-sitter-r", rev = "cc04302e1bff76fa02e129f332f44636813b0c3c" }
2186
2187[[language]]
2188name = "rmarkdown"
2189scope = "source.rmd"
2190language-id = "rmd"
2191injection-regex = "(r|R)md"
2192file-types = ["rmd", "Rmd"]
2193indent = { tab-width = 2, unit = "  " }
2194grammar = "markdown"
2195block-comment-tokens = { start = "<!--", end = "-->" }
2196language-servers = [ "r" ]
2197
2198[[language]]
2199name = "swift"
2200scope = "source.swift"
2201injection-regex = "swift"
2202file-types = ["swift", "swiftinterface"]
2203roots = [ "Package.swift" ]
2204comment-token = "//"
2205block-comment-tokens = { start = "/*", end = "*/" }
2206formatter = { command = "swift-format" }
2207language-servers = [ "sourcekit-lsp" ]
2208
2209[[grammar]]
2210name = "swift"
2211source = { git = "https://github.com/alex-pinkus/tree-sitter-swift", rev = "57c1c6d6ffa1c44b330182d41717e6fe37430704" }
2212
2213[[language]]
2214name = "erb"
2215scope = "text.html.erb"
2216injection-regex = "erb"
2217file-types = ["erb"]
2218block-comment-tokens = { start = "<!--", end = "-->" }
2219indent = { tab-width = 2, unit = "  " }
2220grammar = "embedded-template"
2221
2222[[language]]
2223name = "ejs"
2224scope = "text.html.ejs"
2225injection-regex = "ejs"
2226file-types = ["ejs"]
2227block-comment-tokens = { start = "<!--", end = "-->" }
2228indent = { tab-width = 2, unit = "  " }
2229grammar = "embedded-template"
2230
2231[[grammar]]
2232name = "embedded-template"
2233source = { git = "https://github.com/tree-sitter/tree-sitter-embedded-template", rev = "d21df11b0ecc6fd211dbe11278e92ef67bd17e97" }
2234
2235[[language]]
2236name = "eex"
2237scope = "source.eex"
2238injection-regex = "eex"
2239file-types = ["eex"]
2240roots = ["mix.exs", "mix.lock"]
2241block-comment-tokens = { start = "<!--", end = "-->" }
2242indent = { tab-width = 2, unit = "  " }
2243
2244[[grammar]]
2245name = "eex"
2246source = { git = "https://github.com/connorlay/tree-sitter-eex", rev = "f742f2fe327463335e8671a87c0b9b396905d1d1" }
2247
2248[[language]]
2249name = "heex"
2250scope = "source.heex"
2251injection-regex = "heex"
2252file-types = ["heex"]
2253roots = ["mix.exs", "mix.lock"]
2254block-comment-tokens = { start = "<!--", end = "-->" }
2255indent = { tab-width = 2, unit = "  " }
2256language-servers = [ "elixir-ls" ]
2257
2258[[grammar]]
2259name = "heex"
2260source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "f6b83f305a755cd49cf5f6a66b2b789be93dc7b9" }
2261
2262[[language]]
2263name = "sql"
2264scope = "source.sql"
2265file-types = ["sql", "dsql"]
2266comment-token = "--"
2267block-comment-tokens = { start = "/*", end = "*/" }
2268indent = { tab-width = 4, unit = "    " }
2269injection-regex = "sql"
2270
2271[[grammar]]
2272name = "sql"
2273source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "b9d109588d5b5ed986c857464830c2f0bef53f18" }
2274
2275[[language]]
2276name = "gdscript"
2277scope = "source.gdscript"
2278injection-regex = "gdscript"
2279file-types = ["gd"]
2280shebangs = []
2281roots = ["project.godot"]
2282auto-format = true
2283formatter = { command = "gdformat", args = ["-"] }
2284comment-tokens = ["#", "##"]
2285indent = { tab-width = 4, unit = "\t" }
2286
2287[[grammar]]
2288name = "gdscript"
2289source = { git = "https://github.com/PrestonKnopp/tree-sitter-gdscript", rev = "1f1e782fe2600f50ae57b53876505b8282388d77" }
2290
2291[[language]]
2292name = "godot-resource"
2293scope = "source.tscn"
2294injection-regex = "godot"
2295file-types = ["tscn", "tres", "godot", "gdextension"]
2296shebangs = []
2297roots = ["project.godot"]
2298auto-format = false
2299comment-token = ";"
2300indent = { tab-width = 4, unit = "\t" }
2301
2302[[grammar]]
2303name = "godot-resource"
2304source = { git = "https://github.com/PrestonKnopp/tree-sitter-godot-resource", rev = "2ffb90de47417018651fc3b970e5f6b67214dc9d" }
2305
2306[[language]]
2307name = "nu"
2308scope = "source.nu"
2309injection-regex = "nu"
2310file-types = ["nu", "nuon"]
2311shebangs = ["nu"]
2312comment-token = "#"
2313indent = { tab-width = 2, unit = "  " }
2314language-servers = [ "nu-lsp" ]
2315
2316[[grammar]]
2317name = "nu"
2318source = { git = "https://github.com/nushell/tree-sitter-nu", rev = "358c4f509eb97f0148bbd25ad36acc729819b9c1" }
2319
2320[[language]]
2321name = "vala"
2322scope = "source.vala"
2323injection-regex = "vala"
2324file-types = ["vala", "vapi"]
2325comment-token = "//"
2326block-comment-tokens = { start = "/*", end = "*/" }
2327indent = { tab-width = 2, unit = "  " }
2328language-servers = [ "vala-language-server" ]
2329
2330[[grammar]]
2331name = "vala"
2332source = { git = "https://github.com/vala-lang/tree-sitter-vala", rev = "c9eea93ba2ec4ec1485392db11945819779745b3" }
2333
2334[[language]]
2335name = "hare"
2336scope = "source.hare"
2337injection-regex = "hare"
2338file-types = ["ha"]
2339comment-token = "//"
2340indent = { tab-width = 8, unit = "\t" }
2341
2342[[grammar]]
2343name = "hare"
2344source = { git = "https://git.sr.ht/~ecs/tree-sitter-hare", rev = "07035a248943575444aa0b893ffe306e1444c0ab" }
2345
2346[[language]]
2347name = "devicetree"
2348scope = "source.devicetree"
2349injection-regex = "(dtsi?|devicetree|fdt)"
2350file-types = ["dts", "dtsi"]
2351comment-token = "//"
2352block-comment-tokens = { start = "/*", end = "*/" }
2353indent = { tab-width = 4, unit = "\t" }
2354language-servers = [ "dts-lsp" ]
2355
2356[[grammar]]
2357name = "devicetree"
2358source = { git = "https://github.com/joelspadin/tree-sitter-devicetree", rev = "877adbfa0174d25894c40fa75ad52d4515a36368" }
2359
2360[[language]]
2361name = "cairo"
2362scope = "source.cairo"
2363injection-regex = "cairo"
2364file-types = ["cairo"]
2365comment-token = "//"
2366indent = { tab-width = 4, unit = "    " }
2367# auto-format = true
2368language-servers = [ "cairo-language-server" ]
2369
2370[[grammar]]
2371name = "cairo"
2372source = { git = "https://github.com/starkware-libs/tree-sitter-cairo", rev = "4c6a25680546761b80a710ead1dd34e76c203125" }
2373
2374[[language]]
2375name = "cpon"
2376scope = "scope.cpon"
2377injection-regex = "cpon"
2378file-types = ["cpon", "cp"]
2379auto-format = true
2380comment-token = "//"
2381indent = { tab-width = 2, unit = "  " }
2382
2383[[grammar]]
2384name = "cpon"
2385source = { git = "https://github.com/fvacek/tree-sitter-cpon", rev = "0d01fcdae5a53191df5b1349f9bce053833270e7" }
2386
2387[[language]]
2388name = "odin"
2389auto-format = true
2390scope = "source.odin"
2391file-types = ["odin"]
2392roots = ["ols.json", "main.odin"]
2393language-servers = [ "ols" ]
2394comment-token = "//"
2395block-comment-tokens = { start = "/*", end = "*/" }
2396indent = { tab-width = 4, unit = "\t" }
2397formatter = { command = "odinfmt", args = [ "-stdin" ] }
2398
2399[language.debugger]
2400name = "lldb-dap"
2401transport = "stdio"
2402command = "lldb-dap"
2403
2404[[language.debugger.templates]]
2405name = "binary"
2406request = "launch"
2407completion = [ { name = "binary", completion = "filename" } ]
2408args = { console = "internalConsole", program = "{0}" }
2409
2410[[language.debugger.templates]]
2411name = "attach"
2412request = "attach"
2413completion = [ "pid" ]
2414args = { console = "internalConsole", pid = "{0}" }
2415
2416[[language.debugger.templates]]
2417name = "gdbserver attach"
2418request = "attach"
2419completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
2420args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
2421
2422[[grammar]]
2423name = "odin"
2424source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-odin", rev = "6c6b07e354a52f8f2a9bc776cbc262a74e74fd26" }
2425
2426[[language]]
2427name = "meson"
2428scope = "source.meson"
2429injection-regex = "meson"
2430file-types = [{ glob = "meson.build" }, { glob = "meson.options" }, { glob = "meson_options.txt" }]
2431comment-token = "#"
2432indent = { tab-width = 2, unit = "  " }
2433language-servers = ["mesonlsp"]
2434
2435[[grammar]]
2436name = "meson"
2437source = { git = "https://github.com/staysail/tree-sitter-meson", rev = "32a83e8f200c347232fa795636cfe60dde22957a" }
2438
2439[[language]]
2440name = "sshclientconfig"
2441scope = "source.sshclientconfig"
2442file-types = [{ glob = ".ssh/config" }, { glob = "/etc/ssh/ssh_config" }, { glob = "ssh_config.d/*.conf" } ]
2443comment-token = "#"
2444
2445[[grammar]]
2446name = "sshclientconfig"
2447source = { git = "https://github.com/metio/tree-sitter-ssh-client-config", rev = "e45c6d5c71657344d4ecaf87dafae7736f776c57" }
2448
2449[[language]]
2450name = "scheme"
2451scope = "source.scheme"
2452injection-regex = "scheme"
2453file-types = ["ss", "scm", "sld"]
2454shebangs = ["scheme", "guile", "chicken"]
2455comment-token = ";"
2456indent = { tab-width = 2, unit = "  " }
2457
2458[language.auto-pairs]
2459'(' = ')'
2460'{' = '}'
2461'[' = ']'
2462'"' = '"'
2463
2464[[grammar]]
2465name = "scheme"
2466source = { git = "https://github.com/6cdh/tree-sitter-scheme", rev = "af3af6c9356b936f8a515a1e449c32e804c2b1a8" }
2467
2468[[language]]
2469name = "v"
2470scope = "source.v"
2471file-types = ["v", "vv", "vsh"]
2472shebangs = ["v run"]
2473roots = ["v.mod"]
2474language-servers = [ "vlang-language-server" ]
2475auto-format = true
2476comment-token = "//"
2477block-comment-tokens = { start = "/*", end = "*/" }
2478indent = { tab-width = 4, unit = "\t" }
2479
2480[[grammar]]
2481name = "v"
2482source = {git = "https://github.com/vlang/v-analyzer", subpath = "tree_sitter_v", rev = "59a8889d84a293d7c0366d14c8dbb0eec24fe889"}
2483
2484[[language]]
2485name = "verilog"
2486scope = "source.verilog"
2487file-types = ["v", "vh", "sv", "svh"]
2488comment-token = "//"
2489block-comment-tokens = { start = "/*", end = "*/" }
2490language-servers = [ "svlangserver" ]
2491indent = { tab-width = 2, unit = "  " }
2492injection-regex = "verilog"
2493
2494[[grammar]]
2495name = "verilog"
2496source = { git = "https://github.com/tree-sitter/tree-sitter-verilog", rev = "4457145e795b363f072463e697dfe2f6973c9a52" }
2497
2498[[language]]
2499name = "edoc"
2500scope = "source.edoc"
2501file-types = ["edoc", "edoc.in"]
2502injection-regex = "edoc"
2503indent = { tab-width = 4, unit = "    " }
2504
2505[[grammar]]
2506name = "edoc"
2507source = { git = "https://github.com/the-mikedavis/tree-sitter-edoc", rev = "74774af7b45dd9cefbf9510328fc6ff2374afc50" }
2508
2509[[language]]
2510name = "jsdoc"
2511scope = "source.jsdoc"
2512injection-regex = "jsdoc"
2513file-types = ["jsdoc"]
2514indent = { tab-width = 2, unit = "  " }
2515
2516[[grammar]]
2517name = "jsdoc"
2518source = { git = "https://github.com/tree-sitter/tree-sitter-jsdoc", rev = "189a6a4829beb9cdbe837260653b4a3dfb0cc3db" }
2519
2520[[language]]
2521name = "openscad"
2522scope = "source.openscad"
2523injection-regex = "openscad"
2524file-types = ["scad"]
2525comment-token = "//"
2526block-comment-tokens = { start = "/*", end = "*/" }
2527language-servers = [ "openscad-lsp" ]
2528indent = { tab-width = 2, unit = "\t" }
2529
2530[[grammar]]
2531name = "openscad"
2532source = { git = "https://github.com/openscad/tree-sitter-openscad", rev = "acc196e969a169cadd8b7f8d9f81ff2d30e3e253" }
2533
2534[[language]]
2535name = "prisma"
2536scope = "source.prisma"
2537injection-regex = "prisma"
2538file-types = ["prisma"]
2539roots = ["package.json"]
2540comment-token = "//"
2541language-servers = [ "prisma-language-server" ]
2542indent = { tab-width = 2, unit = "  " }
2543
2544[[grammar]]
2545name = "prisma"
2546source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "eca2596a355b1a9952b4f80f8f9caed300a272b5" }
2547
2548[[language]]
2549name = "clojure"
2550scope = "source.clojure"
2551injection-regex = "(clojure|clj|edn|boot)"
2552file-types = ["clj", "cljs", "cljc", "clje", "cljr", "cljx", "edn", "boot"]
2553roots = ["project.clj", "build.boot", "deps.edn", "shadow-cljs.edn"]
2554comment-token = ";"
2555language-servers = [ "clojure-lsp" ]
2556indent = { tab-width = 2, unit = "  " }
2557
2558[[grammar]]
2559name = "clojure"
2560source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569ae332ca365da623712ae1f50f84daeae2" }
2561
2562[[language]]
2563name = "starlark"
2564scope = "source.starlark"
2565injection-regex = "(starlark|bzl|bazel|buck)"
2566file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUCK" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }, { glob = "WORKSPACE.bzlmod" }]
2567comment-token = "#"
2568indent = { tab-width = 4, unit = "    " }
2569language-servers = [ "starpls" ]
2570grammar = "python"
2571
2572[[language]]
2573name = "elvish"
2574scope = "source.elvish"
2575shebangs = ["elvish"]
2576file-types = ["elv"]
2577comment-token = "#"
2578indent = { tab-width = 2, unit = "  " }
2579language-servers = [ "elvish" ]
2580grammar = "elvish"
2581
2582[[grammar]]
2583name = "elvish"
2584source = { git = "https://github.com/ckafi/tree-sitter-elvish", rev = "e50787cadd3bc54f6d9c0704493a79078bb8a4e5" }
2585
2586[[language]]
2587name = "idris"
2588scope = "source.idr"
2589injection-regex = "idr"
2590file-types = ["idr"]
2591shebangs = []
2592comment-token = "--"
2593block-comment-tokens = { start = "{-", end = "-}" }
2594indent = { tab-width = 2, unit = "  " }
2595language-servers = [ "idris2-lsp" ]
2596
2597[[language]]
2598name = "fortran"
2599scope = "source.fortran"
2600injection-regex = "fortran"
2601file-types = ["f", "for", "f90", "f95", "f03"]
2602roots = ["fpm.toml"]
2603comment-token = "!"
2604indent = { tab-width = 4, unit = "    "}
2605language-servers = [ "fortls" ]
2606
2607[[grammar]]
2608name = "fortran"
2609source = { git = "https://github.com/stadelmanma/tree-sitter-fortran", rev = "f0f2f100952a353e64e26b0fa710b4c296d7af13" }
2610
2611[[language]]
2612name = "ungrammar"
2613scope = "source.ungrammar"
2614injection-regex = "ungrammar"
2615file-types = ["ungram", "ungrammar"]
2616comment-token = "//"
2617indent = { tab-width = 2, unit = "  " }
2618
2619[[grammar]]
2620name = "ungrammar"
2621source = { git = "https://github.com/Philipp-M/tree-sitter-ungrammar", rev = "a7e104629cff5a8b7367187610631e8f5eb7c6ea" }
2622
2623[[language]]
2624name = "dot"
2625scope = "source.dot"
2626injection-regex = "dot"
2627file-types = ["dot"]
2628comment-token = "//"
2629block-comment-tokens = { start = "/*", end = "*/" }
2630indent = { tab-width = 4, unit = "    " }
2631language-servers = [ "dot-language-server" ]
2632
2633[[grammar]]
2634name = "dot"
2635source = { git = "https://github.com/rydesun/tree-sitter-dot", rev = "917230743aa10f45a408fea2ddb54bbbf5fbe7b7" }
2636
2637[[language]]
2638name = "cue"
2639scope = "source.cue"
2640injection-regex = "cue"
2641file-types = ["cue"]
2642roots = ["cue.mod"]
2643auto-format = true
2644comment-token = "//"
2645language-servers = [ "cuelsp" ]
2646indent = { tab-width = 4, unit = "\t" }
2647formatter = { command = "cue", args = ["fmt", "-"] }
2648
2649[[grammar]]
2650name = "cue"
2651source = { git = "https://github.com/eonpatapon/tree-sitter-cue", rev = "8a5f273bfa281c66354da562f2307c2d394b6c81" }
2652
2653[[language]]
2654name = "slang"
2655scope = "source.lang"
2656injection-regex = "slang"
2657file-types = ["slang"]
2658comment-token = "//"
2659block-comment-tokens = { start = "/*", end = "*/" }
2660language-servers = [ "slangd" ]
2661indent = { tab-width = 4, unit = "  " }
2662
2663[[grammar]]
2664name = "slang"
2665source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-slang", rev = "327b1b821c255867a4fb724c8eee48887e3d014b" }
2666
2667[[language]]
2668name = "slint"
2669scope = "source.slint"
2670injection-regex = "slint"
2671file-types = ["slint"]
2672comment-token = "//"
2673block-comment-tokens = { start = "/*", end = "*/" }
2674indent = { tab-width = 4, unit = "    " }
2675language-servers = [ "slint-lsp" ]
2676
2677[[grammar]]
2678name = "slint"
2679source = { git = "https://github.com/slint-ui/tree-sitter-slint", rev = "f11da7e62051ba8b9d4faa299c26de8aeedfc1cd" }
2680
2681[[language]]
2682name = "task"
2683scope = "source.task"
2684injection-regex = "task"
2685file-types = ["task"]
2686comment-token = "#"
2687indent = { tab-width = 2, unit = "  " }
2688
2689[[grammar]]
2690name = "task"
2691source = { git = "https://github.com/alexanderbrevig/tree-sitter-task", rev = "f2cb435c5dbf3ee19493e224485d977cb2d36d8b" }
2692
2693[[language]]
2694name = "xit"
2695scope = "source.xit"
2696injection-regex = "xit"
2697file-types = ["xit"]
2698indent = { tab-width = 4, unit = "    " }
2699
2700[[grammar]]
2701name = "xit"
2702source = { git = "https://github.com/synaptiko/tree-sitter-xit", rev = "7d7902456061bc2ad21c64c44054f67b5515734c" }
2703
2704[[language]]
2705name = "esdl"
2706scope = "source.esdl"
2707injection-regex = "esdl"
2708file-types = ["esdl"]
2709comment-token = "#"
2710indent = { tab-width = 2, unit = "  " }
2711roots = ["edgedb.toml"]
2712
2713[[grammar]]
2714name ="esdl"
2715source = { git = "https://github.com/greym0uth/tree-sitter-esdl", rev = "df83acc8cacd0cfb139eecee0e718dc32c4f92e2" }
2716
2717[[language]]
2718name = "pascal"
2719scope = "source.pascal"
2720injection-regex = "pascal"
2721file-types = ["pas", "pp", "inc", "lpr", "lfm"]
2722comment-token = "//"
2723block-comment-tokens = { start = "{", end = "}" }
2724indent = { tab-width = 2, unit = "  " }
2725language-servers = [ "pasls" ]
2726
2727[[grammar]]
2728name = "pascal"
2729source = { git = "https://github.com/Isopod/tree-sitter-pascal", rev = "2fd40f477d3e2794af152618ccfac8d92eb72a66" }
2730
2731[[language]]
2732name = "sml"
2733scope = "source.sml"
2734injection-regex = "sml"
2735file-types = ["sml"]
2736block-comment-tokens = { start = "(*", end = "*)" }
2737
2738[language.auto-pairs]
2739'(' = ')'
2740'{' = '}'
2741'[' = ']'
2742'"' = '"'
2743
2744[[grammar]]
2745name = "sml"
2746source = { git = "https://github.com/Giorbo/tree-sitter-sml", rev = "bd4055d5554614520d4a0706b34dc0c317c6b608" }
2747
2748[[language]]
2749name = "jsonnet"
2750scope = "source.jsonnet"
2751file-types = ["libsonnet", "jsonnet"]
2752roots = ["jsonnetfile.json"]
2753comment-token = "//"
2754block-comment-tokens = { start = "/*", end = "*/" }
2755indent = { tab-width = 2, unit = "  " }
2756language-servers = [ "jsonnet-language-server" ]
2757
2758[[grammar]]
2759name = "jsonnet"
2760source = { git = "https://github.com/sourcegraph/tree-sitter-jsonnet", rev = "0475a5017ad7dc84845d1d33187f2321abcb261d" }
2761
2762[[language]]
2763name = "ada"
2764scope = "source.ada"
2765injection-regex = "ada"
2766file-types = ["adb", "ads"]
2767roots = ["alire.toml"]
2768comment-token = "--"
2769indent = { tab-width = 3, unit = "   " }
2770language-servers = ["ada-language-server"]
2771
2772
2773[[grammar]]
2774name = "ada"
2775source = { git = "https://github.com/briot/tree-sitter-ada", rev = "ba0894efa03beb70780156b91e28c716b7a4764d" }
2776
2777[[language]]
2778name = "astro"
2779scope = "source.astro"
2780injection-regex = "astro"
2781file-types = ["astro"]
2782block-comment-tokens = { start = "<!--", end = "-->" }
2783indent = { tab-width = 2, unit = "  " }
2784language-servers = [ "astro-ls" ]
2785
2786[[grammar]]
2787name = "astro"
2788source = { git = "https://github.com/virchau13/tree-sitter-astro", rev = "947e93089e60c66e681eba22283f4037841451e7" }
2789
2790[[language]]
2791name = "bass"
2792scope = "source.bass"
2793injection-regex = "bass"
2794file-types = ["bass"]
2795comment-token = ";"
2796indent = { tab-width = 2, unit = "  " }
2797language-servers = [ "bass" ]
2798
2799[[grammar]]
2800name = "bass"
2801source = { git = "https://github.com/vito/tree-sitter-bass", rev = "501133e260d768ed4e1fd7374912ed5c86d6fd90" }
2802
2803[[language]]
2804name = "wat"
2805scope = "source.wat"
2806comment-token = ";;"
2807block-comment-tokens = { start = "(;", end = ";)" }
2808file-types = ["wat"]
2809language-servers = ["wasm-language-tools"]
2810
2811[[grammar]]
2812name = "wat"
2813source = { git = "https://github.com/wasm-lsp/tree-sitter-wasm", rev = "2ca28a9f9d709847bf7a3de0942a84e912f59088", subpath = "wat" }
2814
2815[[language]]
2816name = "wast"
2817scope = "source.wast"
2818comment-token = ";;"
2819block-comment-tokens = { start = "(;", end = ";)" }
2820file-types = ["wast"]
2821
2822[[grammar]]
2823name = "wast"
2824source = { git = "https://github.com/wasm-lsp/tree-sitter-wasm", rev = "2ca28a9f9d709847bf7a3de0942a84e912f59088", subpath = "wast" }
2825
2826[[language]]
2827name = "d"
2828scope = "source.d"
2829file-types = [ "d", "dd" ]
2830comment-token = "//"
2831block-comment-tokens = { start = "/*", end = "*/" }
2832injection-regex = "d"
2833indent = { tab-width = 4, unit = "    "}
2834language-servers = [ "serve-d" ]
2835formatter = { command = "dfmt" }
2836
2837[[grammar]]
2838name = "d"
2839source = { git = "https://github.com/gdamore/tree-sitter-d", rev = "5566f8ce8fc24186fad06170bbb3c8d97c935d74" }
2840
2841[[language]]
2842name = "vhs"
2843scope = "source.vhs"
2844file-types = ["tape"]
2845comment-token = "#"
2846indent = { tab-width = 2, unit = "  " }
2847grammar = "vhs"
2848
2849[[grammar]]
2850name = "vhs"
2851source = { git = "https://github.com/charmbracelet/tree-sitter-vhs", rev = "9534865e614c95eb9418e5e73f061c32fa4d9540" }
2852
2853[[language]]
2854name = "kdl"
2855scope = "source.kdl"
2856file-types = ["kdl"]
2857comment-token = "//"
2858block-comment-tokens = { start = "/*", end = "*/" }
2859injection-regex = "kdl"
2860formatter = { command = "kdlfmt", args = ["format", "-"] }
2861
2862[[grammar]]
2863name = "kdl"
2864source = { git = "https://github.com/amaanq/tree-sitter-kdl", rev = "3ca569b9f9af43593c24f9e7a21f02f43a13bb88" }
2865
2866[[language]]
2867name = "xml"
2868scope = "source.xml"
2869injection-regex = "xml"
2870file-types = [
2871  "xml",
2872  "mobileconfig",
2873  "plist",
2874  "xib",
2875  "storyboard",
2876  "svg",
2877  "xsd",
2878  "gml",
2879  "xaml",
2880  "gir",
2881  "rss",
2882  "atom",
2883  "opml",
2884  "policy",
2885  "ascx",
2886  "axml",
2887  "axaml",
2888  "bpmn",
2889  "cpt",
2890  "csl",
2891  "csproj.user",
2892  "dita",
2893  "ditamap",
2894  "dtml",
2895  "fxml",
2896  "iml",
2897  "isml",
2898  "jmx",
2899  "launch",
2900  "menu",
2901  "mxml",
2902  "nuspec",
2903  "osc",
2904  "osm",
2905  "pt",
2906  "publishsettings",
2907  "pubxml",
2908  "pubxml.user",
2909  "rbxlx",
2910  "rbxmx",
2911  "rng",
2912  "shproj",
2913  "tld",
2914  { glob = "*.tm[Tt]heme" },
2915  "tmx",
2916  "vbproj.user",
2917  "vcxproj",
2918  "vcxproj.filters",
2919  "wsdl",
2920  "wxi",
2921  "wxs",
2922  "xbl",
2923  "xlf",
2924  "xliff",
2925  "xpdl",
2926  "xul",
2927  "xoml",
2928  "musicxml",
2929  "glif",
2930  "ui",
2931  "sublime-snippet",
2932  "xsl",
2933  "mpd",
2934  "smil"
2935]
2936block-comment-tokens = { start = "<!--", end = "-->" }
2937indent = { tab-width = 2, unit = "  " }
2938
2939[language.auto-pairs]
2940'(' = ')'
2941'{' = '}'
2942'[' = ']'
2943'"' = '"'
2944"'" = "'"
2945"<" = ">"
2946
2947[[grammar]]
2948name = "xml"
2949source = { git = "https://github.com/RenjiSann/tree-sitter-xml", rev = "48a7c2b6fb9d515577e115e6788937e837815651" }
2950
2951
2952[[language]]
2953name = "dtd"
2954scope = "source.dtd"
2955injection-regex = "dtd"
2956file-types = ["dtd", "ent"]
2957indent = {tab-width = 2, unit = "  "}
2958block-comment-tokens = { start = "<!--", end = "-->" }
2959
2960[language.auto-pairs]
2961'(' = ')'
2962'[' = ']'
2963'"' = '"'
2964"'" = "'"
2965'<' = '>'
2966
2967[[grammar]]
2968name = "dtd"
2969source = { git = "https://github.com/KMikeeU/tree-sitter-dtd", rev = "6116becb02a6b8e9588ef73d300a9ba4622e156f"}
2970
2971[[language]]
2972name = "wit"
2973scope = "source.wit"
2974injection-regex = "wit"
2975file-types = ["wit"]
2976comment-token = "//"
2977block-comment-tokens = { start = "/*", end = "*/" }
2978indent = { tab-width = 2, unit = "  " }
2979
2980[language.auto-pairs]
2981'(' = ')'
2982'{' = '}'
2983'[' = ']'
2984'"' = '"'
2985"'" = "'"
2986"<" = ">"
2987
2988[[grammar]]
2989name = "wit"
2990source = { git = "https://github.com/hh9527/tree-sitter-wit", rev = "c917790ab9aec50c5fd664cbfad8dd45110cfff3" }
2991
2992[[language]]
2993name = "env"
2994scope = "source.env"
2995file-types = [{ glob = ".env" }, { glob = ".env.*" }, { glob = ".envrc" }, { glob = ".envrc.*" }]
2996injection-regex = "env"
2997comment-token = "#"
2998indent = { tab-width = 4, unit = "\t" }
2999grammar = "bash"
3000
3001[[language]]
3002name = "systemd"
3003scope = "source.ini"
3004file-types = [
3005  # Systemd unit files
3006  "service",
3007  "automount",
3008  "device",
3009  "mount",
3010  "nspawn",
3011  "path",
3012  "scope",
3013  "slice",
3014  "socket",
3015  "swap",
3016  "target",
3017  "timer",
3018  { glob = "systemd/**/*.conf" },
3019]
3020injection-regex = "systemd"
3021comment-token = "#"
3022grammar = "ini"
3023language-servers = ["systemd-lsp"]
3024
3025[[language]]
3026name = "ini"
3027scope = "source.ini"
3028file-types = [
3029  "ini",
3030  "desktop",
3031  { glob = "mimeapps.list" },
3032  # Podman quadlets
3033  "container",
3034  "volume",
3035  "kube",
3036  "network",
3037  { glob = ".editorconfig" },
3038  { glob = ".npmrc" },
3039  { glob = "hgrc" },
3040  { glob = "npmrc" },
3041  { glob = "rclone.conf" },
3042  "properties",
3043  "cfg",
3044  "directory"
3045]
3046injection-regex = "ini"
3047comment-token = "#"
3048indent = { tab-width = 4, unit = "\t" }
3049
3050[[grammar]]
3051name = "ini"
3052source = { git = "https://github.com/justinmk/tree-sitter-ini", rev = "32b31863f222bf22eb43b07d4e9be8017e36fb31" }
3053
3054[[language]]
3055name = "inko"
3056auto-format = true
3057scope = "source.inko"
3058injection-regex = "inko"
3059file-types = ["inko"]
3060roots = ["inko.pkg"]
3061comment-token = "#"
3062indent = { tab-width = 2, unit = "  " }
3063formatter = { command = "inko", args = ["fmt", "-"] }
3064
3065[[grammar]]
3066name = "inko"
3067source = { git = "https://github.com/inko-lang/tree-sitter-inko", rev = "7860637ce1b43f5f79cfb7cc3311bf3234e9479f" }
3068
3069[[language]]
3070name = "bicep"
3071scope = "source.bicep"
3072file-types = ["bicep","bicepparam"]
3073auto-format = true
3074comment-token = "//"
3075block-comment-tokens = { start = "/*", end = "*/" }
3076indent = { tab-width = 2, unit = " "}
3077language-servers = [ "bicep-langserver" ]
3078
3079[[grammar]]
3080name = "bicep"
3081source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-bicep", rev = "0092c7d1bd6bb22ce0a6f78497d50ea2b87f19c0" }
3082
3083[[language]]
3084name = "qml"
3085scope = "source.qml"
3086file-types = ["qml"]
3087language-servers = [ "qmlls" ]
3088comment-token = "//"
3089block-comment-tokens = { start = "/*", end = "*/" }
3090indent = { tab-width = 4, unit = "    " }
3091grammar = "qmljs"
3092
3093[[grammar]]
3094name = "qmljs"
3095source = { git = "https://github.com/yuja/tree-sitter-qmljs", rev = "0b2b25bcaa7d4925d5f0dda16f6a99c588a437f1" }
3096
3097[[language]]
3098name = "mermaid"
3099scope = "source.mermaid"
3100injection-regex = "mermaid"
3101file-types = ["mermaid", "mmd"]
3102comment-token = "%%"
3103indent = { tab-width = 4, unit = "    " }
3104
3105[[grammar]]
3106name = "mermaid"
3107source = { git = "https://github.com/monaqa/tree-sitter-mermaid", rev = "d787c66276e7e95899230539f556e8b83ee16f6d" }
3108
3109[[language]]
3110name = "matlab"
3111scope = "source.m"
3112file-types = ["m"]
3113comment-token = "%"
3114shebangs = ["octave-cli", "matlab"]
3115indent = { tab-width = 2, unit = "  " }
3116
3117[[grammar]]
3118name = "matlab"
3119source = { git = "https://github.com/acristoffers/tree-sitter-matlab", rev = "b0a0198b182574cd3ca0447264c83331901b9338" }
3120
3121[[language]]
3122name = "ponylang"
3123scope = "source.pony"
3124file-types = ["pony"]
3125injection-regex = "pony"
3126roots = ["corral.json", "lock.json"]
3127indent = { tab-width = 2, unit = "  " }
3128comment-token = "//"
3129block-comment-tokens = { start = "/*", end = "*/" }
3130
3131[[grammar]]
3132name = "ponylang"
3133source = { git = "https://github.com/mfelsche/tree-sitter-ponylang", rev = "ef66b151bc2604f431b5668fcec4747db4290e11" }
3134
3135[[language]]
3136name = "dhall"
3137scope = "source.dhall"
3138injection-regex = "dhall"
3139file-types = ["dhall"]
3140comment-token = "--"
3141block-comment-tokens = { start = "{-", end = "-}" }
3142indent = { tab-width = 2, unit = "  " }
3143language-servers = [ "dhall-lsp-server" ]
3144formatter = { command = "dhall" , args = ["format"] }
3145
3146[[grammar]]
3147name = "dhall"
3148source = { git = "https://github.com/jbellerb/tree-sitter-dhall", rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" }
3149
3150[[language]]
3151name = "sage"
3152scope = "source.sage"
3153file-types = ["sage"]
3154injection-regex = "sage"
3155comment-token = "#"
3156indent = { tab-width = 4, unit = "    " }
3157grammar = "python"
3158
3159[[language]]
3160name = "msbuild"
3161scope = "source.msbuild"
3162injection-regex = "msbuild"
3163file-types = ["proj", "vbproj", "csproj", "fsproj", "targets", "props"]
3164indent = { tab-width = 2, unit = "  " }
3165block-comment-tokens = { start = "<!--", end = "-->" }
3166grammar = "xml"
3167
3168[language.auto-pairs]
3169'(' = ')'
3170'{' = '}'
3171'[' = ']'
3172'"' = '"'
3173"'" = "'"
3174"<" = ">"
3175
3176[[language]]
3177name = "pem"
3178scope = "source.pem"
3179file-types = ["pem", "cert", "crt"]
3180injection-regex = "pem"
3181grammar = "pem"
3182
3183[[grammar]]
3184name = "pem"
3185source = { git = "https://github.com/mtoohey31/tree-sitter-pem", rev = "be67a4330a1aa507c7297bc322204f936ec1132c" }
3186
3187[[language]]
3188name = "passwd"
3189scope = "source.passwd"
3190file-types = [{ glob = "passwd" }]
3191
3192[[grammar]]
3193name = "passwd"
3194source = { git = "https://github.com/ath3/tree-sitter-passwd", rev = "20239395eacdc2e0923a7e5683ad3605aee7b716" }
3195
3196[[language]]
3197name = "hosts"
3198scope = "source.hosts"
3199file-types = [{ glob = "hosts" }]
3200comment-token = "#"
3201
3202[[grammar]]
3203name = "hosts"
3204source = { git = "https://github.com/ath3/tree-sitter-hosts", rev = "301b9379ce7dfc8bdbe2c2699a6887dcb73953f9" }
3205
3206[[language]]
3207name = "uxntal"
3208scope = "source.tal"
3209injection-regex = "tal"
3210file-types = ["tal"]
3211auto-format = false
3212block-comment-tokens = { start = "(", end = ")" }
3213
3214[[grammar]]
3215name = "uxntal"
3216source = { git = "https://github.com/Jummit/tree-sitter-uxntal", rev = "d68406066648cd6db4c6a2f11ec305af02079884" }
3217
3218[[language]]
3219name = "yuck"
3220scope = "source.yuck"
3221injection-regex = "yuck"
3222file-types = ["yuck"]
3223comment-token = ";"
3224indent = { tab-width = 2, unit = "  " }
3225
3226[[grammar]]
3227name = "yuck"
3228source = { git = "https://github.com/Philipp-M/tree-sitter-yuck", rev = "e3d91a3c65decdea467adebe4127b8366fa47919" }
3229
3230[[language]]
3231name = "prql"
3232scope = "source.prql"
3233injection-regex = "prql"
3234file-types = ["prql"]
3235comment-token = "#"
3236indent = { tab-width = 4, unit = "    " }
3237
3238[[grammar]]
3239name = "prql"
3240source = { git = "https://github.com/PRQL/tree-sitter-prql", rev = "09e158cd3650581c0af4c49c2e5b10c4834c8646" }
3241
3242[[language]]
3243name = "po"
3244scope = "source.po"
3245file-types = ["po", "pot"]
3246comment-token = "#"
3247
3248[[grammar]]
3249name = "po"
3250source = { git = "https://github.com/erasin/tree-sitter-po", rev = "417cee9abb2053ed26b19e7de972398f2da9b29e" }
3251
3252[[language]]
3253name = "nasm"
3254scope = "source.nasm"
3255file-types = ["asm", "S", "nasm"]
3256injection-regex = "n?asm"
3257comment-token = ";"
3258indent = { tab-width = 8, unit = "        " }
3259language-servers = ["asm-lsp"]
3260
3261[[grammar]]
3262name = "nasm"
3263source = { git = "https://github.com/naclsn/tree-sitter-nasm", rev = "570f3d7be01fffc751237f4cfcf52d04e20532d1" }
3264
3265[[language]]
3266name = "gas"
3267scope = "source.gas"
3268file-types = ["s"]
3269injection-regex = "gas"
3270comment-token = "#"
3271indent = { tab-width = 8, unit = "        " }
3272language-servers = ["asm-lsp"]
3273
3274[[grammar]]
3275name = "gas"
3276source = { git = "https://github.com/sirius94/tree-sitter-gas", rev = "60f443646b20edee3b7bf18f3a4fb91dc214259a" }
3277
3278[[language]]
3279name = "rst"
3280scope = "source.rst"
3281comment-token = ".."
3282file-types = ["rst"]
3283
3284[[grammar]]
3285name = "rst"
3286source = { git = "https://github.com/stsewd/tree-sitter-rst", rev = "25e6328872ac3a764ba8b926aea12719741103f1" }
3287
3288[[language]]
3289name = "capnp"
3290scope = "source.capnp"
3291injection-regex = "capnp"
3292file-types = ["capnp"]
3293comment-token = "#"
3294indent = { tab-width = 2, unit = "  " }
3295
3296[[grammar]]
3297name = "capnp"
3298source = { git = "https://github.com/amaanq/tree-sitter-capnp", rev = "fc6e2addf103861b9b3dffb82c543eb6b71061aa" }
3299
3300[[language]]
3301name = "smithy"
3302scope = "source.smithy"
3303injection-regex = "smithy"
3304file-types = ["smithy"]
3305roots = ["smithy-build.json"]
3306comment-token = "//"
3307indent = { tab-width = 4, unit = "    " }
3308language-servers = [ "cs" ]
3309
3310[[grammar]]
3311name = "smithy"
3312source = { git = "https://github.com/indoorvivants/tree-sitter-smithy", rev = "8327eb84d55639ffbe08c9dc82da7fff72a1ad07" }
3313
3314[[language]]
3315name = "vhdl"
3316scope = "source.vhdl"
3317file-types = ["vhd", "vhdl"]
3318comment-token = "--"
3319language-servers = [ "vhdl_ls" ]
3320indent = { tab-width = 2, unit = "  " }
3321injection-regex = "vhdl"
3322
3323[[grammar]]
3324name = "vhdl"
3325source = { git = "https://github.com/jpt13653903/tree-sitter-vhdl", rev = "32d3e3daa745bf9f1665676f323be968444619e1" }
3326
3327[[language]]
3328name = "rego"
3329scope = "source.rego"
3330injection-regex = "rego"
3331file-types = ["rego"]
3332auto-format = true
3333comment-token = "#"
3334language-servers = [ "regols" ]
3335grammar = "rego"
3336
3337[[grammar]]
3338name = "rego"
3339source = { git = "https://github.com/FallenAngel97/tree-sitter-rego", rev = "9ac75e71b2d791e0aadeef68098319d86a2a14cf" }
3340
3341[[language]]
3342name = "nim"
3343scope = "source.nim"
3344injection-regex = "nim"
3345file-types = ["nim", "nims", "nimble"]
3346shebangs = []
3347comment-token = "#"
3348block-comment-tokens = { start = "#[", end = "]#" }
3349indent = { tab-width = 2, unit = "  " }
3350language-servers = [ "nimlangserver" ]
3351
3352[language.auto-pairs]
3353'(' = ')'
3354'[' = ']'
3355'"' = '"'
3356"'" = "'"
3357'{' = '}'
3358
3359[[grammar]]
3360name = "nim"
3361source = { git = "https://github.com/alaviss/tree-sitter-nim", rev = "c5f0ce3b65222f5dbb1a12f9fe894524881ad590" }
3362
3363[[language]]
3364name = "cabal"
3365scope = "source.cabal"
3366file-types = [ "cabal" ]
3367roots = ["cabal.project", "Setup.hs"]
3368indent = { tab-width = 2, unit = "  " }
3369comment-token = "--"
3370language-servers = [ "haskell-language-server" ]
3371
3372[[language]]
3373name = "hurl"
3374scope = "source.hurl"
3375injection-regex = "hurl"
3376file-types = ["hurl"]
3377comment-token = "#"
3378formatter = { command = "hurlfmt" }
3379indent = { tab-width = 2, unit = "  " }
3380
3381[[grammar]]
3382name = "hurl"
3383source = { git = "https://github.com/pfeiferj/tree-sitter-hurl", rev = "cd1a0ada92cc73dd0f4d7eedc162be4ded758591" }
3384
3385[[language]]
3386name = "markdoc"
3387scope = "text.markdoc"
3388block-comment-tokens = { start = "<!--", end = "-->" }
3389file-types = ["mdoc"]
3390language-servers = [ "markdoc-ls" ]
3391
3392[[grammar]]
3393name = "markdoc"
3394source = { git = "https://github.com/markdoc-extra/tree-sitter-markdoc", rev = "5ffe71b29e8a3f94823913ea9cea51fcfa7e3bf8" }
3395
3396[[language]]
3397name = "opencl"
3398scope = "source.cl"
3399injection-regex = "(cl|opencl)"
3400file-types = ["cl"]
3401comment-token = "//"
3402language-servers = [ "clangd" ]
3403
3404[[grammar]]
3405name = "opencl"
3406source = { git = "https://github.com/lefp/tree-sitter-opencl", rev = "8e1d24a57066b3cd1bb9685bbc1ca9de5c1b78fb" }
3407
3408[[language]]
3409name = "just"
3410scope = "source.just"
3411file-types = ["just", { glob = "justfile" }, { glob = "Justfile" }, { glob = ".justfile" }, { glob = ".Justfile" }]
3412injection-regex = "just"
3413comment-token = "#"
3414indent = { tab-width = 4, unit = "    " }
3415language-servers = ["just-lsp"]
3416# auto-format = true
3417# formatter = { command = "just", args = ["--dump"] } # Please see: https://github.com/helix-editor/helix/issues/9703
3418
3419[[grammar]]
3420name = "just"
3421source = { git = "https://github.com/poliorcetics/tree-sitter-just", rev = "8d03cfdd7ab89ff76d935827de1b93450fa0ec0a" }
3422
3423[[language]]
3424name = "gn"
3425scope = "source.gn"
3426injection-regex = "gn"
3427file-types = ["gn", "gni"]
3428roots = []
3429comment-token = "#"
3430indent = { tab-width = 2, unit = "  " }
3431formatter = { command = "gn", args = ["format", "--stdin"] }
3432
3433[[grammar]]
3434name = "gn"
3435source = { git = "https://github.com/willcassella/tree-sitter-gn", rev = "e18d6e36a79b20dafb58f19d407bd38b0e60260e" }
3436
3437[[language]]
3438name = "blueprint"
3439scope = "source.blueprint"
3440injection-regex = "blueprint"
3441file-types = ["blp"]
3442comment-token = "//"
3443block-comment-tokens = { start = "/*", end = "*/" }
3444language-servers = [ "blueprint-compiler" ]
3445indent = { tab-width = 4, unit = "    " }
3446
3447[[grammar]]
3448name = "blueprint"
3449source = { git = "https://gitlab.com/gabmus/tree-sitter-blueprint", rev = "863cea9f83ad5637300478e0559262f1e791684b" }
3450
3451[[language]]
3452name = "forth"
3453scope = "source.forth"
3454injection-regex = "forth"
3455file-types = ["fs", "forth", "fth", "4th"]
3456comment-token = "\\"
3457language-servers = [ "forth-lsp" ]
3458indent = { tab-width = 3, unit = "   " }
3459
3460[[grammar]]
3461name = "forth"
3462source = { git = "https://github.com/alexanderbrevig/tree-sitter-forth", rev = "90189238385cf636b9ee99ce548b9e5b5e569d48" }
3463
3464[[language]]
3465name = "fsharp"
3466scope = "source.fs"
3467roots = ["sln", "fsproj"]
3468injection-regex = "fsharp"
3469file-types = ["fs", "fsx", "fsi", "fsscript"]
3470comment-token = "//"
3471block-comment-tokens = { start = "(*", end = "*)" }
3472indent = { tab-width = 4, unit = "    " }
3473auto-format = true
3474language-servers = ["fsharp-ls"]
3475
3476[[grammar]]
3477name = "fsharp"
3478source = { git = "https://github.com/ionide/tree-sitter-fsharp", rev = "996ea9982bd4e490029f84682016b6793940113b" }
3479
3480[[language]]
3481name = "t32"
3482scope = "source.t32"
3483injection-regex = "t32"
3484file-types = ["cmm", "t32"]
3485comment-token = ";"
3486indent = { tab-width = 2, unit = "  " }
3487
3488[[grammar]]
3489name = "t32"
3490source = { git = "https://gitlab.com/xasc/tree-sitter-t32", rev = "6da5e3cbabd376b566d04282005e52ffe67ef74a" }
3491
3492[[language]]
3493name = "webc"
3494scope = "text.html.webc"
3495injection-regex = "webc"
3496file-types = ["webc"]
3497block-comment-tokens = { start = "<!--", end = "-->" }
3498indent = { tab-width = 2, unit = "  " }
3499grammar = "html"
3500
3501[[language]]
3502name = "typst"
3503scope = "source.typst"
3504injection-regex = "typ(st)?"
3505file-types = ["typst", "typ"]
3506comment-token = "//"
3507block-comment-tokens = { start = "/*", end = "*/" }
3508language-servers = ["tinymist"]
3509indent = { tab-width = 2, unit = "  " }
3510
3511[language.auto-pairs]
3512'(' = ')'
3513'{' = '}'
3514'[' = ']'
3515'$' = '$'
3516'"' = '"'
3517
3518[[grammar]]
3519name = "typst"
3520source = { git = "https://github.com/uben0/tree-sitter-typst", rev = "13863ddcbaa7b68ee6221cea2e3143415e64aea4" }
3521
3522[[language]]
3523name = "nunjucks"
3524scope = "text.html.nunjucks"
3525injection-regex = "nunjucks"
3526file-types = ["njk"]
3527indent = { tab-width = 2, unit = "  " }
3528grammar = "jinja2"
3529block-comment-tokens = { start = "{#", end = "#}" }
3530
3531[[language]]
3532name = "jinja"
3533scope = "text.html.jinja"
3534injection-regex = "jinja"
3535file-types = ["jinja", "jinja2", "j2"]
3536indent = { tab-width = 2, unit = "  " }
3537grammar = "jinja2"
3538block-comment-tokens = { start = "{#", end = "#}" }
3539
3540[[grammar]]
3541name = "jinja2"
3542source = { git = "https://github.com/varpeti/tree-sitter-jinja2", rev = "a533cd3c33aea6acb0f9bf9a56f35dcfe6a8eb53" }
3543
3544[[language]]
3545name = "jjdescription"
3546scope = "jj.description"
3547file-types = [{ glob = "*.jjdescription" }]
3548comment-token = "JJ:"
3549indent = { tab-width = 2, unit = "  " }
3550rulers = [51, 73]
3551text-width = 72
3552
3553[[grammar]]
3554name = "jjdescription"
3555source = { git = "https://github.com/kareigu/tree-sitter-jjdescription", rev = "1613b8c85b6ead48464d73668f39910dcbb41911" }
3556
3557[[language]]
3558name = "jq"
3559scope = "source.jq"
3560injection-regex = "jq"
3561file-types = ["jq"]
3562comment-token = "#"
3563language-servers = ["jq-lsp"]
3564indent = { tab-width = 2, unit = "  " }
3565
3566[[grammar]]
3567name = "jq"
3568source = { git = "https://github.com/flurie/tree-sitter-jq", rev = "13990f530e8e6709b7978503da9bc8701d366791" }
3569
3570[[grammar]]
3571name = "wren"
3572source = { git = "https://git.sr.ht/~jummit/tree-sitter-wren", rev = "6748694be32f11e7ec6b5faeb1b48ca6156d4e06" }
3573
3574[[language]]
3575name = "wren"
3576scope = "source.wren"
3577injection-regex = "wren"
3578file-types = ["wren"]
3579indent = { tab-width = 2, unit = "  "}
3580
3581[[language]]
3582name = "unison"
3583scope = "source.unison"
3584injection-regex = "unison"
3585file-types = ["u"]
3586shebangs = []
3587auto-format = false
3588comment-token = "--"
3589indent = { tab-width = 4, unit = "    " }
3590
3591[language.auto-pairs]
3592'(' = ')'
3593'{' = '}'
3594'[' = ']'
3595'"' = '"'
3596'`' = '`'
3597
3598[[grammar]]
3599name = "unison"
3600source = { git = "https://github.com/kylegoetz/tree-sitter-unison", rev = "3c97db76d3cdbd002dfba493620c2d5df2fd6fa9" }
3601
3602[[language]]
3603name = "todotxt"
3604scope = "text.todotxt"
3605# glob = "todo.txt" is too common and can conflict regular files, define in user config if necessary
3606file-types = [{ glob = "*.todo.txt" }, "todotxt"]
3607formatter = { command = "sort" }
3608auto-format = true
3609
3610[[grammar]]
3611name = "todotxt"
3612source = { git = "https://github.com/arnarg/tree-sitter-todotxt", rev = "3937c5cd105ec4127448651a21aef45f52d19609" }
3613
3614[[language]]
3615name = "strace"
3616scope = "source.strace"
3617file-types = ["strace"]
3618
3619[[grammar]]
3620name = "strace"
3621source = { git = "https://github.com/sigmaSd/tree-sitter-strace", rev = "2b18fdf9a01e7ec292cc6006724942c81beb7fd5" }
3622
3623[[language]]
3624name = "gemini"
3625scope = "source.gmi"
3626file-types = ["gmi"]
3627
3628[[grammar]]
3629name = "gemini"
3630source = { git = "https://git.sr.ht/~nbsp/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" }
3631
3632[[language]]
3633name = "agda"
3634scope = "source.agda"
3635injection-regex = "agda"
3636file-types = ["agda"]
3637roots = []
3638comment-token = "--"
3639# language-servers = [ "als" ]
3640# the agda language server is of questionable functionality.
3641auto-format = false
3642indent = { tab-width = 2, unit = "  " }
3643
3644[language.auto-pairs]
3645'"' = '"'
3646"'" = "'"
3647'{' = '}'
3648'(' = ')'
3649'[' = ']'
3650
3651# [language.debugger]
3652# ?? can this be used for proof assistant support? explore
3653
3654[[grammar]]
3655name = "agda"
3656source = { git = "https://github.com/tree-sitter/tree-sitter-agda", rev = "c21c3a0f996363ed17b8ac99d827fe5a4821f217" }
3657
3658[[language]]
3659name = "templ"
3660scope = "source.templ"
3661file-types = ["templ"]
3662roots = ["go.work", "go.mod"]
3663comment-token = "//"
3664indent = { tab-width = 2, unit = "  " }
3665language-servers = [ "templ" ]
3666
3667[[grammar]]
3668name = "templ"
3669source = { git = "https://github.com/vrischmann/tree-sitter-templ", rev = "db662414ccd6f7c78b1e834e7abe11c224b04759" }
3670
3671[[language]]
3672name = "dbml"
3673scope = "source.dbml"
3674injection-regex = "dbml"
3675file-types = ["dbml"]
3676comment-token = ";"
3677indent = { tab-width = 2, unit = "  " }
3678
3679[[grammar]]
3680name = "dbml"
3681source = { git = "https://github.com/dynamotn/tree-sitter-dbml", rev = "2e2fa5640268c33c3d3f27f7e676f631a9c68fd9" }
3682
3683[[language]]
3684name = "bitbake"
3685language-servers = [ "bitbake-language-server" ]
3686scope = "source.bitbake"
3687file-types = ["bb", "bbappend", "bbclass", {glob = "conf/*.conf" }, {glob = "conf/*/*.{inc,conf}" }, { glob = "recipe-*/*/*.inc" }]
3688comment-token = "#"
3689
3690[[grammar]]
3691name = "bitbake"
3692source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-bitbake", rev = "10bacac929ff36a1e8f4056503fe4f8717b21b94" }
3693
3694[[language]]
3695name = "log"
3696scope = "source.log"
3697file-types = ["log"]
3698
3699[[grammar]]
3700name = "log"
3701source = { git = "https://github.com/Tudyx/tree-sitter-log", rev = "62cfe307e942af3417171243b599cc7deac5eab9" }
3702
3703[[language]]
3704name = "hoon"
3705scope = "source.hoon"
3706injection-regex = "hoon"
3707file-types = ["hoon"]
3708comment-token = "::"
3709indent = {tab-width = 2, unit = "  "}
3710
3711[[grammar]]
3712name = "hoon"
3713source = { git = "https://github.com/urbit-pilled/tree-sitter-hoon", rev = "1d5df35af3e0afe592832a67b9fb3feeeba1f7b6" }
3714
3715[[language]]
3716name = "hocon"
3717scope = "source.conf"
3718file-types = [
3719  { glob = "**/src/*/resources/**/*.conf" },
3720  { glob = "*scalafmt*.conf" },
3721  { glob = "*scalafix*.conf" },
3722]
3723comment-token = "#"
3724auto-format = true
3725indent = { tab-width = 2, unit = "  " }
3726
3727[[grammar]]
3728name = "hocon"
3729source = { git = "https://github.com/antosha417/tree-sitter-hocon", rev = "c390f10519ae69fdb03b3e5764f5592fb6924bcc" }
3730
3731[[language]]
3732name = "koka"
3733scope = "source.koka"
3734injection-regex = "koka"
3735file-types = ["kk"]
3736comment-token = "//"
3737indent = { tab-width = 8, unit = "  " }
3738language-servers = ["koka"]
3739
3740[[grammar]]
3741name = "koka"
3742source = { git = "https://github.com/mtoohey31/tree-sitter-koka", rev = "96d070c3700692858035f3524cc0ad944cef2594" }
3743
3744[[language]]
3745name = "tact"
3746scope = "source.tact"
3747injection-regex = "tact"
3748file-types = ["tact"]
3749comment-token = "//"
3750indent = { tab-width = 4, unit = "    " }
3751
3752[language.auto-pairs]
3753'"' = '"'
3754'{' = '}'
3755'(' = ')'
3756'<' = '>'
3757
3758[[grammar]]
3759name = "tact"
3760source = { git = "https://github.com/tact-lang/tree-sitter-tact", rev = "ec57ab29c86d632639726631fb2bb178d23e1c91" }
3761
3762[[language]]
3763name = "pkl"
3764scope = "source.pkl"
3765injection-regex = "pkl"
3766file-types = ["pkl", "pcf"]
3767comment-token = "//"
3768language-servers = ["pkl-lsp"]
3769indent = { tab-width = 2, unit = "  " }
3770
3771[[grammar]]
3772name = "pkl"
3773source = { git = "https://github.com/apple/tree-sitter-pkl", rev = "c03f04a313b712f8ab00a2d862c10b37318699ae" }
3774
3775[[language]]
3776name = "groovy"
3777language-id = "groovy"
3778scope = "source.groovy"
3779file-types = ["gradle", "groovy", "jenkinsfile", { glob = "Jenkinsfile" },  { glob = "Jenkinsfile.*" }]
3780shebangs = ["groovy"]
3781comment-token = "//"
3782indent = { tab-width = 2, unit = "  " }
3783
3784[[grammar]]
3785name = "groovy"
3786source = { git = "https://github.com/murtaza64/tree-sitter-groovy", rev = "235009aad0f580211fc12014bb0846c3910130c1" }
3787
3788[[language]]
3789name = "fidl"
3790scope = "source.fidl"
3791injection-regex = "fidl"
3792file-types = ["fidl"]
3793comment-token = "//"
3794indent = { tab-width = 4, unit = "    " }
3795
3796[language.auto-pairs]
3797'"' = '"'
3798'{' = '}'
3799'(' = ')'
3800'<' = '>'
3801
3802[[grammar]]
3803name = "fidl"
3804source = { git = "https://github.com/google/tree-sitter-fidl", rev = "bdbb635a7f5035e424f6173f2f11b9cd79703f8d" }
3805
3806[[language]]
3807name = "powershell"
3808scope = "source.powershell"
3809injection-regex = "(pwsh|powershell)"
3810file-types = [ "ps1", "psm1", "psd1", "pscc", "psrc" ]
3811shebangs = [ "pwsh", "powershell" ]
3812comment-token = '#'
3813block-comment-tokens = { start = "<#", end = "#>" }
3814indent = { tab-width = 4, unit = "    " }
3815
3816[[grammar]]
3817name = "powershell"
3818source = { git = "https://github.com/airbus-cert/tree-sitter-powershell", rev = "c9316be0faca5d5b9fd3b57350de650755f42dc0" }
3819
3820[[language]]
3821name = "ld"
3822scope = "source.ld"
3823injection-regex = "ld"
3824file-types = ["ld"]
3825block-comment-tokens = { start = "/*", end = "*/" }
3826indent = { tab-width = 2, unit = "  " }
3827
3828[[grammar]]
3829name = "ld"
3830source = { git = "https://github.com/mtoohey31/tree-sitter-ld", rev = "0e9695ae0ede47b8744a8e2ad44d4d40c5d4e4c9" }
3831
3832[[language]]
3833name = "hyprlang"
3834scope = "source.hyprlang"
3835roots = ["hyprland.conf"]
3836file-types = [ { glob = "hypr/*.conf" }]
3837comment-token = "#"
3838grammar = "hyprlang"
3839language-servers = ["hyprls"]
3840
3841[[grammar]]
3842name = "hyprlang"
3843source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-hyprlang", rev = "27af9b74acf89fa6bed4fb8cb8631994fcb2e6f3"}
3844
3845[[language]]
3846name = "tcl"
3847scope = "source.tcl"
3848injection-regex = "tcl"
3849file-types = [ "tcl" ]
3850shebangs = [ "tclsh", "tclish", "jimsh", "wish" ]
3851comment-token = '#'
3852
3853[[grammar]]
3854name = "tcl"
3855source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-tcl", rev = "56ad1fa6a34ba800e5495d1025a9b0fda338d5b8" }
3856
3857[[language]]
3858name = "supercollider"
3859scope = "source.supercollider"
3860injection-regex = "supercollider"
3861file-types = ["scd", "sc", "quark"]
3862comment-token = "//"
3863indent = { tab-width = 4, unit = "\t" }
3864
3865[[grammar]]
3866name = "supercollider"
3867source = { git = "https://github.com/madskjeldgaard/tree-sitter-supercollider", rev = "3b35bd0fded4423c8fb30e9585c7bacbcd0e8095" }
3868
3869[[language]]
3870name = "pkgbuild"
3871scope = "source.bash"
3872file-types = [{ glob = "PKGBUILD" }]
3873comment-token = "#"
3874grammar = "bash"
3875language-servers = [
3876  "termux-language-server",
3877  { except-features = [
3878    "diagnostics",
3879  ], name = "bash-language-server" },
3880]
3881
3882[[language]]
3883name = "helm"
3884grammar = "gotmpl"
3885scope = "source.helm"
3886roots = ["Chart.yaml"]
3887comment-token = "#"
3888language-servers = ["helm_ls"]
3889file-types = [ { glob = "templates/*.yaml" }, { glob = "templates/*.yml" }, { glob = "templates/_*.tpl"}, { glob = "templates/NOTES.txt" } ]
3890
3891[[language]]
3892name = "glimmer"
3893scope = "source.glimmer"
3894injection-regex = "hbs"
3895file-types = [{ glob = "{app,addon}/{components,templates}/*.hbs" }]
3896block-comment-tokens = { start = "{{!", end = "}}" }
3897roots = ["package.json", "ember-cli-build.js"]
3898grammar = "glimmer"
3899language-servers = ["ember-language-server"]
3900formatter = { command = "prettier", args = ['--parser', 'glimmer'] }
3901
3902[language.auto-pairs]
3903'"' = '"'
3904'{' = '}'
3905'(' = ')'
3906'<' = '>'
3907"'" = "'"
3908
3909[[grammar]]
3910name = "glimmer"
3911source = { git = "https://github.com/ember-tooling/tree-sitter-glimmer", rev = "5dc6d1040e8ff8978ff3680e818d85447bbc10aa" }
3912
3913[[language]]
3914name = "ohm"
3915scope = "source.ohm"
3916injection-regex = "ohm"
3917file-types = ["ohm"]
3918comment-token = "//"
3919block-comment-tokens = [
3920  { start = "/*", end = "*/" },
3921  { start = "/**", end = "*/" },
3922]
3923indent = { tab-width = 2, unit = "  " }
3924
3925[language.auto-pairs]
3926'"' = '"'
3927'{' = '}'
3928'(' = ')'
3929'<' = '>'
3930
3931[[grammar]]
3932name = "ohm"
3933source = { git = "https://github.com/novusnota/tree-sitter-ohm", rev = "80f14f0e477ddacc1e137d5ed8e830329e3fb7a3" }
3934
3935[[language]]
3936name = "earthfile"
3937scope = "source.earthfile"
3938injection-regex = "earthfile"
3939roots = ["Earthfile"]
3940file-types = [
3941  { glob = "Earthfile" },
3942]
3943comment-token = "#"
3944indent = { tab-width = 2, unit = "  " }
3945language-servers = ["earthlyls"]
3946
3947[[grammar]]
3948name = "earthfile"
3949source = { git = "https://github.com/glehmann/tree-sitter-earthfile", rev = "dbfb970a59cd87b628d087eb8e3fbe19c8e20601" }
3950
3951[[language]]
3952name = "adl"
3953scope = "source.adl"
3954injection-regex = "adl"
3955file-types = ["adl"]
3956roots = []
3957comment-token = "//"
3958indent = { tab-width = 2, unit = "  " }
3959
3960[language.auto-pairs]
3961'"' = '"'
3962'{' = '}'
3963'<' = '>'
3964
3965[[grammar]]
3966name = "adl"
3967source = { git = "https://github.com/adl-lang/tree-sitter-adl", rev = "2787d04beadfbe154d3f2da6e98dc45a1b134bbf" }
3968
3969[[language]]
3970name = "ldif"
3971scope = "source.ldif"
3972injection-regex = "ldif"
3973file-types = ["ldif"]
3974comment-token = "#"
3975
3976[[grammar]]
3977name = "ldif"
3978source = { git = "https://github.com/kepet19/tree-sitter-ldif", rev = "0a917207f65ba3e3acfa9cda16142ee39c4c1aaa" }
3979
3980[[language]]
3981name = "xtc"
3982scope = "source.xtc"
3983# Accept Xena Traffic Configuration, Xena Port Configuration and Xena OpenAutomation
3984file-types = [ "xtc", "xpc", "xoa" ]
3985comment-token = ";"
3986
3987[[grammar]]
3988name = "xtc"
3989source = { git = "https://github.com/Alexis-Lapierre/tree-sitter-xtc", rev = "7bc11b736250c45e25cfb0215db2f8393779957e" }
3990
3991[[language]]
3992name = "move"
3993scope = "source.move"
3994injection-regex = "move"
3995roots = ["Move.toml"]
3996file-types = ["move"]
3997comment-token = "//"
3998indent = { tab-width = 4, unit = "    " }
3999language-servers = []
4000
4001[[grammar]]
4002name = "move"
4003source = { git = "https://github.com/tzakian/tree-sitter-move", rev = "8bc0d1692caa8763fef54d48068238d9bf3c0264" }
4004
4005[[language]]
4006name = "pest"
4007scope = "source.pest"
4008injection-regex = "pest"
4009file-types = ["pest"]
4010comment-tokens = ["//", "///", "//!"]
4011block-comment-tokens = { start = "/*", end = "*/" }
4012indent = { tab-width = 4, unit = "    " }
4013language-servers = ["pest-language-server"]
4014
4015[language.auto-pairs]
4016'(' = ')'
4017'{' = '}'
4018'[' = ']'
4019'"' = '"'
4020
4021[[grammar]]
4022name = "pest"
4023source = { git = "https://github.com/pest-parser/tree-sitter-pest", rev = "a8a98a824452b1ec4da7f508386a187a2f234b85" }
4024
4025[[language]]
4026name = "elisp"
4027scope = "source.elisp"
4028file-types = ["el"]
4029comment-tokens = [";"]
4030
4031[language.auto-pairs]
4032'(' = ')'
4033'"' = '"'
4034
4035[[grammar]]
4036name = "elisp"
4037source = { git = "https://github.com/Wilfred/tree-sitter-elisp", rev = "e5524fdccf8c22fc726474a910e4ade976dfc7bb" }
4038
4039[[language]]
4040name = "gjs"
4041scope = "source.gjs"
4042file-types = ["gjs"]
4043roots = ["package.json", "ember-cli-build.js"]
4044comment-token = "//"
4045block-comment-tokens = { start = "/*", end = "*/" }
4046language-servers = [
4047    { except-features = [
4048        "format", "diagnostics",
4049    ], name = "typescript-language-server" },
4050    "vscode-eslint-language-server",
4051    "ember-language-server",
4052]
4053indent = { tab-width = 2, unit = "  " }
4054grammar = "javascript"
4055
4056[language.auto-pairs]
4057'<' = '>'
4058"'" = "'"
4059"{" = "}"
4060"(" = ")"
4061'"' = '"'
4062
4063[[language]]
4064name = "gts"
4065scope = "source.gts"
4066file-types = ["gts"]
4067roots = ["package.json", "ember-cli-build.js"]
4068comment-token = "//"
4069block-comment-tokens = { start = "/*", end = "*/" }
4070language-servers = [
4071    { except-features = [
4072        "format", "diagnostics",
4073    ], name = "typescript-language-server" },
4074    "vscode-eslint-language-server",
4075    "ember-language-server",
4076]
4077indent = { tab-width = 2, unit = "  " }
4078grammar = "typescript"
4079
4080[language.auto-pairs]
4081'<' = '>'
4082"'" = "'"
4083"{" = "}"
4084"(" = ")"
4085'"' = '"'
4086
4087[[language]]
4088name = "gherkin"
4089scope = "source.feature"
4090file-types = ["feature"]
4091comment-token = "#"
4092indent = { tab-width = 2, unit = "  " }
4093
4094[[grammar]]
4095name = "gherkin"
4096source = { git = "https://github.com/SamyAB/tree-sitter-gherkin", rev = "43873ee8de16476635b48d52c46f5b6407cb5c09" }
4097
4098[[language]]
4099name = "thrift"
4100scope = "source.thrift"
4101file-types = ["thrift"]
4102comment-token = "//"
4103block-comment-tokens = { start = "/*", end = "*/" }
4104indent = { tab-width = 2, unit = "  " }
4105
4106[[grammar]]
4107name = "thrift"
4108source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-thrift" , rev = "68fd0d80943a828d9e6f49c58a74be1e9ca142cf" }
4109
4110[[language]]
4111name             = "circom"
4112scope            = "source.circom"
4113injection-regex  = "circom"
4114file-types       = ["circom"]
4115roots            = ["package.json"]
4116comment-tokens   = "//"
4117indent           = { tab-width = 4, unit = "    " }
4118auto-format      = false
4119language-servers = ["circom-lsp"]
4120
4121[[grammar]]
4122name   = "circom"
4123source = { git = "https://github.com/Decurity/tree-sitter-circom", rev = "02150524228b1e6afef96949f2d6b7cc0aaf999e" }
4124
4125[[language]]
4126name = "snakemake"
4127scope = "source.snakemake"
4128roots = ["Snakefile", "config.yaml", "environment.yaml", "workflow/"]
4129file-types = ["smk", { glob = "Snakefile" } ]
4130comment-tokens = ["#", "##"]
4131indent = { tab-width = 2, unit = "  " }
4132language-servers = ["pylsp" ]
4133
4134[language.formatter]
4135command = "snakefmt"
4136args = ["-"]
4137
4138[[grammar]]
4139name = "snakemake"
4140source = { git = "https://github.com/osthomas/tree-sitter-snakemake", rev = "e909815acdbe37e69440261ebb1091ed52e1dec6" }
4141
4142[[language]]
4143name = "cylc"
4144scope = "source.cylc"
4145injection-regex = "cylc"
4146file-types = ["cylc", { glob = "suite.rc" }]
4147comment-tokens = "#"
4148indent = { tab-width = 4, unit = "    " }
4149
4150[[grammar]]
4151name = "cylc"
4152source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" }
4153
4154[[language]]
4155name = "quint"
4156scope = "source.quint"
4157file-types = ["qnt"]
4158language-servers = ["quint-language-server"]
4159comment-token = "//"
4160block-comment-tokens = { start = "/*", end = "*/" }
4161indent = { tab-width = 2, unit = "  " }
4162
4163[[grammar]]
4164name = "quint"
4165source = { git = "https://github.com/gruhn/tree-sitter-quint", rev = "eebbd01edfeff6404778c92efe5554e42e506a18" }
4166
4167[[language]]
4168name = "spade"
4169scope = "source.spade"
4170roots = ["swim.toml"]
4171file-types = ['spade']
4172injection-regex = "spade"
4173comment-tokens = ["//", "///"]
4174block-comment-tokens = [
4175  { start = "/*", end = "*/" },
4176  { start = "/**", end = "*/" },
4177]
4178language-servers = [ "spade-language-server" ]
4179indent = { tab-width = 4, unit = "    " }
4180
4181[language.auto-pairs]
4182'(' = ')'
4183'{' = '}'
4184'[' = ']'
4185'"' = '"'
4186'<' = '>'
4187
4188[[grammar]]
4189name = "spade"
4190source = { git = "https://gitlab.com/spade-lang/tree-sitter-spade", rev = "78bf09a88fc1d396f66b69879f908fc6bd2e6934" }
4191
4192[[language]]
4193name = "amber"
4194scope = "source.ab"
4195file-types = ["ab"]
4196comment-token = ["//", "///"]
4197indent = { tab-width = 4, unit = "    " }
4198language-servers = ["amber-lsp"]
4199
4200[[grammar]]
4201name = "amber"
4202source = { git = "https://github.com/amber-lang/tree-sitter-amber", rev = "c6df3ec2ec243ed76550c525e7ac3d9a10c6c814" }
4203
4204[[language]]
4205name = "koto"
4206scope = "source.koto"
4207injection-regex = "koto"
4208file-types = ["koto"]
4209comment-token = "#"
4210block-comment-tokens = ["#-", "-#"]
4211indent = { tab-width = 2, unit = "  " }
4212language-servers = ["koto-ls"]
4213
4214[[grammar]]
4215name = "koto"
4216source = { git = "https://github.com/koto-lang/tree-sitter-koto", rev = "b420f7922d0d74905fd0d771e5b83be9ee8a8a9a" }
4217
4218[[language]]
4219name = "gpr"
4220scope = "source.gpr"
4221injection-regex = "gpr"
4222file-types = ["gpr"]
4223roots = ["alire.toml"]
4224comment-token = "--"
4225indent = { tab-width = 3, unit = "   " }
4226language-servers = ["ada-gpr-language-server"]
4227
4228[[grammar]]
4229name = "gpr"
4230source = { git = "https://github.com/brownts/tree-sitter-gpr", rev = "cea857d3c18d1385d1f5b66cd09ea1e44173945c" }
4231
4232[[language]]
4233name = "vento"
4234scope = "text.html.vto"
4235file-types = ["vto"]
4236block-comment-tokens = { start = "{{#", end = "#}}" }
4237indent = { tab-width = 4, unit = "    " }
4238
4239[[grammar]]
4240name = "vento"
4241source = { git = "https://github.com/ventojs/tree-sitter-vento", rev = "3b32474bc29584ea214e4e84b47102408263fe0e" }
4242
4243[[language]]
4244name = "nginx"
4245scope = "source.nginx"
4246injection-regex = "nginx"
4247file-types = [
4248  { glob = "sites-available/*.conf" },
4249  { glob = "sites-enabled/*.conf" },
4250  { glob = "nginx.conf" },
4251  { glob = "conf.d/*.conf" }
4252]
4253roots = ["nginx.conf"]
4254comment-token = "#"
4255indent = { tab-width = 4, unit = "    " }
4256
4257[[grammar]]
4258name = "nginx"
4259source = { git = "https://gitlab.com/joncoole/tree-sitter-nginx", rev = "b4b61db443602b69410ab469c122c01b1e685aa0" }
4260
4261[[language]]
4262name = "codeql"
4263scope = "source.ql"
4264file-types = ["ql", "qll"]
4265comment-token = "//"
4266block-comment-tokens = { start = "/*", end = "*/" }
4267indent = { tab-width = 2, unit = "  " }
4268injection-regex = "codeql"
4269grammar = "ql"
4270language-servers = ["codeql"]
4271
4272[[grammar]]
4273name = "ql"
4274source = { git = "https://github.com/tree-sitter/tree-sitter-ql", rev = "1fd627a4e8bff8c24c11987474bd33112bead857" }
4275
4276[[language]]
4277name = "gren"
4278scope = "source.gren"
4279injection-regex = "gren"
4280file-types = ["gren"]
4281roots = ["gren.json"]
4282comment-tokens = "--"
4283block-comment-tokens = { start = "{-", end = "-}" }
4284indent = { tab-width = 4, unit = "    " }
4285
4286[[grammar]]
4287name = "gren"
4288source = { git = "https://github.com/MaeBrooks/tree-sitter-gren", rev = "76554f4f2339f5a24eed19c58f2079b51c694152" }
4289
4290[[language]]
4291name = "ghostty"
4292scope = "source.ghostty"
4293file-types = [{ glob = "ghostty/config" }]
4294comment-tokens = "#"
4295indent = { tab-width = 2, unit = "  " }
4296
4297[[grammar]]
4298name = "ghostty"
4299source = { git = "https://github.com/bezhermoso/tree-sitter-ghostty" , rev = "8438a93b44367e962b2ea3a3b6511885bebd196a" }
4300
4301[[language]]
4302name = "tera"
4303scope = "source.tera"
4304file-types = ["tera"]
4305block-comment-tokens = [
4306  { start = "{#", end = "#}" },
4307  { start = "{#-", end = "-#}" },
4308  { start = "{#", end = "-#}" },
4309  { start = "{#-", end = "#}" },
4310]
4311indent = { tab-width = 4, unit = "    " }
4312
4313[[grammar]]
4314name = "tera"
4315source = { git = "https://github.com/uncenter/tree-sitter-tera", rev = "e8d679a29c03e64656463a892a30da626e19ed8e" }
4316
4317[[language]]
4318name = "fga"
4319scope = "source.fga"
4320injection-regex = "fga"
4321file-types = ["fga"]
4322comment-token = "#"
4323indent = { tab-width = 2, unit = "  " }
4324
4325[[grammar]]
4326name = "fga"
4327source = { git = "https://github.com/matoous/tree-sitter-fga", rev = "5005e8dd976e1f67beb3d23204580eb6f8b4c965" }
4328
4329[[language]]
4330name = "csv"
4331file-types = ["csv"]
4332scope = "source.csv"
4333
4334[[grammar]]
4335name = "csv"
4336source = { git = "https://github.com/weartist/rainbow-csv-tree-sitter", rev = "d3dbf916446131417e4c2ea9eb8591b23b466d27" }
4337
4338[[language]]
4339name = "yara"
4340scope = "source.yara"
4341file-types = ["yara", "yar"]
4342indent = { tab-width = 2, unit = "  " }
4343comment-tokens = "//"
4344block-comment-tokens = { start = "/*", end = "*/"}
4345language-servers = [ "yls" ]
4346
4347[[grammar]]
4348name = "yara"
4349source = { git = "https://github.com/egibs/tree-sitter-yara", rev = "eb3ede203275c38000177f72ec0f9965312806ef" }
4350
4351[[language]]
4352name = "ink"
4353scope = "source.ink"
4354file-types = ["ink"]
4355injection-regex = "ink"
4356comment-token = "//"
4357block-comment-tokens = { start = "/*", end = "*/"}
4358indent = { tab-width = 4, unit = "\t" }
4359soft-wrap = { enable = true }
4360
4361[[grammar]]
4362name = "ink"
4363source = { git = "https://github.com/rhizoome/tree-sitter-ink", rev = "8486e9b1627b0bc6b2deb9ee8102277a7c1281ac" }
4364
4365[[language]]
4366name = "sourcepawn"
4367scope = "source.sourcepawn"
4368file-types = ["sp", "inc"]
4369comment-token = "//"
4370indent = {tab-width = 4, unit = "  "}
4371language-servers = ["sourcepawn-studio"]
4372
4373[[grammar]]
4374name = "sourcepawn"
4375source = { git = "https://github.com/nilshelmig/tree-sitter-sourcepawn", rev = "f2af8d0dc14c6790130cceb2a20027eb41a8297c" }
4376
4377[[language]]
4378name = "tlaplus"
4379scope = "scope.tlaplus"
4380injection-regex = "tla"
4381file-types = ["tla"]
4382comment-tokens = "\\*"
4383block-comment-tokens = {start = "(*", end="*)"}
4384indent = {tab-width = 4, unit = " "}
4385formatter = {command = "tlafmt", args = ["--stdin"]}
4386
4387[[grammar]]
4388name = "tlaplus"
4389source = { git = "https://github.com/tlaplus-community/tree-sitter-tlaplus", rev = "4ba91b07b97741a67f61221d0d50e6d962e4987e"}
4390
4391[[language]]
4392name = "werk"
4393scope = "source.werk"
4394file-types = [ "werk", { glob = "Werkfile" } ]
4395comment-token = "#"
4396indent = { tab-width = 2, unit = "  " }
4397
4398[[grammar]]
4399name = "werk"
4400source = { git = "https://github.com/little-bonsai/tree-sitter-werk", rev = "92b0f7fe98465c4c435794a58e961306193d1c1e" }
4401
4402[[language]]
4403name = "debian"
4404scope = "text.debian"
4405file-types = [
4406  "dsc",
4407  "changes",
4408  { glob = "debian/**/control" },
4409  { glob = "etc/apt/sources.list.d/*.sources"}
4410]
4411comment-tokens = "#"
4412
4413[[grammar]]
4414name = "debian"
4415source = { git = "https://gitlab.com/MggMuggins/tree-sitter-debian", rev = "9b3f4b78c45aab8a2f25a5f9e7bbc00995bc3dde" }
4416
4417[[language]]
4418name = "pug"
4419scope = "source.pug"
4420file-types = ["pug"]
4421comment-tokens = ["//", "//-"]
4422indent = { tab-width = 2, unit = "  " }
4423
4424[[grammar]]
4425name = "pug"
4426source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "13e9195370172c86a8b88184cc358b23b677cc46" }
4427
4428[[language]]
4429name = "dunstrc"
4430scope = "source.dunstrc"
4431comment-tokens = ["#", ";"]
4432file-types = [ { glob = "dunst/dunstrc" } ]
4433
4434[[grammar]]
4435name = "dunstrc"
4436source = { git = "https://github.com/rotmh/tree-sitter-dunstrc", rev = "9cb9d5cc51cf5e2a47bb2a0e2f2e519ff11c1431" }
4437
4438[[language]]
4439name = "rust-format-args"
4440scope = "source.rust-format-args"
4441file-types = []
4442injection-regex = "rust-format-args"
4443
4444[[grammar]]
4445name = "rust-format-args"
4446source = { git = "https://github.com/nik-rev/tree-sitter-rust-format-args", rev = "84ffe550e261cf5ea40a0ec31849ba2443bae99f" }
4447
4448[[language]]
4449name = "rust-format-args-macro"
4450scope = "source.rust-format-args-macro"
4451file-types = []
4452grammar = "rust"
4453
4454[[language]]
4455name = "clarity"
4456scope = "source.clar"
4457injection-regex = "clarity"
4458file-types = ["clar"]
4459roots = ["Clarinet.toml"]
4460comment-tokens = ";;"
4461indent = { tab-width = 2, unit = "  " }
4462language-servers = [ "clarinet" ]
4463
4464[[grammar]]
4465name = "clarity"
4466source = { git = "https://github.com/xlittlerag/tree-sitter-clarity", rev = "7fa54825fdd971a1a676f885384f024fe2b7384a" }
4467
4468[[language]]
4469name = "alloy"
4470scope = "source.alloy"
4471injection-regex = "alloy"
4472file-types = ["alloy"]
4473comment-token = "//"
4474block-comment-tokens = { start = "/*", end = "*/" }
4475indent = { tab-width = 2, unit = "  " }
4476
4477[[grammar]]
4478name = "alloy"
4479source = { git = "https://github.com/mattsre/tree-sitter-alloy", rev = "3e18eb4e97f06c57a3925f3d20bef6329a6eaef3" }
4480
4481[[language]]
4482name = "luau"
4483scope = "source.luau"
4484injection-regex = "^luau$"
4485file-types = ["luau"]
4486comment-tokens = ["--", "---"]
4487block-comment-tokens = [
4488  {start = "--[[", end = "]]"},
4489  {start = "--[=[", end = "]=]"},
4490  {start = "--[==[", end = "]==]"}
4491]
4492indent = { tab-width = 2, unit = "  "}
4493roots = [ "aftman.toml", "default.project.json", "wally.toml", "rokit.toml", "selene.toml", ".darklua.json", "foreman.toml", ".luaurc" ]
4494language-servers = [ "luau" ]
4495
4496[[grammar]]
4497name = "luau"
4498source = { git = "https://github.com/polychromatist/tree-sitter-luau", rev = "ec187cafba510cddac265329ca7831ec6f3b9955" }
4499
4500[[language]]
4501name = "caddyfile"
4502scope = "source.caddyfile"
4503injection-regex = "caddyfile"
4504file-types = [{ glob = "Caddyfile" }]
4505comment-tokens = ["#"]
4506indent = { tab-width = 4, unit = "    " }
4507formatter = { command = "caddy", args = ["fmt", "-"] }
4508auto-format = true
4509
4510[[grammar]]
4511name = "caddyfile"
4512source = { git = "https://github.com/caddyserver/tree-sitter-caddyfile", rev = "b04bdb4ec53e40c44afbf001e15540f60a296aef" }
4513
4514[[language]]
4515name = "properties"
4516scope = "source.properties"
4517injection-regex = "properties"
4518file-types = ["properties", "prefs"]
4519comment-tokens = ["#"]
4520
4521[[grammar]]
4522name = "properties"
4523source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-properties", rev = "579b62f5ad8d96c2bb331f07d1408c92767531d9" }