fork/helix
git clone https://git.julia.blue/fork/helix
6f135e58
23.05
1# Language support configuration. 2# See the languages documentation: https://docs.helix-editor.com/master/languages.html 3 4[[ language ]] 5name = "rust" 6scope = "source.rust" 7injection-regex = "rust" 8file-types = [ "rs" ] 9roots = [ "Cargo.toml" , "Cargo.lock" ] 10auto-format = true 11comment-token = "//" 12language-server = { command = "rust-analyzer" } 13indent = { tab-width = 4 , unit = " " } 14 15[ language . auto-pairs ] 16'(' = ')' 17'{' = '}' 18'[' = ']' 19'"' = '"' 20'`' = '`' 21 22[ language . config ] 23inlayHints . bindingModeHints . enable = false 24inlayHints . closingBraceHints . minLines = 10 25inlayHints . closureReturnTypeHints . enable = "with_block" 26inlayHints . discriminantHints . enable = "fieldless" 27inlayHints . lifetimeElisionHints . enable = "skip_trivial" 28inlayHints . typeHints . hideClosureInitialization = false 29 30[ language . debugger ] 31name = "lldb-vscode" 32transport = "stdio" 33command = "lldb-vscode" 34 35[[ language . debugger . templates ]] 36name = "binary" 37request = "launch" 38completion = [ { name = "binary" , completion = "filename" } ] 39args = { program = "{0}" } 40 41[[ language . debugger . templates ]] 42name = "binary (terminal)" 43request = "launch" 44completion = [ { name = "binary" , completion = "filename" } ] 45args = { program = "{0}" , runInTerminal = true } 46 47[[ language . debugger . templates ]] 48name = "attach" 49request = "attach" 50completion = [ "pid" ] 51args = { pid = "{0}" } 52 53[[ language . debugger . templates ]] 54name = "gdbserver attach" 55request = "attach" 56completion = [ { name = "lldb connect url" , default = "connect://localhost:3333" }, { name = "file" , completion = "filename" }, "pid" ] 57args = { attachCommands = [ "platform select remote-gdb-server" , "platform connect {0}" , "file {1}" , "attach {2}" ] } 58 59[[ grammar ]] 60name = "rust" 61source = { git = "https://github.com/tree-sitter/tree-sitter-rust" , rev = "0431a2c60828731f27491ee9fdefe25e250ce9c9" } 62 63[[ language ]] 64name = "sway" 65scope = "source.sway" 66injection-regex = "sway" 67file-types = [ "sw" ] 68language-server = { command = "forc" , args = [ "lsp" ] } 69roots = [ "Forc.toml" , "Forc.lock" ] 70indent = { tab-width = 4 , unit = " " } 71comment-token = "//" 72 73[[ grammar ]] 74name = "sway" 75source = { git = "https://github.com/FuelLabs/tree-sitter-sway" , rev = "e491a005ee1d310f4c138bf215afd44cfebf959c" } 76 77[[ language ]] 78name = "toml" 79scope = "source.toml" 80injection-regex = "toml" 81file-types = [ "toml" , "poetry.lock" ] 82roots = [] 83comment-token = "#" 84language-server = { command = "taplo" , args = [ "lsp" , "stdio" ] } 85indent = { tab-width = 2 , unit = " " } 86 87[[ grammar ]] 88name = "toml" 89source = { git = "https://github.com/ikatyang/tree-sitter-toml" , rev = "7cff70bbcbbc62001b465603ca1ea88edd668704" } 90 91[[ language ]] 92name = "awk" 93scope = "source.awk" 94injection-regex = "awk" 95file-types = [ "awk" , "gawk" , "nawk" , "mawk" ] 96roots = [] 97comment-token = "#" 98language-server = { command = "awk-language-server" } 99indent = { tab-width = 2 , unit = " " } 100 101[[ grammar ]] 102name = "awk" 103source = { git = "https://github.com/Beaglefoot/tree-sitter-awk" , rev = "a799bc5da7c2a84bc9a06ba5f3540cf1191e4ee3" } 104 105[[ language ]] 106name = "protobuf" 107scope = "source.proto" 108injection-regex = "protobuf" 109file-types = [ "proto" ] 110roots = [] 111comment-token = "//" 112indent = { tab-width = 2 , unit = " " } 113 114[[ grammar ]] 115name = "protobuf" 116source = { git = "https://github.com/yusdacra/tree-sitter-protobuf" , rev = "19c211a01434d9f03efff99f85e19f967591b175" } 117 118[[ language ]] 119name = "elixir" 120scope = "source.elixir" 121injection-regex = "(elixir|ex)" 122file-types = [ "ex" , "exs" , "mix.lock" ] 123shebangs = [ "elixir" ] 124roots = [ "mix.exs" , "mix.lock" ] 125comment-token = "#" 126language-server = { command = "elixir-ls" } 127config = { elixirLS . dialyzerEnabled = false } 128indent = { tab-width = 2 , unit = " " } 129 130[[ grammar ]] 131name = "elixir" 132source = { git = "https://github.com/elixir-lang/tree-sitter-elixir" , rev = "b20eaa75565243c50be5e35e253d8beb58f45d56" } 133 134[[ language ]] 135name = "fish" 136scope = "source.fish" 137injection-regex = "fish" 138file-types = [ "fish" ] 139shebangs = [ "fish" ] 140roots = [] 141comment-token = "#" 142indent = { tab-width = 4 , unit = " " } 143 144[[ grammar ]] 145name = "fish" 146source = { git = "https://github.com/ram02z/tree-sitter-fish" , rev = "84436cf24c2b3176bfbb220922a0fdbd0141e406" } 147 148[[ language ]] 149name = "mint" 150scope = "source.mint" 151injection-regex = "mint" 152file-types = [ "mint" ] 153shebangs = [] 154roots = [] 155comment-token = "//" 156language-server = { command = "mint" , args = [ "ls" ] } 157indent = { tab-width = 2 , unit = " " } 158 159[[ language ]] 160name = "json" 161scope = "source.json" 162injection-regex = "json" 163file-types = [ "json" , "jsonc" , "arb" , "ipynb" , "geojson" ] 164roots = [] 165language-server = { command = "vscode-json-language-server" , args = [ "--stdio" ] } 166auto-format = true 167config = { "provideFormatter" = true } 168indent = { tab-width = 2 , unit = " " } 169 170[[ grammar ]] 171name = "json" 172source = { git = "https://github.com/tree-sitter/tree-sitter-json" , rev = "73076754005a460947cafe8e03a8cf5fa4fa2938" } 173 174[[ language ]] 175name = "c" 176scope = "source.c" 177injection-regex = "c" 178file-types = [ "c" ] # TODO: ["h"] 179roots = [] 180comment-token = "//" 181language-server = { command = "clangd" } 182indent = { tab-width = 2 , unit = " " } 183 184[ language . debugger ] 185name = "lldb-vscode" 186transport = "stdio" 187command = "lldb-vscode" 188 189[[ language . debugger . templates ]] 190name = "binary" 191request = "launch" 192completion = [ { name = "binary" , completion = "filename" } ] 193args = { console = "internalConsole" , program = "{0}" } 194 195[[ language . debugger . templates ]] 196name = "attach" 197request = "attach" 198completion = [ "pid" ] 199args = { console = "internalConsole" , pid = "{0}" } 200 201[[ language . debugger . templates ]] 202name = "gdbserver attach" 203request = "attach" 204completion = [ { name = "lldb connect url" , default = "connect://localhost:3333" }, { name = "file" , completion = "filename" }, "pid" ] 205args = { console = "internalConsole" , attachCommands = [ "platform select remote-gdb-server" , "platform connect {0}" , "file {1}" , "attach {2}" ] } 206 207[[ grammar ]] 208name = "c" 209source = { git = "https://github.com/tree-sitter/tree-sitter-c" , rev = "7175a6dd5fc1cee660dce6fe23f6043d75af424a" } 210 211[[ language ]] 212name = "cpp" 213scope = "source.cpp" 214injection-regex = "cpp" 215file-types = [ "cc" , "hh" , "c++" , "cpp" , "hpp" , "h" , "ipp" , "tpp" , "cxx" , "hxx" , "ixx" , "txx" , "ino" , "C" , "H" , "cu" , "cuh" ] 216roots = [] 217comment-token = "//" 218language-server = { command = "clangd" } 219indent = { tab-width = 2 , unit = " " } 220 221[ language . debugger ] 222name = "lldb-vscode" 223transport = "stdio" 224command = "lldb-vscode" 225 226[[ language . debugger . templates ]] 227name = "binary" 228request = "launch" 229completion = [ { name = "binary" , completion = "filename" } ] 230args = { console = "internalConsole" , program = "{0}" } 231 232[[ language . debugger . templates ]] 233name = "attach" 234request = "attach" 235completion = [ "pid" ] 236args = { console = "internalConsole" , pid = "{0}" } 237 238[[ language . debugger . templates ]] 239name = "gdbserver attach" 240request = "attach" 241completion = [ { name = "lldb connect url" , default = "connect://localhost:3333" }, { name = "file" , completion = "filename" }, "pid" ] 242args = { console = "internalConsole" , attachCommands = [ "platform select remote-gdb-server" , "platform connect {0}" , "file {1}" , "attach {2}" ] } 243 244[[ grammar ]] 245name = "cpp" 246source = { git = "https://github.com/tree-sitter/tree-sitter-cpp" , rev = "2d2c4aee8672af4c7c8edff68e7dd4c07e88d2b1" } 247 248[[ language ]] 249name = "crystal" 250scope = "source.cr" 251file-types = [ "cr" ] 252roots = [ "shard.yml" , "shard.lock" ] 253comment-token = "#" 254indent = { tab-width = 2 , unit = " " } 255grammar = "ruby" 256language-server = { command = "crystalline" , args = [ "--stdio" ] } 257 258[[ language ]] 259name = "c-sharp" 260scope = "source.csharp" 261injection-regex = "c-?sharp" 262file-types = [ "cs" ] 263roots = [ "sln" , "csproj" ] 264comment-token = "//" 265indent = { tab-width = 4 , unit = "\t" } 266language-server = { command = "OmniSharp" , args = [ "--languageserver" ] } 267 268[ language . debugger ] 269name = "netcoredbg" 270transport = "tcp" 271command = "netcoredbg" 272args = [ "--interpreter=vscode" ] 273port-arg = "--server={}" 274 275[[ language . debugger . templates ]] 276name = "launch" 277request = "launch" 278completion = [ { name = "path to dll" , completion = "filename" } ] 279args = { type = "coreclr" , console = "internalConsole" , internalConsoleOptions = "openOnSessionStart" , program = "{0}" } 280 281[[ language . debugger . templates ]] 282name = "attach" 283request = "attach" 284completion = [ "pid" ] 285args = { processId = "{0}" } 286 287[[ grammar ]] 288name = "c-sharp" 289source = { git = "https://github.com/tree-sitter/tree-sitter-c-sharp" , rev = "5b60f99545fea00a33bbfae5be956f684c4c69e2" } 290 291[[ language ]] 292name = "go" 293scope = "source.go" 294injection-regex = "go" 295file-types = [ "go" ] 296roots = [ "go.work" , "go.mod" ] 297auto-format = true 298comment-token = "//" 299language-server = { command = "gopls" } 300# TODO: gopls needs utf-8 offsets? 301indent = { tab-width = 4 , unit = "\t" } 302 303[ language . config . hints ] 304assignVariableTypes = true 305compositeLiteralFields = true 306constantValues = true 307functionTypeParameters = true 308parameterNames = true 309rangeVariableTypes = true 310 311[ language . debugger ] 312name = "go" 313transport = "tcp" 314command = "dlv" 315args = [ "dap" ] 316port-arg = "-l 127.0.0.1:{}" 317 318[[ language . debugger . templates ]] 319name = "source" 320request = "launch" 321completion = [ { name = "entrypoint" , completion = "filename" , default = "." } ] 322args = { mode = "debug" , program = "{0}" } 323 324[[ language . debugger . templates ]] 325name = "binary" 326request = "launch" 327completion = [ { name = "binary" , completion = "filename" } ] 328args = { mode = "exec" , program = "{0}" } 329 330[[ language . debugger . templates ]] 331name = "test" 332request = "launch" 333completion = [ { name = "tests" , completion = "directory" , default = "." } ] 334args = { mode = "test" , program = "{0}" } 335 336[[ language . debugger . templates ]] 337name = "attach" 338request = "attach" 339completion = [ "pid" ] 340args = { mode = "local" , processId = "{0}" } 341 342[[ grammar ]] 343name = "go" 344source = { git = "https://github.com/tree-sitter/tree-sitter-go" , rev = "64457ea6b73ef5422ed1687178d4545c3e91334a" } 345 346[[ language ]] 347name = "gomod" 348scope = "source.gomod" 349injection-regex = "gomod" 350file-types = [ "go.mod" ] 351roots = [] 352auto-format = true 353comment-token = "//" 354language-server = { command = "gopls" } 355indent = { tab-width = 4 , unit = "\t" } 356 357[[ grammar ]] 358name = "gomod" 359source = { git = "https://github.com/camdencheek/tree-sitter-go-mod" , rev = "e8f51f8e4363a3d9a427e8f63f4c1bbc5ef5d8d0" } 360 361[[ language ]] 362name = "gotmpl" 363scope = "source.gotmpl" 364injection-regex = "gotmpl" 365file-types = [ "gotmpl" ] 366roots = [] 367comment-token = "//" 368language-server = { command = "gopls" } 369indent = { tab-width = 2 , unit = " " } 370 371[[ grammar ]] 372name = "gotmpl" 373source = { git = "https://github.com/dannylongeuay/tree-sitter-go-template" , rev = "395a33e08e69f4155156f0b90138a6c86764c979" } 374 375[[ language ]] 376name = "gowork" 377scope = "source.gowork" 378injection-regex = "gowork" 379file-types = [ "go.work" ] 380roots = [] 381auto-format = true 382comment-token = "//" 383language-server = { command = "gopls" } 384indent = { tab-width = 4 , unit = "\t" } 385 386[[ grammar ]] 387name = "gowork" 388source = { git = "https://github.com/omertuc/tree-sitter-go-work" , rev = "6dd9dd79fb51e9f2abc829d5e97b15015b6a8ae2" } 389 390[[ language ]] 391name = "javascript" 392scope = "source.js" 393injection-regex = "(js|javascript)" 394file-types = [ "js" , "mjs" , "cjs" ] 395shebangs = [ "node" ] 396roots = [] 397comment-token = "//" 398# TODO: highlights-params 399language-server = { command = "typescript-language-server" , args = [ "--stdio" ], language-id = "javascript" } 400indent = { tab-width = 2 , unit = " " } 401 402[ language . config ] 403hostInfo = "helix" 404 405[ language . config . javascript . inlayHints ] 406includeInlayEnumMemberValueHints = true 407includeInlayFunctionLikeReturnTypeHints = true 408includeInlayFunctionParameterTypeHints = true 409includeInlayParameterNameHints = "all" 410includeInlayParameterNameHintsWhenArgumentMatchesName = true 411includeInlayPropertyDeclarationTypeHints = true 412includeInlayVariableTypeHints = true 413 414[ language . debugger ] 415name = "node-debug2" 416transport = "stdio" 417# args consisting of cmd (node) and path to adapter should be added to user's configuration 418quirks = { absolute-paths = true } 419 420[[ language . debugger . templates ]] 421name = "source" 422request = "launch" 423completion = [ { name = "main" , completion = "filename" , default = "index.js" } ] 424args = { program = "{0}" } 425 426[[ grammar ]] 427name = "javascript" 428source = { git = "https://github.com/tree-sitter/tree-sitter-javascript" , rev = "4a95461c4761c624f2263725aca79eeaefd36cad" } 429 430[[ language ]] 431name = "jsx" 432scope = "source.jsx" 433injection-regex = "jsx" 434file-types = [ "jsx" ] 435roots = [] 436comment-token = "//" 437language-server = { command = "typescript-language-server" , args = [ "--stdio" ], language-id = "javascriptreact" } 438indent = { tab-width = 2 , unit = " " } 439grammar = "javascript" 440 441[ language . config ] 442hostInfo = "helix" 443 444[ language . config . javascript . inlayHints ] 445includeInlayEnumMemberValueHints = true 446includeInlayFunctionLikeReturnTypeHints = true 447includeInlayFunctionParameterTypeHints = true 448includeInlayParameterNameHints = "all" 449includeInlayParameterNameHintsWhenArgumentMatchesName = true 450includeInlayPropertyDeclarationTypeHints = true 451includeInlayVariableTypeHints = true 452 453[[ language ]] 454name = "typescript" 455scope = "source.ts" 456injection-regex = "(ts|typescript)" 457file-types = [ "ts" , "mts" , "cts" ] 458shebangs = [] 459roots = [] 460# TODO: highlights-params 461language-server = { command = "typescript-language-server" , args = [ "--stdio" ], language-id = "typescript" } 462indent = { tab-width = 2 , unit = " " } 463 464[ language . config ] 465hostInfo = "helix" 466 467[ language . config . typescript . inlayHints ] 468includeInlayEnumMemberValueHints = true 469includeInlayFunctionLikeReturnTypeHints = true 470includeInlayFunctionParameterTypeHints = true 471includeInlayParameterNameHints = "all" 472includeInlayParameterNameHintsWhenArgumentMatchesName = true 473includeInlayPropertyDeclarationTypeHints = true 474includeInlayVariableTypeHints = true 475 476[[ grammar ]] 477name = "typescript" 478source = { git = "https://github.com/tree-sitter/tree-sitter-typescript" , rev = "6aac031ad88dd6317f02ac0bb27d099a553a7d8c" , subpath = "typescript" } 479 480[[ language ]] 481name = "tsx" 482scope = "source.tsx" 483injection-regex = "(tsx)" # |typescript 484file-types = [ "tsx" ] 485roots = [] 486# TODO: highlights-params 487language-server = { command = "typescript-language-server" , args = [ "--stdio" ], language-id = "typescriptreact" } 488indent = { tab-width = 2 , unit = " " } 489 490[ language . config ] 491hostInfo = "helix" 492 493[ language . config . typescript . inlayHints ] 494includeInlayEnumMemberValueHints = true 495includeInlayFunctionLikeReturnTypeHints = true 496includeInlayFunctionParameterTypeHints = true 497includeInlayParameterNameHints = "all" 498includeInlayParameterNameHintsWhenArgumentMatchesName = true 499includeInlayPropertyDeclarationTypeHints = true 500includeInlayVariableTypeHints = true 501 502[[ grammar ]] 503name = "tsx" 504source = { git = "https://github.com/tree-sitter/tree-sitter-typescript" , rev = "6aac031ad88dd6317f02ac0bb27d099a553a7d8c" , subpath = "tsx" } 505 506[[ language ]] 507name = "css" 508scope = "source.css" 509injection-regex = "css" 510file-types = [ "css" , "scss" ] 511roots = [] 512language-server = { command = "vscode-css-language-server" , args = [ "--stdio" ] } 513auto-format = true 514config = { "provideFormatter" = true } 515indent = { tab-width = 2 , unit = " " } 516 517[[ grammar ]] 518name = "css" 519source = { git = "https://github.com/tree-sitter/tree-sitter-css" , rev = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" } 520 521[[ language ]] 522name = "scss" 523scope = "source.scss" 524injection-regex = "scss" 525file-types = [ "scss" ] 526roots = [] 527language-server = { command = "vscode-css-language-server" , args = [ "--stdio" ] } 528auto-format = true 529config = { "provideFormatter" = true } 530indent = { tab-width = 2 , unit = " " } 531 532[[ grammar ]] 533name = "scss" 534source = { git = "https://github.com/serenadeai/tree-sitter-scss" , rev = "c478c6868648eff49eb04a4df90d703dc45b312a" } 535 536[[ language ]] 537name = "html" 538scope = "text.html.basic" 539injection-regex = "html" 540file-types = [ "html" ] 541roots = [] 542language-server = { command = "vscode-html-language-server" , args = [ "--stdio" ] } 543auto-format = true 544config = { "provideFormatter" = true } 545indent = { tab-width = 2 , unit = " " } 546 547[[ grammar ]] 548name = "html" 549source = { git = "https://github.com/tree-sitter/tree-sitter-html" , rev = "29f53d8f4f2335e61bf6418ab8958dac3282077a" } 550 551[[ language ]] 552name = "python" 553scope = "source.python" 554injection-regex = "python" 555file-types = [ "py" , "pyi" , "py3" , "pyw" , "ptl" , ".pythonstartup" , ".pythonrc" , "SConstruct" ] 556shebangs = [ "python" ] 557roots = [] 558comment-token = "#" 559language-server = { command = "pylsp" } 560# TODO: pyls needs utf-8 offsets 561indent = { tab-width = 4 , unit = " " } 562 563[[ grammar ]] 564name = "python" 565source = { git = "https://github.com/tree-sitter/tree-sitter-python" , rev = "de221eccf9a221f5b85474a553474a69b4b5784d" } 566 567[[ language ]] 568name = "nickel" 569scope = "source.nickel" 570injection-regex = "nickel" 571file-types = [ "ncl" ] 572shebangs = [] 573roots = [] 574comment-token = "#" 575language-server = { command = "nls" } 576indent = { tab-width = 2 , unit = " " } 577 578[[ grammar ]] 579name = "nickel" 580source = { git = "https://github.com/nickel-lang/tree-sitter-nickel" , rev = "9d83db400b6c11260b9106f131f93ddda8131933" } 581 582[[ language ]] 583name = "nix" 584scope = "source.nix" 585injection-regex = "nix" 586file-types = [ "nix" ] 587shebangs = [] 588roots = [] 589comment-token = "#" 590language-server = { command = "nil" } 591indent = { tab-width = 2 , unit = " " } 592 593[[ grammar ]] 594name = "nix" 595source = { git = "https://github.com/nix-community/tree-sitter-nix" , rev = "1b69cf1fa92366eefbe6863c184e5d2ece5f187d" } 596 597[[ language ]] 598name = "ruby" 599scope = "source.ruby" 600injection-regex = "ruby" 601file-types = [ "rb" , "rake" , "rakefile" , "irb" , "gemfile" , "gemspec" , "Rakefile" , "Gemfile" , "rabl" , "jbuilder" , "jb" , "Podfile" , "podspec" ] 602shebangs = [ "ruby" ] 603roots = [] 604comment-token = "#" 605language-server = { command = "solargraph" , args = [ "stdio" ] } 606indent = { tab-width = 2 , unit = " " } 607 608[[ grammar ]] 609name = "ruby" 610source = { git = "https://github.com/tree-sitter/tree-sitter-ruby" , rev = "206c7077164372c596ffa8eaadb9435c28941364" } 611 612[[ language ]] 613name = "bash" 614scope = "source.bash" 615injection-regex = "(shell|bash|zsh|sh)" 616file-types = [ "sh" , "bash" , "zsh" , ".bash_login" , ".bash_logout" , ".bash_profile" , ".bashrc" , ".profile" , ".zshenv" , ".zlogin" , ".zlogout" , ".zprofile" , ".zshrc" , "APKBUILD" , "PKGBUILD" , "eclass" , "ebuild" , "bazelrc" , ".bash_aliases" ] 617shebangs = [ "sh" , "bash" , "dash" , "zsh" ] 618roots = [] 619comment-token = "#" 620language-server = { command = "bash-language-server" , args = [ "start" ] } 621indent = { tab-width = 2 , unit = " " } 622 623[[ grammar ]] 624name = "bash" 625source = { git = "https://github.com/tree-sitter/tree-sitter-bash" , rev = "275effdfc0edce774acf7d481f9ea195c6c403cd" } 626 627[[ language ]] 628name = "php" 629scope = "source.php" 630injection-regex = "php" 631file-types = [ "php" , "inc" ] 632shebangs = [ "php" ] 633roots = [ "composer.json" , "index.php" ] 634language-server = { command = "intelephense" , args = [ "--stdio" ] } 635indent = { tab-width = 4 , unit = " " } 636 637[[ grammar ]] 638name = "php" 639source = { git = "https://github.com/tree-sitter/tree-sitter-php" , rev = "f860e598194f4a71747f91789bf536b393ad4a56" } 640 641[[ language ]] 642name = "twig" 643scope = "source.twig" 644injection-regex = "twig" 645file-types = [ "twig" ] 646roots = [] 647indent = { tab-width = 2 , unit = " " } 648 649[[ grammar ]] 650name = "twig" 651source = { git = "https://github.com/gbprod/tree-sitter-twig" , rev = "807b293fec3fead64f54c64fdf6fb05516c032b9" } 652 653[[ language ]] 654name = "latex" 655scope = "source.tex" 656injection-regex = "tex" 657file-types = [ "tex" , "sty" , "cls" ] 658roots = [] 659comment-token = "%" 660language-server = { command = "texlab" } 661indent = { tab-width = 4 , unit = "\t" } 662 663[[ grammar ]] 664name = "latex" 665source = { git = "https://github.com/latex-lsp/tree-sitter-latex" , rev = "8c75e93cd08ccb7ce1ccab22c1fbd6360e3bcea6" } 666 667[[ language ]] 668name = "bibtex" 669scope = "source.bib" 670injection-regex = "bib" 671file-types = [ "bib" ] 672roots = [] 673comment-token = "%" 674language-server = { command = "texlab" } 675indent = { tab-width = 4 , unit = "\t" } 676auto-format = true 677 678[ language . formatter ] 679command = 'bibtex-tidy' 680args = [ 681"-" , 682"--curly" , 683"--drop-all-caps" , 684"--remove-empty-fields" , 685"--sort-fields" , 686"--sort=year,author,id" , 687"--strip-enclosing-braces" , 688"--trailing-commas" , 689] 690 691[[ grammar ]] 692name = "bibtex" 693source = { git = "https://github.com/latex-lsp/tree-sitter-bibtex" , rev = "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34" } 694 695[[ language ]] 696name = "lean" 697scope = "source.lean" 698injection-regex = "lean" 699file-types = [ "lean" ] 700roots = [ "lakefile.lean" ] 701comment-token = "--" 702language-server = { command = "lean" , args = [ "--server" ] } 703indent = { tab-width = 2 , unit = " " } 704 705[[ grammar ]] 706name = "lean" 707source = { git = "https://github.com/Julian/tree-sitter-lean" , rev = "d98426109258b266e1e92358c5f11716d2e8f638" } 708 709[[ language ]] 710name = "julia" 711scope = "source.julia" 712injection-regex = "julia" 713file-types = [ "jl" ] 714roots = [ "Manifest.toml" , "Project.toml" ] 715comment-token = "#" 716language-server = { command = "julia" , timeout = 60 , args = [ 717"--startup-file=no" , 718"--history-file=no" , 719"--quiet" , 720"-e" , 721"using LanguageServer; runserver()" , 722] } 723indent = { tab-width = 4 , unit = " " } 724 725[[ grammar ]] 726name = "julia" 727source = { git = "https://github.com/tree-sitter/tree-sitter-julia" , rev = "8fb38abff74652c4faddbf04d2d5bbbc6b4bae25" } 728 729[[ language ]] 730name = "java" 731scope = "source.java" 732injection-regex = "java" 733file-types = [ "java" ] 734roots = [ "pom.xml" , "build.gradle" , "build.gradle.kts" ] 735language-server = { command = "jdtls" } 736indent = { tab-width = 4 , unit = " " } 737 738[[ grammar ]] 739name = "java" 740source = { git = "https://github.com/tree-sitter/tree-sitter-java" , rev = "09d650def6cdf7f479f4b78f595e9ef5b58ce31e" } 741 742[[ language ]] 743name = "ledger" 744scope = "source.ledger" 745injection-regex = "ledger" 746file-types = [ "ldg" , "ledger" , "journal" ] 747roots = [] 748comment-token = ";" 749indent = { tab-width = 4 , unit = " " } 750 751[[ grammar ]] 752name = "ledger" 753source = { git = "https://github.com/cbarrete/tree-sitter-ledger" , rev = "1f864fb2bf6a87fe1b48545cc6adc6d23090adf7" } 754 755[[ language ]] 756name = "beancount" 757scope = "source.beancount" 758injection-regex = "beancount" 759file-types = [ "beancount" , "bean" ] 760roots = [] 761comment-token = ";" 762indent = { tab-width = 2 , unit = " " } 763 764[[ grammar ]] 765name = "beancount" 766source = { git = "https://github.com/polarmutex/tree-sitter-beancount" , rev = "4cbd1f09cd07c1f1fabf867c2cf354f9da53cc4c" } 767 768[[ language ]] 769name = "ocaml" 770scope = "source.ocaml" 771injection-regex = "ocaml" 772file-types = [ "ml" ] 773shebangs = [] 774roots = [] 775comment-token = "(**)" 776language-server = { command = "ocamllsp" } 777indent = { tab-width = 2 , unit = " " } 778 779[ language . auto-pairs ] 780'(' = ')' 781'{' = '}' 782'[' = ']' 783'"' = '"' 784'`' = '`' 785 786[[ grammar ]] 787name = "ocaml" 788source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml" , rev = "23d419ba45789c5a47d31448061557716b02750a" , subpath = "ocaml" } 789 790[[ language ]] 791name = "ocaml-interface" 792scope = "source.ocaml.interface" 793file-types = [ "mli" ] 794shebangs = [] 795roots = [] 796comment-token = "(**)" 797language-server = { command = "ocamllsp" } 798indent = { tab-width = 2 , unit = " " } 799 800[ language . auto-pairs ] 801'(' = ')' 802'{' = '}' 803'[' = ']' 804'"' = '"' 805'`' = '`' 806 807[[ grammar ]] 808name = "ocaml-interface" 809source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml" , rev = "23d419ba45789c5a47d31448061557716b02750a" , subpath = "interface" } 810 811[[ language ]] 812name = "lua" 813injection-regex = "lua" 814scope = "source.lua" 815file-types = [ "lua" ] 816shebangs = [ "lua" ] 817roots = [ ".luarc.json" , ".luacheckrc" , ".stylua.toml" , "selene.toml" , ".git" ] 818comment-token = "--" 819indent = { tab-width = 2 , unit = " " } 820language-server = { command = "lua-language-server" , args = [] } 821 822[ language . config . Lua . hint ] 823enable = true 824arrayIndex = "Enable" 825setType = true 826paramName = "All" 827paramType = true 828await = true 829 830[[ grammar ]] 831name = "lua" 832source = { git = "https://github.com/MunifTanjim/tree-sitter-lua" , rev = "887dfd4e83c469300c279314ff1619b1d0b85b91" } 833 834[[ language ]] 835name = "svelte" 836scope = "source.svelte" 837injection-regex = "svelte" 838file-types = [ "svelte" ] 839roots = [] 840indent = { tab-width = 2 , unit = " " } 841language-server = { command = "svelteserver" , args = [ "--stdio" ] } 842 843[[ grammar ]] 844name = "svelte" 845source = { git = "https://github.com/Himujjal/tree-sitter-svelte" , rev = "349a5984513b4a4a9e143a6e746120c6ff6cf6ed" } 846 847[[ language ]] 848name = "vue" 849scope = "source.vue" 850injection-regex = "vue" 851file-types = [ "vue" ] 852roots = [ "package.json" , "vue.config.js" ] 853indent = { tab-width = 2 , unit = " " } 854language-server = { command = "vls" } 855 856[[ grammar ]] 857name = "vue" 858source = { git = "https://github.com/ikatyang/tree-sitter-vue" , rev = "91fe2754796cd8fba5f229505a23fa08f3546c06" } 859 860[[ language ]] 861name = "yaml" 862scope = "source.yaml" 863file-types = [ "yml" , "yaml" ] 864roots = [] 865comment-token = "#" 866indent = { tab-width = 2 , unit = " " } 867language-server = { command = "yaml-language-server" , args = [ "--stdio" ] } 868injection-regex = "yml|yaml" 869 870[[ grammar ]] 871name = "yaml" 872source = { git = "https://github.com/ikatyang/tree-sitter-yaml" , rev = "0e36bed171768908f331ff7dff9d956bae016efb" } 873 874[[ language ]] 875name = "haskell" 876scope = "source.haskell" 877injection-regex = "haskell" 878file-types = [ "hs" , "hs-boot" ] 879roots = [ "Setup.hs" , "stack.yaml" , "cabal.project" ] 880comment-token = "--" 881language-server = { command = "haskell-language-server-wrapper" , args = [ "--lsp" ] } 882indent = { tab-width = 2 , unit = " " } 883 884[[ grammar ]] 885name = "haskell" 886source = { git = "https://github.com/tree-sitter/tree-sitter-haskell" , rev = "98fc7f59049aeb713ab9b72a8ff25dcaaef81087" } 887 888[[ language ]] 889name = "purescript" 890scope = "source.purescript" 891injection-regex = "purescript" 892file-types = [ "purs" ] 893roots = [ "spago.dhall" , "bower.json" ] 894comment-token = "--" 895language-server = { command = "purescript-language-server" , args = [ "--stdio" ] } 896indent = { tab-width = 2 , unit = " " } 897auto-format = true 898formatter = { command = "purs-tidy" , args = [ "format" ] } 899grammar = "haskell" 900 901[[ language ]] 902name = "zig" 903scope = "source.zig" 904injection-regex = "zig" 905file-types = [ "zig" ] 906roots = [ "build.zig" ] 907auto-format = true 908comment-token = "//" 909language-server = { command = "zls" } 910indent = { tab-width = 4 , unit = " " } 911formatter = { command = "zig" , args = [ "fmt" , "--stdin" ] } 912 913[ language . debugger ] 914name = "lldb-vscode" 915transport = "stdio" 916command = "lldb-vscode" 917 918[[ language . debugger . templates ]] 919name = "binary" 920request = "launch" 921completion = [ { name = "binary" , completion = "filename" } ] 922args = { console = "internalConsole" , program = "{0}" } 923 924[[ language . debugger . templates ]] 925name = "attach" 926request = "attach" 927completion = [ "pid" ] 928args = { console = "internalConsole" , pid = "{0}" } 929 930[[ language . debugger . templates ]] 931name = "gdbserver attach" 932request = "attach" 933completion = [ { name = "lldb connect url" , default = "connect://localhost:3333" }, { name = "file" , completion = "filename" }, "pid" ] 934args = { console = "internalConsole" , attachCommands = [ "platform select remote-gdb-server" , "platform connect {0}" , "file {1}" , "attach {2}" ] } 935 936[[ grammar ]] 937name = "zig" 938source = { git = "https://github.com/maxxnino/tree-sitter-zig" , rev = "8d3224c3bd0890fe08358886ebf54fca2ed448a6" } 939 940[[ language ]] 941name = "prolog" 942scope = "source.prolog" 943roots = [] 944file-types = [ "pl" , "prolog" ] 945shebangs = [ "swipl" ] 946comment-token = "%" 947language-server = { command = "swipl" , args = [ 948"-g" , "use_module(library(lsp_server))" , 949"-g" , "lsp_server:main" , 950"-t" , "halt" , "--" , "stdio" ] } 951 952[[ language ]] 953name = "tsq" 954scope = "source.tsq" 955file-types = [ "scm" ] 956roots = [] 957comment-token = ";" 958injection-regex = "tsq" 959indent = { tab-width = 2 , unit = " " } 960 961[[ grammar ]] 962name = "tsq" 963source = { git = "https://github.com/the-mikedavis/tree-sitter-tsq" , rev = "48b5e9f82ae0a4727201626f33a17f69f8e0ff86" } 964 965[[ language ]] 966name = "cmake" 967scope = "source.cmake" 968file-types = [ "cmake" , "CMakeLists.txt" ] 969roots = [] 970comment-token = "#" 971indent = { tab-width = 2 , unit = " " } 972language-server = { command = "cmake-language-server" } 973injection-regex = "cmake" 974 975[[ grammar ]] 976name = "cmake" 977source = { git = "https://github.com/uyha/tree-sitter-cmake" , rev = "6e51463ef3052dd3b328322c22172eda093727ad" } 978 979[[ language ]] 980name = "make" 981scope = "source.make" 982file-types = [ "Makefile" , "makefile" , "mk" ] 983injection-regex = "(make|makefile|Makefile|mk)" 984roots = [] 985comment-token = "#" 986indent = { tab-width = 4 , unit = "\t" } 987 988[[ grammar ]] 989name = "make" 990source = { git = "https://github.com/alemuller/tree-sitter-make" , rev = "a4b9187417d6be349ee5fd4b6e77b4172c6827dd" } 991 992[[ language ]] 993name = "glsl" 994scope = "source.glsl" 995file-types = [ "glsl" , "vert" , "tesc" , "tese" , "geom" , "frag" , "comp" ] 996roots = [] 997comment-token = "//" 998indent = { tab-width = 4 , unit = " " } 999injection-regex = "glsl" 1000 1001[[ grammar ]] 1002name = "glsl" 1003source = { git = "https://github.com/theHamsta/tree-sitter-glsl" , rev = "88408ffc5e27abcffced7010fc77396ae3636d7e" } 1004 1005[[ language ]] 1006name = "perl" 1007scope = "source.perl" 1008file-types = [ "pl" , "pm" , "t" ] 1009shebangs = [ "perl" ] 1010roots = [] 1011comment-token = "#" 1012language-server = { command = "perlnavigator" , args = [ "--stdio" ] } 1013indent = { tab-width = 2 , unit = " " } 1014 1015[[ grammar ]] 1016name = "perl" 1017source = { git = "https://github.com/ganezdragon/tree-sitter-perl" , rev = "0ac2c6da562c7a2c26ed7e8691d4a590f7e8b90a" } 1018 1019[[ language ]] 1020name = "racket" 1021scope = "source.racket" 1022roots = [] 1023file-types = [ "rkt" , "rktd" , "rktl" , "scrbl" ] 1024shebangs = [ "racket" ] 1025comment-token = ";" 1026language-server = { command = "racket" , args = [ "-l" , "racket-langserver" ] } 1027grammar = "scheme" 1028 1029[[ language ]] 1030name = "common-lisp" 1031scope = "source.lisp" 1032roots = [] 1033file-types = [ "lisp" , "asd" , "cl" , "l" , "lsp" , "ny" , "podsl" , "sexp" ] 1034shebangs = [ "lisp" , "sbcl" , "ccl" , "clisp" , "ecl" ] 1035comment-token = ";" 1036indent = { tab-width = 2 , unit = " " } 1037language-server = { command = "cl-lsp" , args = [ "stdio" ] } 1038grammar = "scheme" 1039 1040[ language . auto-pairs ] 1041'(' = ')' 1042'{' = '}' 1043'[' = ']' 1044'"' = '"' 1045 1046[[ language ]] 1047name = "comment" 1048scope = "scope.comment" 1049roots = [] 1050file-types = [] 1051injection-regex = "comment" 1052 1053[[ grammar ]] 1054name = "comment" 1055source = { git = "https://github.com/stsewd/tree-sitter-comment" , rev = "5dd3c62f1bbe378b220fe16b317b85247898639e" } 1056 1057[[ language ]] 1058name = "wgsl" 1059scope = "source.wgsl" 1060file-types = [ "wgsl" ] 1061roots = [] 1062comment-token = "//" 1063language-server = { command = "wgsl_analyzer" } 1064indent = { tab-width = 4 , unit = " " } 1065 1066[[ grammar ]] 1067name = "wgsl" 1068source = { git = "https://github.com/szebniok/tree-sitter-wgsl" , rev = "272e89ef2aeac74178edb9db4a83c1ffef80a463" } 1069 1070[[ language ]] 1071name = "llvm" 1072scope = "source.llvm" 1073roots = [] 1074file-types = [ "ll" ] 1075comment-token = ";" 1076indent = { tab-width = 2 , unit = " " } 1077injection-regex = "llvm" 1078 1079[[ grammar ]] 1080name = "llvm" 1081source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm" , rev = "3b213925b9c4f42c1acfe2e10bfbb438d9c6834d" } 1082 1083[[ language ]] 1084name = "llvm-mir" 1085scope = "source.llvm_mir" 1086roots = [] 1087file-types = [] 1088comment-token = ";" 1089indent = { tab-width = 2 , unit = " " } 1090injection-regex = "mir" 1091 1092[[ grammar ]] 1093name = "llvm-mir" 1094source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir" , rev = "06fabca19454b2dc00c1b211a7cb7ad0bc2585f1" } 1095 1096[[ language ]] 1097name = "llvm-mir-yaml" 1098# TODO allow languages to point to their grammar like so: 1099# 1100# grammar = "yaml" 1101scope = "source.yaml" 1102roots = [] 1103file-types = [ "mir" ] 1104comment-token = "#" 1105indent = { tab-width = 2 , unit = " " } 1106 1107[[ language ]] 1108name = "tablegen" 1109scope = "source.tablegen" 1110roots = [] 1111file-types = [ "td" ] 1112comment-token = "//" 1113indent = { tab-width = 2 , unit = " " } 1114injection-regex = "tablegen" 1115 1116[[ grammar ]] 1117name = "tablegen" 1118source = { git = "https://github.com/Flakebi/tree-sitter-tablegen" , rev = "568dd8a937347175fd58db83d4c4cdaeb6069bd2" } 1119 1120[[ language ]] 1121name = "markdown" 1122scope = "source.md" 1123injection-regex = "md|markdown" 1124file-types = [ "md" , "markdown" , "PULLREQ_EDITMSG" ] 1125roots = [ ".marksman.toml" ] 1126language-server = { command = "marksman" , args = [ "server" ] } 1127indent = { tab-width = 2 , unit = " " } 1128 1129[[ grammar ]] 1130name = "markdown" 1131source = { git = "https://github.com/MDeiml/tree-sitter-markdown" , rev = "fa6bfd51727e4bef99f7eec5f43947f73d64ea7d" , subpath = "tree-sitter-markdown" } 1132 1133[[ language ]] 1134name = "markdown.inline" 1135scope = "source.markdown.inline" 1136injection-regex = "markdown\\.inline" 1137file-types = [] 1138roots = [] 1139grammar = "markdown_inline" 1140 1141[[ grammar ]] 1142name = "markdown_inline" 1143source = { git = "https://github.com/MDeiml/tree-sitter-markdown" , rev = "fa6bfd51727e4bef99f7eec5f43947f73d64ea7d" , subpath = "tree-sitter-markdown-inline" } 1144 1145[[ language ]] 1146name = "dart" 1147scope = "source.dart" 1148file-types = [ "dart" ] 1149roots = [ "pubspec.yaml" ] 1150auto-format = true 1151comment-token = "//" 1152language-server = { command = "dart" , args = [ "language-server" , "--client-id=helix" ] } 1153indent = { tab-width = 2 , unit = " " } 1154 1155[[ grammar ]] 1156name = "dart" 1157source = { git = "https://github.com/UserNobody14/tree-sitter-dart" , rev = "2d7f66651c9319c1a0e4dda226cc2628fbb66528" } 1158 1159[[ language ]] 1160name = "scala" 1161scope = "source.scala" 1162roots = [ "build.sbt" , "build.sc" , "build.gradle" , "build.gradle.kts" , "pom.xml" , ".scala-build" ] 1163file-types = [ "scala" , "sbt" , "sc" ] 1164comment-token = "//" 1165indent = { tab-width = 2 , unit = " " } 1166language-server = { command = "metals" } 1167config = { "isHttpEnabled" = true } 1168 1169[[ grammar ]] 1170name = "scala" 1171source = { git = "https://github.com/tree-sitter/tree-sitter-scala" , rev = "f6bbf35de41653b409ca9a3537a154f2b095ef64" } 1172 1173[[ language ]] 1174name = "dockerfile" 1175scope = "source.dockerfile" 1176injection-regex = "docker|dockerfile" 1177roots = [ "Dockerfile" , "Containerfile" ] 1178file-types = [ "Dockerfile" , "dockerfile" , "Containerfile" , "containerfile" ] 1179comment-token = "#" 1180indent = { tab-width = 2 , unit = " " } 1181language-server = { command = "docker-langserver" , args = [ "--stdio" ] } 1182 1183[[ grammar ]] 1184name = "dockerfile" 1185source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile" , rev = "8ee3a0f7587b2bd8c45c8cb7d28bd414604aec62" } 1186 1187[[ language ]] 1188name = "git-commit" 1189scope = "git.commitmsg" 1190roots = [] 1191file-types = [ "COMMIT_EDITMSG" ] 1192comment-token = "#" 1193indent = { tab-width = 2 , unit = " " } 1194rulers = [ 50 , 72 ] 1195text-width = 72 1196 1197[[ grammar ]] 1198name = "git-commit" 1199source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit" , rev = "db88cffa3952dd2328b741af5d0fc69bdb76704f" } 1200 1201[[ language ]] 1202name = "diff" 1203scope = "source.diff" 1204roots = [] 1205file-types = [ "diff" , "patch" ] 1206injection-regex = "diff" 1207comment-token = "#" 1208indent = { tab-width = 2 , unit = " " } 1209 1210[[ grammar ]] 1211name = "diff" 1212source = { git = "https://github.com/the-mikedavis/tree-sitter-diff" , rev = "fd74c78fa88a20085dbc7bbeaba066f4d1692b63" } 1213 1214[[ language ]] 1215name = "git-rebase" 1216scope = "source.gitrebase" 1217roots = [] 1218file-types = [ "git-rebase-todo" ] 1219injection-regex = "git-rebase" 1220comment-token = "#" 1221indent = { tab-width = 2 , unit = " " } 1222 1223[[ grammar ]] 1224name = "git-rebase" 1225source = { git = "https://github.com/the-mikedavis/tree-sitter-git-rebase" , rev = "d8a4207ebbc47bd78bacdf48f883db58283f9fd8" } 1226 1227[[ language ]] 1228name = "regex" 1229scope = "source.regex" 1230injection-regex = "regex" 1231file-types = [ "regex" ] 1232roots = [] 1233 1234[[ grammar ]] 1235name = "regex" 1236source = { git = "https://github.com/tree-sitter/tree-sitter-regex" , rev = "e1cfca3c79896ff79842f057ea13e529b66af636" } 1237 1238[[ language ]] 1239name = "git-config" 1240scope = "source.gitconfig" 1241roots = [] 1242file-types = [ ".gitmodules" , ".gitconfig" , { suffix = ".git/config" }, { suffix = ".config/git/config" }] 1243injection-regex = "git-config" 1244comment-token = "#" 1245indent = { tab-width = 4 , unit = "\t" } 1246 1247[[ grammar ]] 1248name = "git-config" 1249source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config" , rev = "0e4f0baf90b57e5aeb62dcdbf03062c6315d43ea" } 1250 1251[[ language ]] 1252name = "git-attributes" 1253scope = "source.gitattributes" 1254roots = [] 1255file-types = [ ".gitattributes" ] 1256injection-regex = "git-attributes" 1257comment-token = "#" 1258grammar = "gitattributes" 1259 1260[[ grammar ]] 1261name = "gitattributes" 1262source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes" , rev = "3dd50808e3096f93dccd5e9dc7dc3dba2eb12dc4" } 1263 1264[[ language ]] 1265name = "git-ignore" 1266scope = "source.gitignore" 1267roots = [] 1268file-types = [ ".gitignore" , ".gitignore_global" ] 1269injection-regex = "git-ignore" 1270comment-token = "#" 1271grammar = "gitignore" 1272 1273[[ grammar ]] 1274name = "gitignore" 1275source = { git = "https://github.com/shunsambongi/tree-sitter-gitignore" , rev = "f4685bf11ac466dd278449bcfe5fd014e94aa504" } 1276 1277[[ language ]] 1278name = "graphql" 1279scope = "source.graphql" 1280injection-regex = "graphql" 1281file-types = [ "gql" , "graphql" , "graphqls" ] 1282roots = [] 1283indent = { tab-width = 2 , unit = " " } 1284 1285[[ grammar ]] 1286name = "graphql" 1287source = { git = "https://github.com/bkegley/tree-sitter-graphql" , rev = "5e66e961eee421786bdda8495ed1db045e06b5fe" } 1288 1289[[ language ]] 1290name = "elm" 1291scope = "source.elm" 1292injection-regex = "elm" 1293file-types = [ "elm" ] 1294roots = [ "elm.json" ] 1295auto-format = true 1296comment-token = "--" 1297language-server = { command = "elm-language-server" } 1298indent = { tab-width = 4 , unit = " " } 1299 1300[[ grammar ]] 1301name = "elm" 1302source = { git = "https://github.com/elm-tooling/tree-sitter-elm" , rev = "df4cb639c01b76bc9ac9cc66788709a6da20002c" } 1303 1304[[ language ]] 1305name = "iex" 1306scope = "source.iex" 1307injection-regex = "iex" 1308file-types = [ "iex" ] 1309roots = [] 1310 1311[[ grammar ]] 1312name = "iex" 1313source = { git = "https://github.com/elixir-lang/tree-sitter-iex" , rev = "39f20bb51f502e32058684e893c0c0b00bb2332c" } 1314 1315[[ language ]] 1316name = "rescript" 1317scope = "source.rescript" 1318injection-regex = "rescript" 1319file-types = [ "res" ] 1320roots = [ "bsconfig.json" ] 1321auto-format = true 1322comment-token = "//" 1323language-server = { command = "rescript-language-server" , args = [ "--stdio" ] } 1324indent = { tab-width = 2 , unit = " " } 1325 1326[[ grammar ]] 1327name = "rescript" 1328source = { git = "https://github.com/jaredramirez/tree-sitter-rescript" , rev = "65609807c628477f3b94052e7ef895885ac51c3c" } 1329 1330[[ language ]] 1331name = "erlang" 1332scope = "source.erlang" 1333injection-regex = "erl(ang)?" 1334file-types = [ "erl" , "hrl" , "app" , "rebar.config" , "rebar.lock" ] 1335roots = [ "rebar.config" ] 1336shebangs = [ "escript" ] 1337comment-token = "%%" 1338indent = { tab-width = 4 , unit = " " } 1339language-server = { command = "erlang_ls" } 1340 1341[ language . auto-pairs ] 1342'(' = ')' 1343'{' = '}' 1344'[' = ']' 1345'"' = '"' 1346"'" = "'" 1347'`' = "'" 1348 1349[[ grammar ]] 1350name = "erlang" 1351source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang" , rev = "ce0ed253d72c199ab93caba7542b6f62075339c4" } 1352 1353[[ language ]] 1354name = "kotlin" 1355scope = "source.kotlin" 1356file-types = [ "kt" , "kts" ] 1357roots = [ "settings.gradle" , "settings.gradle.kts" ] 1358comment-token = "//" 1359indent = { tab-width = 4 , unit = " " } 1360language-server = { command = "kotlin-language-server" } 1361 1362[[ grammar ]] 1363name = "kotlin" 1364source = { git = "https://github.com/fwcd/tree-sitter-kotlin" , rev = "a4f71eb9b8c9b19ded3e0e9470be4b1b77c2b569" } 1365 1366[[ language ]] 1367name = "hcl" 1368scope = "source.hcl" 1369injection-regex = "(hcl|tf|nomad)" 1370file-types = [ "hcl" , "tf" , "nomad" ] 1371roots = [] 1372comment-token = "#" 1373indent = { tab-width = 2 , unit = " " } 1374language-server = { command = "terraform-ls" , args = [ "serve" ], language-id = "terraform" } 1375auto-format = true 1376 1377[[ grammar ]] 1378name = "hcl" 1379source = { git = "https://github.com/MichaHoffmann/tree-sitter-hcl" , rev = "3cb7fc28247efbcb2973b97e71c78838ad98a583" } 1380 1381[[ language ]] 1382name = "tfvars" 1383scope = "source.tfvars" 1384file-types = [ "tfvars" ] 1385roots = [] 1386comment-token = "#" 1387indent = { tab-width = 2 , unit = " " } 1388language-server = { command = "terraform-ls" , args = [ "serve" ], language-id = "terraform-vars" } 1389auto-format = true 1390grammar = "hcl" 1391 1392[[ language ]] 1393name = "org" 1394scope = "source.org" 1395injection-regex = "org" 1396file-types = [ "org" ] 1397roots = [] 1398indent = { tab-width = 2 , unit = " " } 1399 1400[[ grammar ]] 1401name = "org" 1402source = { git = "https://github.com/milisims/tree-sitter-org" , rev = "698bb1a34331e68f83fc24bdd1b6f97016bb30de" } 1403 1404[[ language ]] 1405name = "solidity" 1406scope = "source.sol" 1407injection-regex = "(sol|solidity)" 1408file-types = [ "sol" ] 1409roots = [] 1410comment-token = "//" 1411indent = { tab-width = 4 , unit = " " } 1412language-server = { command = "solc" , args = [ "--lsp" ] } 1413 1414[[ grammar ]] 1415name = "solidity" 1416source = { git = "https://github.com/JoranHonig/tree-sitter-solidity" , rev = "9004b86531cb424bd379424cf7266a4585f2af7d" } 1417 1418[[ language ]] 1419name = "gleam" 1420scope = "source.gleam" 1421injection-regex = "gleam" 1422file-types = [ "gleam" ] 1423roots = [ "gleam.toml" ] 1424comment-token = "//" 1425indent = { tab-width = 2 , unit = " " } 1426language-server = { command = "gleam" , args = [ "lsp" ] } 1427 1428[[ grammar ]] 1429name = "gleam" 1430source = { git = "https://github.com/gleam-lang/tree-sitter-gleam" , rev = "ae79782c00656945db69641378e688cdb78d52c1" } 1431 1432[[ language ]] 1433name = "ron" 1434scope = "source.ron" 1435injection-regex = "ron" 1436file-types = [ "ron" ] 1437roots = [] 1438comment-token = "//" 1439indent = { tab-width = 4 , unit = " " } 1440grammar = "rust" 1441 1442[[ language ]] 1443name = "robot" 1444scope = "source.robot" 1445injection-regex = "robot" 1446file-types = [ "robot" , "resource" ] 1447comment-token = "#" 1448roots = [] 1449indent = { tab-width = 4 , unit = " " } 1450language-server = { command = "robotframework_ls" } 1451 1452[[ grammar ]] 1453name = "robot" 1454source = { git = "https://github.com/Hubro/tree-sitter-robot" , rev = "f1142bfaa6acfce95e25d2c6d18d218f4f533927" } 1455 1456[[ language ]] 1457name = "r" 1458scope = "source.r" 1459injection-regex = "(r|R)" 1460file-types = [ "r" , "R" ] 1461shebangs = [ "r" , "R" ] 1462roots = [] 1463comment-token = "#" 1464indent = { tab-width = 2 , unit = " " } 1465language-server = { command = "R" , args = [ "--no-echo" , "-e" , "languageserver::run()" ] } 1466 1467[[ grammar ]] 1468name = "r" 1469source = { git = "https://github.com/r-lib/tree-sitter-r" , rev = "cc04302e1bff76fa02e129f332f44636813b0c3c" } 1470 1471[[ language ]] 1472name = "rmarkdown" 1473scope = "source.rmd" 1474injection-regex = "(r|R)md" 1475file-types = [ "rmd" , "Rmd" ] 1476roots = [] 1477indent = { tab-width = 2 , unit = " " } 1478grammar = "markdown" 1479language-server = { command = "R" , args = [ "--slave" , "-e" , "languageserver::run()" ] } 1480 1481[[ language ]] 1482name = "swift" 1483scope = "source.swift" 1484injection-regex = "swift" 1485file-types = [ "swift" ] 1486roots = [ "Package.swift" ] 1487comment-token = "//" 1488auto-format = true 1489language-server = { command = "sourcekit-lsp" } 1490 1491[[ grammar ]] 1492name = "swift" 1493source = { git = "https://github.com/alex-pinkus/tree-sitter-swift" , rev = "77c6312c8438f4dbaa0350cec92b3d6dd3d74a66" } 1494 1495[[ language ]] 1496name = "erb" 1497scope = "text.html.erb" 1498injection-regex = "erb" 1499file-types = [ "erb" ] 1500roots = [] 1501indent = { tab-width = 2 , unit = " " } 1502grammar = "embedded-template" 1503 1504[[ language ]] 1505name = "ejs" 1506scope = "text.html.ejs" 1507injection-regex = "ejs" 1508file-types = [ "ejs" ] 1509roots = [] 1510indent = { tab-width = 2 , unit = " " } 1511grammar = "embedded-template" 1512 1513[[ grammar ]] 1514name = "embedded-template" 1515source = { git = "https://github.com/tree-sitter/tree-sitter-embedded-template" , rev = "d21df11b0ecc6fd211dbe11278e92ef67bd17e97" } 1516 1517[[ language ]] 1518name = "eex" 1519scope = "source.eex" 1520injection-regex = "eex" 1521file-types = [ "eex" ] 1522roots = [ "mix.exs" , "mix.lock" ] 1523indent = { tab-width = 2 , unit = " " } 1524 1525[[ grammar ]] 1526name = "eex" 1527source = { git = "https://github.com/connorlay/tree-sitter-eex" , rev = "f742f2fe327463335e8671a87c0b9b396905d1d1" } 1528 1529[[ language ]] 1530name = "heex" 1531scope = "source.heex" 1532injection-regex = "heex" 1533file-types = [ "heex" ] 1534roots = [ "mix.exs" , "mix.lock" ] 1535indent = { tab-width = 2 , unit = " " } 1536language-server = { command = "elixir-ls" } 1537config = { elixirLS . dialyzerEnabled = false } 1538 1539[[ grammar ]] 1540name = "heex" 1541source = { git = "https://github.com/phoenixframework/tree-sitter-heex" , rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" } 1542 1543[[ language ]] 1544name = "sql" 1545scope = "source.sql" 1546file-types = [ "sql" ] 1547roots = [] 1548comment-token = "--" 1549indent = { tab-width = 4 , unit = " " } 1550injection-regex = "sql" 1551 1552[[ grammar ]] 1553name = "sql" 1554source = { git = "https://github.com/DerekStride/tree-sitter-sql" , rev = "3a3f92b29c880488a08bc2baaf1aca6432ec3380" } 1555 1556[[ language ]] 1557name = "gdscript" 1558scope = "source.gdscript" 1559injection-regex = "gdscript" 1560file-types = [ "gd" ] 1561shebangs = [] 1562roots = [ "project.godot" ] 1563auto-format = true 1564formatter = { command = "gdformat" , args = [ "-" ] } 1565comment-token = "#" 1566indent = { tab-width = 4 , unit = "\t" } 1567 1568[[ grammar ]] 1569name = "gdscript" 1570source = { git = "https://github.com/PrestonKnopp/tree-sitter-gdscript" , rev = "a4b57cc3bcbfc24550e858159647e9238e7ad1ac" } 1571 1572[[ language ]] 1573name = "godot-resource" 1574scope = "source.tscn" 1575injection-regex = "godot" 1576file-types = [ "tscn" , "tres" , "godot" , "gdextension" ] 1577shebangs = [] 1578roots = [ "project.godot" ] 1579auto-format = false 1580comment-token = ";" 1581indent = { tab-width = 4 , unit = "\t" } 1582 1583[[ grammar ]] 1584name = "godot-resource" 1585source = { git = "https://github.com/PrestonKnopp/tree-sitter-godot-resource" , rev = "b6ef0768711086a86b3297056f9ffb5cc1d77b4a" } 1586 1587[[ language ]] 1588name = "nu" 1589scope = "source.nu" 1590injection-regex = "nu" 1591file-types = [ "nu" ] 1592roots = [] 1593comment-token = "#" 1594indent = { tab-width = 2 , unit = " " } 1595 1596[[ grammar ]] 1597name = "nu" 1598source = { git = "https://github.com/LhKipp/tree-sitter-nu" , rev = "eb95bdac3abd73ef47e53f19c63e74a31405ebd2" } 1599 1600[[ language ]] 1601name = "vala" 1602scope = "source.vala" 1603injection-regex = "vala" 1604file-types = [ "vala" , "vapi" ] 1605roots = [] 1606comment-token = "//" 1607indent = { tab-width = 2 , unit = " " } 1608language-server = { command = "vala-language-server" } 1609 1610[[ grammar ]] 1611name = "vala" 1612source = { git = "https://github.com/vala-lang/tree-sitter-vala" , rev = "c9eea93ba2ec4ec1485392db11945819779745b3" } 1613 1614[[ language ]] 1615name = "hare" 1616scope = "source.hare" 1617injection-regex = "hare" 1618file-types = [ "ha" ] 1619roots = [] 1620comment-token = "//" 1621indent = { tab-width = 8 , unit = "\t" } 1622 1623[[ grammar ]] 1624name = "hare" 1625source = { git = "https://git.sr.ht/~ecmma/tree-sitter-hare" , rev = "bc26a6a949f2e0d98b7bfc437d459b250900a165" } 1626 1627[[ language ]] 1628name = "devicetree" 1629scope = "source.devicetree" 1630injection-regex = "(dtsi?|devicetree|fdt)" 1631file-types = [ "dts" , "dtsi" ] 1632roots = [] 1633comment-token = "//" 1634indent = { tab-width = 4 , unit = "\t" } 1635 1636[[ grammar ]] 1637name = "devicetree" 1638source = { git = "https://github.com/joelspadin/tree-sitter-devicetree" , rev = "877adbfa0174d25894c40fa75ad52d4515a36368" } 1639 1640[[ language ]] 1641name = "cairo" 1642scope = "source.cairo" 1643injection-regex = "cairo" 1644file-types = [ "cairo" ] 1645roots = [] 1646comment-token = "//" 1647indent = { tab-width = 4 , unit = " " } 1648 1649[[ grammar ]] 1650name = "cairo" 1651source = { git = "https://github.com/archseer/tree-sitter-cairo" , rev = "b249662a1eefeb4d71c9529cdd971e74fecc10fe" } 1652 1653[[ language ]] 1654name = "cpon" 1655scope = "scope.cpon" 1656injection-regex = "cpon" 1657file-types = [ "cpon" , "cp" ] 1658roots = [] 1659auto-format = true 1660comment-token = "//" 1661indent = { tab-width = 2 , unit = " " } 1662 1663[[ grammar ]] 1664name = "cpon" 1665source = { git = "https://github.com/fvacek/tree-sitter-cpon" , rev = "0d01fcdae5a53191df5b1349f9bce053833270e7" } 1666 1667[[ language ]] 1668name = "odin" 1669auto-format = false 1670scope = "source.odin" 1671file-types = [ "odin" ] 1672roots = [ "ols.json" ] 1673language-server = { command = "ols" , args = [] } 1674comment-token = "//" 1675indent = { tab-width = 4 , unit = "\t" } 1676 1677[[ grammar ]] 1678name = "odin" 1679source = { git = "https://github.com/ap29600/tree-sitter-odin" , rev = "b219207e49ffca2952529d33e94ed63b1b75c4f1" } 1680 1681[[ language ]] 1682name = "meson" 1683scope = "source.meson" 1684injection-regex = "meson" 1685file-types = [ "meson.build" ] 1686roots = [] 1687comment-token = "#" 1688indent = { tab-width = 2 , unit = " " } 1689 1690[[ grammar ]] 1691name = "meson" 1692source = { git = "https://github.com/staysail/tree-sitter-meson" , rev = "32a83e8f200c347232fa795636cfe60dde22957a" } 1693 1694[[ language ]] 1695name = "sshclientconfig" 1696scope = "source.sshclientconfig" 1697file-types = [{ suffix = ".ssh/config" }, { suffix = "/etc/ssh/ssh_config" }] 1698roots = [] 1699comment-token = "#" 1700 1701[[ grammar ]] 1702name = "sshclientconfig" 1703source = { git = "https://github.com/metio/tree-sitter-ssh-client-config" , rev = "e45c6d5c71657344d4ecaf87dafae7736f776c57" } 1704 1705[[ language ]] 1706name = "scheme" 1707scope = "source.scheme" 1708injection-regex = "scheme" 1709file-types = [ "ss" ] # "scm", 1710roots = [] 1711comment-token = ";" 1712indent = { tab-width = 2 , unit = " " } 1713 1714[[ grammar ]] 1715name = "scheme" 1716source = { git = "https://github.com/6cdh/tree-sitter-scheme" , rev = "c0741320bfca6b7b5b7a13b5171275951e96a842" } 1717 1718[[ language ]] 1719name = "v" 1720scope = "source.v" 1721file-types = [ "v" , "vv" , "vsh" ] 1722shebangs = [ "v run" ] 1723roots = [ "v.mod" ] 1724language-server = { command = "v" , args = [ "ls" ] } 1725auto-format = true 1726comment-token = "//" 1727indent = { tab-width = 4 , unit = "\t" } 1728 1729[[ grammar ]] 1730name = "v" 1731source = { git = "https://github.com/vlang/vls" , subpath = "tree_sitter_v" , rev = "66cf9d3086fb5ecc827cb32c64c5d812ab17d2c6" } 1732 1733[[ language ]] 1734name = "verilog" 1735scope = "source.verilog" 1736file-types = [ "v" , "vh" , "sv" , "svh" ] 1737roots = [] 1738comment-token = "//" 1739language-server = { command = "svlangserver" , args = [] } 1740indent = { tab-width = 2 , unit = " " } 1741injection-regex = "verilog" 1742 1743[[ grammar ]] 1744name = "verilog" 1745source = { git = "https://github.com/andreytkachenko/tree-sitter-verilog" , rev = "514d8d70593d29ef3ef667fa6b0e504ae7c977e3" } 1746 1747[[ language ]] 1748name = "edoc" 1749scope = "source.edoc" 1750file-types = [ "edoc" , "edoc.in" ] 1751injection-regex = "edoc" 1752roots = [] 1753indent = { tab-width = 4 , unit = " " } 1754 1755[[ grammar ]] 1756name = "edoc" 1757source = { git = "https://github.com/the-mikedavis/tree-sitter-edoc" , rev = "74774af7b45dd9cefbf9510328fc6ff2374afc50" } 1758 1759[[ language ]] 1760name = "jsdoc" 1761scope = "source.jsdoc" 1762injection-regex = "jsdoc" 1763file-types = [ "jsdoc" ] 1764roots = [] 1765indent = { tab-width = 2 , unit = " " } 1766 1767[[ grammar ]] 1768name = "jsdoc" 1769source = { git = "https://github.com/tree-sitter/tree-sitter-jsdoc" , rev = "189a6a4829beb9cdbe837260653b4a3dfb0cc3db" } 1770 1771[[ language ]] 1772name = "openscad" 1773scope = "source.openscad" 1774injection-regex = "openscad" 1775file-types = [ "scad" ] 1776roots = [] 1777comment-token = "//" 1778language-server = { command = "openscad-lsp" , args = [ "--stdio" ] } 1779indent = { tab-width = 2 , unit = "\t" } 1780 1781[[ grammar ]] 1782name = "openscad" 1783source = { git = "https://github.com/bollian/tree-sitter-openscad" , rev = "5c3ce93df0ac1da7197cf6ae125aade26d6b8972" } 1784 1785[[ language ]] 1786name = "prisma" 1787scope = "source.prisma" 1788injection-regex = "prisma" 1789file-types = [ "prisma" ] 1790roots = [ "package.json" ] 1791comment-token = "//" 1792language-server = { command = "prisma-language-server" , args = [ "--stdio" ] } 1793indent = { tab-width = 2 , unit = " " } 1794 1795[[ grammar ]] 1796name = "prisma" 1797source = { git = "https://github.com/victorhqc/tree-sitter-prisma" , rev = "eca2596a355b1a9952b4f80f8f9caed300a272b5" } 1798 1799[[ language ]] 1800name = "clojure" 1801scope = "source.clojure" 1802injection-regex = "(clojure|clj|edn|boot)" 1803file-types = [ "clj" , "cljs" , "cljc" , "clje" , "cljr" , "cljx" , "edn" , "boot" ] 1804roots = [ "project.clj" , "build.boot" , "deps.edn" , "shadow-cljs.edn" ] 1805comment-token = ";" 1806language-server = { command = "clojure-lsp" } 1807indent = { tab-width = 2 , unit = " " } 1808 1809[[ grammar ]] 1810name = "clojure" 1811source = { git = "https://github.com/sogaiu/tree-sitter-clojure" , rev = "e57c569ae332ca365da623712ae1f50f84daeae2" } 1812 1813[[ language ]] 1814name = "starlark" 1815scope = "source.starlark" 1816injection-regex = "(starlark|bzl|bazel)" 1817file-types = [ "bzl" , "bazel" , "BUILD" ] 1818roots = [] 1819comment-token = "#" 1820indent = { tab-width = 4 , unit = " " } 1821grammar = "python" 1822 1823[[ language ]] 1824name = "elvish" 1825scope = "source.elvish" 1826file-types = [ "elv" ] 1827roots = [] 1828comment-token = "#" 1829indent = { tab-width = 2 , unit = " " } 1830language-server = { command = "elvish" , args = [ "-lsp" ] } 1831grammar = "elvish" 1832 1833[[ grammar ]] 1834name = "elvish" 1835source = { git = "https://github.com/ckafi/tree-sitter-elvish" , rev = "e50787cadd3bc54f6d9c0704493a79078bb8a4e5" } 1836 1837[[ language ]] 1838name = "idris" 1839scope = "source.idr" 1840injection-regex = "idr" 1841file-types = [ "idr" ] 1842shebangs = [] 1843roots = [] 1844comment-token = "--" 1845indent = { tab-width = 2 , unit = " " } 1846language-server = { command = "idris2-lsp" } 1847 1848[[ language ]] 1849name = "fortran" 1850scope = "source.fortran" 1851injection-regex = "fortran" 1852file-types = [ "f" , "for" , "f90" , "f95" , "f03" ] 1853roots = [ "fpm.toml" ] 1854comment-token = "!" 1855indent = { tab-width = 4 , unit = " " } 1856language-server = { command = "fortls" , args = [ "--lowercase_intrinsics" ] } 1857 1858[[ grammar ]] 1859name = "fortran" 1860source = { git = "https://github.com/stadelmanma/tree-sitter-fortran" , rev = "f0f2f100952a353e64e26b0fa710b4c296d7af13" } 1861 1862[[ language ]] 1863name = "ungrammar" 1864scope = "source.ungrammar" 1865injection-regex = "ungrammar" 1866file-types = [ "ungram" , "ungrammar" ] 1867roots = [] 1868comment-token = "//" 1869indent = { tab-width = 2 , unit = " " } 1870 1871[[ grammar ]] 1872name = "ungrammar" 1873source = { git = "https://github.com/Philipp-M/tree-sitter-ungrammar" , rev = "0113de880a58ea14f2a75802e9b99fcc25003d9c" } 1874 1875[[ language ]] 1876name = "dot" 1877scope = "source.dot" 1878injection-regex = "dot" 1879file-types = [ "dot" ] 1880roots = [] 1881comment-token = "//" 1882indent = { tab-width = 4 , unit = " " } 1883language-server = { command = "dot-language-server" , args = [ "--stdio" ] } 1884 1885[[ grammar ]] 1886name = "dot" 1887source = { git = "https://github.com/rydesun/tree-sitter-dot" , rev = "917230743aa10f45a408fea2ddb54bbbf5fbe7b7" } 1888 1889[[ language ]] 1890name = "cue" 1891scope = "source.cue" 1892injection-regex = "cue" 1893file-types = [ "cue" ] 1894roots = [ "cue.mod" ] 1895auto-format = true 1896comment-token = "//" 1897language-server = { command = "cuelsp" } 1898indent = { tab-width = 4 , unit = "\t" } 1899formatter = { command = "cue" , args = [ "fmt" , "-" ] } 1900 1901[[ grammar ]] 1902name = "cue" 1903source = { git = "https://github.com/eonpatapon/tree-sitter-cue" , rev = "61843e3beebf19417e4fede4e8be4df1084317ad" } 1904 1905[[ language ]] 1906name = "slint" 1907scope = "source.slint" 1908injection-regex = "slint" 1909file-types = [ "slint" ] 1910roots = [] 1911comment-token = "//" 1912indent = { tab-width = 4 , unit = " " } 1913language-server = { command = "slint-lsp" , args = [] } 1914 1915[[ grammar ]] 1916name = "slint" 1917source = { git = "https://github.com/jrmoulton/tree-sitter-slint" , rev = "0d4dda94f96623302dfc234e06be62a5717f47da" } 1918 1919[[ language ]] 1920name = "task" 1921scope = "source.task" 1922injection-regex = "task" 1923file-types = [ "task" ] 1924roots = [] 1925comment-token = "#" 1926indent = { tab-width = 2 , unit = " " } 1927 1928[[ grammar ]] 1929name = "task" 1930source = { git = "https://github.com/alexanderbrevig/tree-sitter-task" , rev = "f2cb435c5dbf3ee19493e224485d977cb2d36d8b" } 1931 1932[[ language ]] 1933name = "xit" 1934scope = "source.xit" 1935injection-regex = "xit" 1936file-types = [ "xit" ] 1937roots = [] 1938indent = { tab-width = 4 , unit = " " } 1939 1940[[ grammar ]] 1941name = "xit" 1942source = { git = "https://github.com/synaptiko/tree-sitter-xit" , rev = "7d7902456061bc2ad21c64c44054f67b5515734c" } 1943 1944[[ language ]] 1945name = "esdl" 1946scope = "source.esdl" 1947injection-regex = "esdl" 1948file-types = [ "esdl" ] 1949comment-token = "#" 1950indent = { tab-width = 2 , unit = " " } 1951roots = [ "edgedb.toml" ] 1952 1953[[ grammar ]] 1954name = "esdl" 1955source = { git = "https://github.com/greym0uth/tree-sitter-esdl" , rev = "b840c8a8028127e0a7c6e6c45141adade2bd75cf" } 1956 1957[[ language ]] 1958name = "pascal" 1959scope = "source.pascal" 1960injection-regex = "pascal" 1961file-types = [ "pas" , "pp" , "inc" , "lpr" , "lfm" ] 1962roots = [] 1963comment-token = "//" 1964indent = { tab-width = 2 , unit = " " } 1965language-server = { command = "pasls" , args = [] } 1966 1967[[ grammar ]] 1968name = "pascal" 1969source = { git = "https://github.com/Isopod/tree-sitter-pascal" , rev = "2fd40f477d3e2794af152618ccfac8d92eb72a66" } 1970 1971[[ language ]] 1972name = "sml" 1973scope = "source.sml" 1974injection-regex = "sml" 1975file-types = [ "sml" ] 1976comment-token = "(*" 1977roots = [] 1978 1979[[ grammar ]] 1980name = "sml" 1981source = { git = "https://github.com/Giorbo/tree-sitter-sml" , rev = "bd4055d5554614520d4a0706b34dc0c317c6b608" } 1982 1983[[ language ]] 1984name = "jsonnet" 1985scope = "source.jsonnet" 1986file-types = [ "libsonnet" , "jsonnet" ] 1987roots = [ "jsonnetfile.json" ] 1988comment-token = "//" 1989indent = { tab-width = 2 , unit = " " } 1990language-server = { command = "jsonnet-language-server" , args = [ "-t" , "--lint" ] } 1991 1992[[ grammar ]] 1993name = "jsonnet" 1994source = { git = "https://github.com/sourcegraph/tree-sitter-jsonnet" , rev = "0475a5017ad7dc84845d1d33187f2321abcb261d" } 1995 1996[[ language ]] 1997name = "astro" 1998scope = "source.astro" 1999injection-regex = "astro" 2000file-types = [ "astro" ] 2001roots = [] 2002indent = { tab-width = 2 , unit = " " } 2003 2004[[ grammar ]] 2005name = "astro" 2006source = { git = "https://github.com/virchau13/tree-sitter-astro" , rev = "5f5c3e73c45967df9aa42f861fad2d77cd4e0900" } 2007 2008[[ language ]] 2009name = "bass" 2010scope = "source.bass" 2011injection-regex = "bass" 2012file-types = [ "bass" ] 2013roots = [] 2014comment-token = ";" 2015indent = { tab-width = 2 , unit = " " } 2016language-server = { command = "bass" , args = [ "--lsp" ] } 2017 2018[[ grammar ]] 2019name = "bass" 2020source = { git = "https://github.com/vito/tree-sitter-bass" , rev = "501133e260d768ed4e1fd7374912ed5c86d6fd90" } 2021 2022[[ language ]] 2023name = "wat" 2024scope = "source.wat" 2025comment-token = ";;" 2026file-types = [ "wat" ] 2027roots = [] 2028 2029[[ grammar ]] 2030name = "wat" 2031source = { git = "https://github.com/wasm-lsp/tree-sitter-wasm" , rev = "2ca28a9f9d709847bf7a3de0942a84e912f59088" , subpath = "wat" } 2032 2033[[ language ]] 2034name = "wast" 2035scope = "source.wast" 2036comment-token = ";;" 2037file-types = [ "wast" ] 2038roots = [] 2039 2040[[ grammar ]] 2041name = "wast" 2042source = { git = "https://github.com/wasm-lsp/tree-sitter-wasm" , rev = "2ca28a9f9d709847bf7a3de0942a84e912f59088" , subpath = "wast" } 2043 2044[[ language ]] 2045name = "d" 2046scope = "source.d" 2047file-types = [ "d" , "dd" ] 2048roots = [] 2049comment-token = "//" 2050injection-regex = "d" 2051indent = { tab-width = 4 , unit = " " } 2052language-server = { command = "serve-d" } 2053formatter = { command = "dfmt" } 2054 2055[[ grammar ]] 2056name = "d" 2057source = { git = "https://github.com/gdamore/tree-sitter-d" , rev = "601c4a1e8310fb2f3c43fa8a923d0d27497f3c04" } 2058 2059[[ language ]] 2060name = "vhs" 2061scope = "source.vhs" 2062file-types = [ "tape" ] 2063roots = [] 2064comment-token = "#" 2065indent = { tab-width = 2 , unit = " " } 2066grammar = "vhs" 2067 2068[[ grammar ]] 2069name = "vhs" 2070source = { git = "https://github.com/charmbracelet/tree-sitter-vhs" , rev = "c6d81f34c011c29ee86dd73b45a8ecc9f2e2bdaf" } 2071 2072[[ language ]] 2073name = "kdl" 2074scope = "source.kdl" 2075file-types = [ "kdl" ] 2076roots = [] 2077comment-token = "//" 2078injection-regex = "kdl" 2079 2080[[ grammar ]] 2081name = "kdl" 2082source = { git = "https://github.com/Unoqwy/tree-sitter-kdl" , rev = "e1cd292c6d15df6610484e1d4b5c987ecad52373" } 2083 2084[[ language ]] 2085name = "xml" 2086scope = "source.xml" 2087injection-regex = "xml" 2088file-types = [ "xml" , "mobileconfig" , "plist" , "xib" , "storyboard" , "svg" , "xsd" , "gml" ] 2089indent = { tab-width = 2 , unit = " " } 2090roots = [] 2091 2092[ language . auto-pairs ] 2093'(' = ')' 2094'{' = '}' 2095'[' = ']' 2096'"' = '"' 2097"'" = "'" 2098"<" = ">" 2099 2100[[ grammar ]] 2101name = "xml" 2102source = { git = "https://github.com/RenjiSann/tree-sitter-xml" , rev = "48a7c2b6fb9d515577e115e6788937e837815651" } 2103 2104 2105[[ language ]] 2106name = "dtd" 2107scope = "source.dtd" 2108injection-regex = "dtd" 2109file-types = [ "dtd" , "ent" ] 2110indent = { tab-width = 2 , unit = " " } 2111roots = [] 2112 2113[ language . auto-pairs ] 2114'(' = ')' 2115'[' = ']' 2116'"' = '"' 2117"'" = "'" 2118'<' = '>' 2119 2120[[ grammar ]] 2121name = "dtd" 2122source = { git = "https://github.com/KMikeeU/tree-sitter-dtd" , rev = "6116becb02a6b8e9588ef73d300a9ba4622e156f" } 2123 2124[[ language ]] 2125name = "wit" 2126scope = "source.wit" 2127injection-regex = "wit" 2128file-types = [ "wit" ] 2129roots = [] 2130comment-token = "//" 2131indent = { tab-width = 2 , unit = " " } 2132 2133[ language . auto-pairs ] 2134'(' = ')' 2135'{' = '}' 2136'[' = ']' 2137'"' = '"' 2138"'" = "'" 2139"<" = ">" 2140 2141[[ grammar ]] 2142name = "wit" 2143source = { git = "https://github.com/hh9527/tree-sitter-wit" , rev = "c917790ab9aec50c5fd664cbfad8dd45110cfff3" } 2144 2145[[ language ]] 2146name = "env" 2147scope = "source.env" 2148file-types = [ ".env" , ".env.local" , ".env.development" , ".env.production" , ".env.dist" , ".envrc" ] 2149injection-regex = "env" 2150comment-token = "#" 2151indent = { tab-width = 4 , unit = "\t" } 2152roots = [] 2153grammar = "bash" 2154 2155[[ language ]] 2156name = "ini" 2157scope = "source.ini" 2158file-types = [ "ini" ] 2159injection-regex = "ini" 2160comment-token = "#" 2161indent = { tab-width = 4 , unit = "\t" } 2162roots = [] 2163 2164[[ grammar ]] 2165name = "ini" 2166source = { git = "https://github.com/justinmk/tree-sitter-ini" , rev = "4d247fb876b4ae6b347687de4a179511bf67fcbc" } 2167 2168[[ language ]] 2169name = "bicep" 2170scope = "source.bicep" 2171file-types = [ "bicep" ] 2172roots = [] 2173auto-format = true 2174comment-token = "//" 2175indent = { tab-width = 2 , unit = " " } 2176language-server = { command = "bicep-langserver" } 2177 2178[[ grammar ]] 2179name = "bicep" 2180source = { git = "https://github.com/the-mikedavis/tree-sitter-bicep" , rev = "d8e097fcfa143854861ef737161163a09cc2916b" } 2181 2182[[ language ]] 2183name = "qml" 2184scope = "source.qml" 2185file-types = [ "qml" ] 2186roots = [] 2187language-server = { command = "qmlls" } 2188indent = { tab-width = 4 , unit = " " } 2189grammar = "qmljs" 2190 2191[[ grammar ]] 2192name = "qmljs" 2193source = { git = "https://github.com/yuja/tree-sitter-qmljs" , rev = "0b2b25bcaa7d4925d5f0dda16f6a99c588a437f1" } 2194 2195[[ language ]] 2196name = "mermaid" 2197scope = "source.mermaid" 2198injection-regex = "mermaid" 2199file-types = [ "mermaid" ] 2200roots = [] 2201comment-token = "%%" 2202indent = { tab-width = 4 , unit = " " } 2203 2204[[ grammar ]] 2205name = "mermaid" 2206source = { git = "https://github.com/monaqa/tree-sitter-mermaid" , rev = "d787c66276e7e95899230539f556e8b83ee16f6d" } 2207 2208[[ language ]] 2209name = "matlab" 2210scope = "source.m" 2211file-types = [ "m" ] 2212comment-token = "%" 2213shebangs = [ "octave-cli" , "matlab" ] 2214roots = [] 2215indent = { tab-width = 2 , unit = " " } 2216 2217[[ grammar ]] 2218name = "matlab" 2219source = { git = "https://github.com/mstanciu552/tree-sitter-matlab" , rev = "2d5d3d5193718a86477d4335aba5b34e79147326" } 2220 2221[[ language ]] 2222name = "ponylang" 2223scope = "source.pony" 2224file-types = [ "pony" ] 2225injection-regex = "pony" 2226roots = [ "corral.json" , "lock.json" ] 2227indent = { tab-width = 2 , unit = " " } 2228comment-token = "//" 2229 2230[[ grammar ]] 2231name = "ponylang" 2232source = { git = "https://github.com/mfelsche/tree-sitter-ponylang" , rev = "ef66b151bc2604f431b5668fcec4747db4290e11" } 2233 2234[[ language ]] 2235name = "dhall" 2236scope = "source.dhall" 2237injection-regex = "dhall" 2238file-types = [ "dhall" ] 2239roots = [] 2240comment-token = "--" 2241indent = { tab-width = 2 , unit = " " } 2242language-server = { command = "dhall-lsp-server" } 2243formatter = { command = "dhall" , args = [ "format" ] } 2244 2245[[ grammar ]] 2246name = "dhall" 2247source = { git = "https://github.com/jbellerb/tree-sitter-dhall" , rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" } 2248 2249[[ language ]] 2250name = "sage" 2251scope = "source.sage" 2252file-types = [ "sage" ] 2253injection-regex = "sage" 2254roots = [] 2255comment-token = "#" 2256indent = { tab-width = 4 , unit = " " } 2257grammar = "python" 2258 2259[[ language ]] 2260name = "msbuild" 2261scope = "source.msbuild" 2262injection-regex = "msbuild" 2263file-types = [ "proj" , "vbproj" , "csproj" , "fsproj" , "targets" , "props" ] 2264indent = { tab-width = 2 , unit = " " } 2265roots = [] 2266grammar = "xml" 2267 2268[ language . auto-pairs ] 2269'(' = ')' 2270'{' = '}' 2271'[' = ']' 2272'"' = '"' 2273"'" = "'" 2274"<" = ">" 2275 2276[[ language ]] 2277name = "pem" 2278scope = "source.pem" 2279file-types = [ "pem" , "cert" , "crt" ] 2280injection-regex = "pem" 2281roots = [] 2282grammar = "pem" 2283 2284[[ grammar ]] 2285name = "pem" 2286source = { git = "https://github.com/mtoohey31/tree-sitter-pem" , rev = "be67a4330a1aa507c7297bc322204f936ec1132c" } 2287 2288[[ language ]] 2289name = "passwd" 2290scope = "source.passwd" 2291file-types = [ "passwd" ] 2292roots = [] 2293 2294[[ grammar ]] 2295name = "passwd" 2296source = { git = "https://github.com/ath3/tree-sitter-passwd" , rev = "20239395eacdc2e0923a7e5683ad3605aee7b716" } 2297 2298[[ language ]] 2299name = "hosts" 2300scope = "source.hosts" 2301file-types = [ "hosts" ] 2302roots = [] 2303comment-token = "#" 2304 2305[[ grammar ]] 2306name = "hosts" 2307source = { git = "https://github.com/ath3/tree-sitter-hosts" , rev = "301b9379ce7dfc8bdbe2c2699a6887dcb73953f9" } 2308 2309[[ language ]] 2310name = "uxntal" 2311scope = "source.tal" 2312injection-regex = "tal" 2313file-types = [ "tal" ] 2314roots = [] 2315auto-format = false 2316comment-token = "(" 2317 2318[[ grammar ]] 2319name = "uxntal" 2320source = { git = "https://github.com/Jummit/tree-sitter-uxntal" , rev = "9297e95ef74380b0ad84c4fd98f91e9f6e4319e6" } 2321 2322[[ language ]] 2323name = "yuck" 2324scope = "source.yuck" 2325injection-regex = "yuck" 2326file-types = [ "yuck" ] 2327roots = [] 2328comment-token = ";" 2329indent = { tab-width = 2 , unit = " " } 2330 2331[[ grammar ]] 2332name = "yuck" 2333source = { git = "https://github.com/Philipp-M/tree-sitter-yuck" , rev = "e3d91a3c65decdea467adebe4127b8366fa47919" } 2334 2335[[ language ]] 2336name = "prql" 2337scope = "source.prql" 2338injection-regex = "prql" 2339file-types = [ "prql" ] 2340roots = [] 2341comment-token = "#" 2342indent = { tab-width = 4 , unit = " " } 2343 2344[[ grammar ]] 2345name = "prql" 2346source = { git = "https://github.com/PRQL/tree-sitter-prql" , rev = "3f27cac466f030ee7d985d91eba5470e01dd21ea" } 2347 2348[[ language ]] 2349name = "po" 2350scope = "source.po" 2351file-types = [ "po" , "pot" ] 2352roots = [] 2353comment-token = "#" 2354 2355[[ grammar ]] 2356name = "po" 2357source = { git = "https://github.com/erasin/tree-sitter-po" , rev = "417cee9abb2053ed26b19e7de972398f2da9b29e" } 2358 2359[[ language ]] 2360name = "nasm" 2361scope = "source.nasm" 2362file-types = [ "asm" , "s" , "S" , "nasm" ] 2363injection-regex = "n?asm" 2364roots = [] 2365comment-token = ";" 2366indent = { tab-width = 8 , unit = " " } 2367 2368[[ grammar ]] 2369name = "nasm" 2370source = { git = "https://github.com/naclsn/tree-sitter-nasm" , rev = "a0db15db6fcfb1bf2cc8702500e55e558825c48b" } 2371 2372[[ language ]] 2373name = "rst" 2374scope = "source.rst" 2375comment-token = ".." 2376file-types = [ "rst" ] 2377roots = [] 2378 2379[[ grammar ]] 2380name = "rst" 2381source = { git = "https://github.com/stsewd/tree-sitter-rst" , rev = "25e6328872ac3a764ba8b926aea12719741103f1" } 2382 2383[[ language ]] 2384name = "capnp" 2385scope = "source.capnp" 2386injection-regex = "capnp" 2387file-types = [ "capnp" ] 2388roots = [] 2389comment-token = "#" 2390indent = { tab-width = 2 , unit = " " } 2391 2392[[ grammar ]] 2393name = "capnp" 2394source = { git = "https://github.com/amaanq/tree-sitter-capnp" , rev = "fc6e2addf103861b9b3dffb82c543eb6b71061aa" } 2395 2396[[ language ]] 2397name = "smithy" 2398scope = "source.smithy" 2399injection-regex = "smithy" 2400file-types = [ "smithy" ] 2401roots = [ "smithy-build.json" ] 2402comment-token = "//" 2403indent = { tab-width = 4 , unit = " " } 2404language-server = { command = "cs" , args = [ "launch" , "--contrib" , "smithy-language-server" , "--" , "0" ] } 2405 2406[[ grammar ]] 2407name = "smithy" 2408source = { git = "https://github.com/indoorvivants/tree-sitter-smithy" , rev = "cf8c7eb9faf7c7049839585eac19c94af231e6a0" } 2409 2410[[ language ]] 2411name = "vhdl" 2412scope = "source.vhdl" 2413file-types = [ "vhd" , "vhdl" ] 2414roots = [] 2415comment-token = "--" 2416language-server = { command = "vhdl_ls" , args = [] } 2417indent = { tab-width = 2 , unit = " " } 2418injection-regex = "vhdl" 2419 2420[[ grammar ]] 2421name = "vhdl" 2422source = { git = "https://github.com/teburd/tree-sitter-vhdl" , rev = "c57313adee2231100db0a7880033f6865deeadb2" } 2423 2424[[ language ]] 2425name = "rego" 2426roots = [] 2427scope = "source.rego" 2428injection-regex = "rego" 2429file-types = [ "rego" ] 2430auto-format = true 2431comment-token = "#" 2432language-server = { command = "regols" } 2433grammar = "rego" 2434 2435[[ grammar ]] 2436name = "rego" 2437source = { git = "https://github.com/FallenAngel97/tree-sitter-rego" , rev = "b2667c975f07b33be3ceb83bea5cfbad88095866" } 2438 2439[[ language ]] 2440name = "nim" 2441scope = "source.nim" 2442injection-regex = "nim" 2443file-types = [ "nim" , "nims" , "nimble" ] 2444shebangs = [] 2445roots = [] 2446comment-token = "#" 2447indent = { tab-width = 2 , unit = " " } 2448language-server = { command = "nimlangserver" } 2449 2450[ language . auto-pairs ] 2451'(' = ')' 2452'[' = ']' 2453'"' = '"' 2454"'" = "'" 2455'{' = '}' 2456 2457# Nim's tree-sitter grammar is in heavy development. 2458[[ grammar ]] 2459name = "nim" 2460source = { git = "https://github.com/aMOPel/tree-sitter-nim" , rev = "240239b232550e431d67de250d1b5856209e7f06" } 2461 2462[[ language ]] 2463name = "cabal" 2464scope = "source.cabal" 2465file-types = [ "cabal" ] 2466roots = [ "cabal.project" , "Setup.hs" ] 2467indent = { tab-width = 2 , unit = " " } 2468comment-token = "--" 2469 2470[[ language ]] 2471name = "hurl" 2472scope = "source.hurl" 2473injection-regex = "hurl" 2474file-types = [ "hurl" ] 2475roots = [] 2476comment-token = "#" 2477indent = { tab-width = 2 , unit = " " } 2478 2479[[ grammar ]] 2480name = "hurl" 2481source = { git = "https://github.com/pfeiferj/tree-sitter-hurl" , rev = "264c42064b61ee21abe88d0061f29a0523352e22" } 2482 2483[[ language ]] 2484name = "markdoc" 2485scope = "text.markdoc" 2486roots = [] 2487file-types = [ "mdoc" ] 2488language-server = { command = "markdoc-ls" , args = [ "--stdio" ] } 2489 2490[[ grammar ]] 2491name = "markdoc" 2492source = { git = "https://github.com/markdoc-extra/tree-sitter-markdoc" , rev = "5ffe71b29e8a3f94823913ea9cea51fcfa7e3bf8" } 2493 2494[[ language ]] 2495name = "opencl" 2496scope = "source.cl" 2497injection-regex = "(cl|opencl)" 2498file-types = [ "cl" ] 2499roots = [] 2500comment-token = "//" 2501language-server = { command = "clangd" } 2502 2503[[ grammar ]] 2504name = "opencl" 2505source = { git = "https://github.com/lefp/tree-sitter-opencl" , rev = "8e1d24a57066b3cd1bb9685bbc1ca9de5c1b78fb" } 2506 2507[[ language ]] 2508name = "just" 2509scope = "source.just" 2510file-types = [ "justfile" , "Justfile" , "just" ] 2511injection-regex = "just" 2512roots = [] 2513comment-token = "#" 2514indent = { tab-width = 4 , unit = "\t" } 2515 2516[[ grammar ]] 2517name = "just" 2518source = { git = "https://github.com/IndianBoy42/tree-sitter-just" , rev = "8af0aab79854aaf25b620a52c39485849922f766" }