fork/helix

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

Lukas GrassauerUpdate tree-sitter-todotxt (#11097)35f1c2a5

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