@ -6,6 +6,8 @@ use-grammars = { except = [ "hare", "wren", "gemini" ] }
[ language-server ]
als = { command = "als" }
ada-language-server = { command = "ada_language_server" }
ada-gpr-language-server = { command = "ada_language_server" , args = [ "--language-gpr" ] }
awk-language-server = { command = "awk-language-server" }
bash-language-server = { command = "bash-language-server" , args = [ "start" ] }
bass = { command = "bass" , args = [ "--lsp" ] }
@ -45,11 +47,13 @@ kotlin-language-server = { command = "kotlin-language-server" }
lean = { command = "lean" , args = [ "--server" ] }
ltex-ls = { command = "ltex-ls" }
markdoc-ls = { command = "markdoc-ls" , args = [ "--stdio" ] }
markdown-oxide = { command = "markdown-oxide" }
marksman = { command = "marksman" , args = [ "server" ] }
metals = { command = "metals" , config = { "isHttpEnabled" = true } }
mint = { command = "mint" , args = [ "ls" ] }
nil = { command = "nil" }
nimlangserver = { command = "nimlangserver" }
nimlsp = { command = "nimlsp" }
nls = { command = "nls" }
nu-lsp = { command = "nu" , args = [ "--lsp" ] }
ocamllsp = { command = "ocamllsp" }
@ -94,6 +98,9 @@ yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
zls = { command = "zls" }
blueprint-compiler = { command = "blueprint-compiler" , args = [ "lsp" ] }
typst-lsp = { command = "typst-lsp" }
pkgbuild-language-server = { command = "pkgbuild-language-server" }
helm_ls = { command = "helm_ls" , args = [ "serve" ] }
ember-language-server = { command = "ember-language-server" , args = [ "--stdio" ] }
[ language-server . ansible-language-server ]
command = "ansible-language-server"
@ -191,7 +198,12 @@ injection-regex = "rust"
file-types = [ "rs" ]
roots = [ "Cargo.toml" , "Cargo.lock" ]
auto-format = true
comment-token = "//"
comment-tokens = [ "//" , "///" , "//!" ]
block-comment-tokens = [
{ start = "/*" , end = "*/" } ,
{ start = "/**" , end = "*/" } ,
{ start = "/*!" , end = "*/" } ,
]
language-servers = [ "rust-analyzer" ]
indent = { tab-width = 4 , unit = " " }
persistent-diagnostic-sources = [ "rustc" , "clippy" ]
@ -283,6 +295,7 @@ injection-regex = "protobuf"
file-types = [ "proto" ]
language-servers = [ "bufls" , "pbkit" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
[ [ grammar ] ]
@ -326,6 +339,7 @@ injection-regex = "mint"
file-types = [ "mint" ]
shebangs = [ ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "mint" ]
indent = { tab-width = 2 , unit = " " }
@ -358,7 +372,6 @@ scope = "source.json"
injection-regex = "json"
file-types = [
"json" ,
"jsonc" ,
"arb" ,
"ipynb" ,
"geojson" ,
@ -387,6 +400,15 @@ indent = { tab-width = 2, unit = " " }
name = "json"
source = { git = "https://github.com/tree-sitter/tree-sitter-json" , rev = "73076754005a460947cafe8e03a8cf5fa4fa2938" }
[ [ language ] ]
name = "jsonc"
scope = "source.json"
injection-regex = "jsonc"
file-types = [ "jsonc" ]
grammar = "json"
language-servers = [ "vscode-json-language-server" ]
auto-format = true
indent = { tab-width = 2 , unit = " " }
[ [ language ] ]
name = "json5"
@ -408,6 +430,7 @@ scope = "source.c"
injection-regex = "c"
file-types = [ "c" ] # TODO: ["h"]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "clangd" ]
indent = { tab-width = 2 , unit = " " }
@ -444,6 +467,7 @@ scope = "source.cpp"
injection-regex = "cpp"
file-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" } ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "clangd" ]
indent = { tab-width = 2 , unit = " " }
@ -491,6 +515,7 @@ injection-regex = "c-?sharp"
file-types = [ "cs" , "csx" , "cake" ]
roots = [ "sln" , "csproj" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = "\t" }
language-servers = [ "omnisharp" ]
@ -549,6 +574,7 @@ file-types = ["go"]
roots = [ "go.work" , "go.mod" ]
auto-format = true
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "gopls" , "golangci-lint-lsp" ]
# TODO: gopls needs utf-8 offsets?
indent = { tab-width = 4 , unit = "\t" }
@ -614,6 +640,7 @@ scope = "source.gotmpl"
injection-regex = "gotmpl"
file-types = [ "gotmpl" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "gopls" ]
indent = { tab-width = 2 , unit = " " }
@ -643,6 +670,7 @@ language-id = "javascript"
file-types = [ "js" , "mjs" , "cjs" , "rules" , "es6" , "pac" , { glob = "jakefile" } ]
shebangs = [ "node" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2 , unit = " " }
@ -669,6 +697,7 @@ injection-regex = "jsx"
language-id = "javascriptreact"
file-types = [ "jsx" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2 , unit = " " }
grammar = "javascript"
@ -680,6 +709,8 @@ injection-regex = "(ts|typescript)"
file-types = [ "ts" , "mts" , "cts" ]
language-id = "typescript"
shebangs = [ "deno" , "ts-node" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2 , unit = " " }
@ -693,6 +724,8 @@ scope = "source.tsx"
injection-regex = "(tsx)" # |typescript
language-id = "typescriptreact"
file-types = [ "tsx" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2 , unit = " " }
@ -705,6 +738,7 @@ name = "css"
scope = "source.css"
injection-regex = "css"
file-types = [ "css" , "scss" ]
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "vscode-css-language-server" ]
auto-format = true
indent = { tab-width = 2 , unit = " " }
@ -718,6 +752,7 @@ name = "scss"
scope = "source.scss"
injection-regex = "scss"
file-types = [ "scss" ]
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "vscode-css-language-server" ]
auto-format = true
indent = { tab-width = 2 , unit = " " }
@ -731,6 +766,7 @@ name = "html"
scope = "text.html.basic"
injection-regex = "html"
file-types = [ "html" , "htm" , "shtml" , "xhtml" , "xht" , "jsp" , "asp" , "aspx" , "jshtm" , "volt" , "rhtml" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
language-servers = [ "vscode-html-language-server" ]
auto-format = true
indent = { tab-width = 2 , unit = " " }
@ -875,7 +911,6 @@ file-types = [
{ glob = ".zshrc" } ,
{ glob = ".zimrc" } ,
{ glob = "APKBUILD" } ,
{ glob = "PKGBUILD" } ,
{ glob = ".bash_aliases" } ,
{ glob = ".Renviron" } ,
{ glob = ".xprofile" } ,
@ -901,6 +936,7 @@ injection-regex = "php"
file-types = [ "php" , "inc" , "php4" , "php5" , "phtml" , "ctp" ]
shebangs = [ "php" ]
roots = [ "composer.json" , "index.php" ]
comment-token = "//"
language-servers = [ "intelephense" ]
indent = { tab-width = 4 , unit = " " }
@ -908,11 +944,35 @@ indent = { tab-width = 4, unit = " " }
name = "php"
source = { git = "https://github.com/tree-sitter/tree-sitter-php" , rev = "f860e598194f4a71747f91789bf536b393ad4a56" }
[ [ language ] ]
name = "php-only"
scope = "source.php-only"
injection-regex = "php-only"
file-types = [ ]
indent = { tab-width = 4 , unit = " " }
roots = [ "composer.json" , "index.php" ]
[ [ grammar ] ]
name = "php-only"
source = { git = "https://github.com/tree-sitter/tree-sitter-php" , rev = "cf1f4a0f1c01c705c1d6cf992b104028d5df0b53" , subpath = "php_only" }
[ [ language ] ]
name = "blade"
scope = "source.blade.php"
file-types = [ { glob = "*.blade.php" } , "blade" ]
injection-regex = "blade"
roots = [ "composer.json" , "index.php" ]
[ [ grammar ] ]
name = "blade"
source = { git = "https://github.com/EmranMR/tree-sitter-blade" , rev = "4c66efe1e05c639c555ee70092021b8223d2f440" }
[ [ language ] ]
name = "twig"
scope = "source.twig"
injection-regex = "twig"
file-types = [ "twig" ]
block-comment-tokens = { start = "{#" , end = "#}" }
indent = { tab-width = 2 , unit = " " }
[ [ grammar ] ]
@ -966,6 +1026,7 @@ injection-regex = "lean"
file-types = [ "lean" ]
roots = [ "lakefile.lean" ]
comment-token = "--"
block-comment-tokens = { start = "/-" , end = "-/" }
language-servers = [ "lean" ]
indent = { tab-width = 2 , unit = " " }
@ -992,6 +1053,7 @@ file-types = ["jl"]
shebangs = [ "julia" ]
roots = [ "Manifest.toml" , "Project.toml" ]
comment-token = "#"
block-comment-tokens = { start = "#=" , end = "=#" }
language-servers = [ "julia" ]
indent = { tab-width = 4 , unit = " " }
@ -1003,7 +1065,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-julia", rev = "8fb3
name = "java"
scope = "source.java"
injection-regex = "java"
file-types = [ "java" , "jav" ]
file-types = [ "java" , "jav" , "pde" ]
roots = [ "pom.xml" , "build.gradle" , "build.gradle.kts" ]
language-servers = [ "jdtls" ]
indent = { tab-width = 2 , unit = " " }
@ -1055,7 +1117,7 @@ scope = "source.ocaml"
injection-regex = "ocaml"
file-types = [ "ml" ]
shebangs = [ "ocaml" , "ocamlrun" , "ocamlscript" ]
comment-token = "(* *)"
block- comment-tokens = { start = "(* ", end = " *)" }
language-servers = [ "ocamllsp" ]
indent = { tab-width = 2 , unit = " " }
@ -1067,13 +1129,14 @@ indent = { tab-width = 2, unit = " " }
[ [ grammar ] ]
name = "ocaml"
source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml" , rev = " 23d419ba45789c5a47d31448061557716b02750a ", subpath = "ocaml" }
source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml" , rev = " 9965d208337d88bbf1a38ad0b0fe49e5f5ec9677 ", subpath = "ocaml" }
[ [ language ] ]
name = "ocaml-interface"
scope = "source.ocaml.interface"
file-types = [ "mli" ]
shebangs = [ ]
block-comment-tokens = { start = "(*" , end = "*)" }
comment-token = "(**)"
language-servers = [ "ocamllsp" ]
indent = { tab-width = 2 , unit = " " }
@ -1086,7 +1149,7 @@ indent = { tab-width = 2, unit = " " }
[ [ grammar ] ]
name = "ocaml-interface"
source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml" , rev = " 23d419ba45789c5a47d31448061557716b02750a ", subpath = "interface" }
source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml" , rev = " 9965d208337d88bbf1a38ad0b0fe49e5f5ec9677 ", subpath = "interface" }
[ [ language ] ]
name = "lua"
@ -1096,12 +1159,13 @@ file-types = ["lua"]
shebangs = [ "lua" , "luajit" ]
roots = [ ".luarc.json" , ".luacheckrc" , ".stylua.toml" , "selene.toml" , ".git" ]
comment-token = "--"
block-comment-tokens = { start = "--[[" , end = "--]]" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "lua-language-server" ]
[ [ grammar ] ]
name = "lua"
source = { git = "https://github.com/ MunifTanjim/tree-sitter-lua", rev = "887dfd4e83c469300c279314ff1619b1d0b85b91 " }
source = { git = "https://github.com/ tree-sitter-grammars/tree-sitter-lua", rev = "88e446476a1e97a8724dff7a23e2d709855077f2 " }
[ [ language ] ]
name = "svelte"
@ -1121,6 +1185,7 @@ scope = "source.vue"
injection-regex = "vue"
file-types = [ "vue" ]
roots = [ "package.json" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "vuels" ]
@ -1148,6 +1213,7 @@ injection-regex = "haskell"
file-types = [ "hs" , "hs-boot" ]
roots = [ "Setup.hs" , "stack.yaml" , "cabal.project" ]
comment-token = "--"
block-comment-tokens = { start = "{-" , end = "-}" }
language-servers = [ "haskell-language-server" ]
indent = { tab-width = 2 , unit = " " }
@ -1173,6 +1239,7 @@ injection-regex = "purescript"
file-types = [ "purs" ]
roots = [ "spago.yaml" , "spago.dhall" , "bower.json" ]
comment-token = "--"
block-comment-tokens = { start = "{-" , end = "-}" }
language-servers = [ "purescript-language-server" ]
indent = { tab-width = 2 , unit = " " }
auto-format = true
@ -1227,6 +1294,7 @@ scope = "source.prolog"
file-types = [ "pl" , "prolog" ]
shebangs = [ "swipl" ]
comment-token = "%"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "swipl" ]
[ [ language ] ]
@ -1246,6 +1314,7 @@ name = "cmake"
scope = "source.cmake"
file-types = [ "cmake" , { glob = "CMakeLists.txt" } ]
comment-token = "#"
block-comment-tokens = { start = "#[[" , end = "]]" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "cmake-language-server" ]
injection-regex = "cmake"
@ -1272,6 +1341,7 @@ name = "glsl"
scope = "source.glsl"
file-types = [ "glsl" , "vert" , "tesc" , "tese" , "geom" , "frag" , "comp" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
injection-regex = "glsl"
@ -1309,6 +1379,7 @@ file-types = ["rkt", "rktd", "rktl", "scrbl"]
shebangs = [ "racket" ]
comment-token = ";"
indent = { tab-width = 2 , unit = " " }
block-comment-tokens = { start = "#|" , end = "|#" }
language-servers = [ "racket" ]
grammar = "scheme"
@ -1343,6 +1414,7 @@ name = "wgsl"
scope = "source.wgsl"
file-types = [ "wgsl" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "wgsl_analyzer" ]
indent = { tab-width = 4 , unit = " " }
@ -1389,6 +1461,7 @@ name = "tablegen"
scope = "source.tablegen"
file-types = [ "td" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
injection-regex = "tablegen"
@ -1402,8 +1475,9 @@ scope = "source.md"
injection-regex = "md|markdown"
file-types = [ "md" , "markdown" , "mkd" , "mdwn" , "mdown" , "markdn" , "mdtxt" , "mdtext" , "workbook" , { glob = "PULLREQ_EDITMSG" } ]
roots = [ ".marksman.toml" ]
language-servers = [ "marksman" ]
language-servers = [ "marksman" , "markdown-oxide" ]
indent = { tab-width = 2 , unit = " " }
block-comment-tokens = { start = "<!--" , end = "-->" }
[ [ grammar ] ]
name = "markdown"
@ -1427,6 +1501,7 @@ file-types = ["dart"]
roots = [ "pubspec.yaml" ]
auto-format = true
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "dart" ]
indent = { tab-width = 2 , unit = " " }
@ -1440,6 +1515,7 @@ scope = "source.scala"
roots = [ "build.sbt" , "build.sc" , "build.gradle" , "build.gradle.kts" , "pom.xml" , ".scala-build" ]
file-types = [ "scala" , "sbt" , "sc" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "metals" ]
@ -1452,7 +1528,20 @@ name = "dockerfile"
scope = "source.dockerfile"
injection-regex = "docker|dockerfile"
roots = [ "Dockerfile" , "Containerfile" ]
file-types = [ { glob = "Dockerfile*" } , { glob = "dockerfile*" } , { glob = "Containerfile*" } , { glob = "containerfile*" } ]
file-types = [
"Dockerfile" ,
{ glob = "Dockerfile" } ,
{ glob = "Dockerfile.*" } ,
"dockerfile" ,
{ glob = "dockerfile" } ,
{ glob = "dockerfile.*" } ,
"Containerfile" ,
{ glob = "Containerfile" } ,
{ glob = "Containerfile.*" } ,
"containerfile" ,
{ glob = "containerfile" } ,
{ glob = "containerfile.*" } ,
]
comment-token = "#"
indent = { tab-width = 2 , unit = " " }
language-servers = [ "docker-langserver" ]
@ -1465,7 +1554,7 @@ source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev =
name = "docker-compose"
scope = "source.yaml.docker-compose"
roots = [ "docker-compose.yaml" , "docker-compose.yml" ]
language-servers = [ "docker-compose-langserver" ]
language-servers = [ "docker-compose-langserver" , "yaml-language-server" ]
file-types = [ { glob = "docker-compose.yaml" } , { glob = "docker-compose.yml" } ]
comment-token = "#"
indent = { tab-width = 2 , unit = " " }
@ -1528,7 +1617,7 @@ indent = { tab-width = 4, unit = "\t" }
[ [ grammar ] ]
name = "git-config"
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config" , rev = " 0e4f0baf90b57e5aeb62dcdbf03062c6315d43ea " }
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config" , rev = " 9c2a1b7894e6d9eedfe99805b829b4ecd871375e " }
[ [ language ] ]
name = "git-attributes"
@ -1560,6 +1649,8 @@ scope = "source.graphql"
injection-regex = "graphql"
file-types = [ "gql" , "graphql" , "graphqls" ]
language-servers = [ "graphql-language-service" ]
comment-token = "#"
block-comment-tokens = { start = "\"\"\"" , end = "\"\"\"" }
indent = { tab-width = 2 , unit = " " }
[ [ grammar ] ]
@ -1574,6 +1665,7 @@ file-types = ["elm"]
roots = [ "elm.json" ]
auto-format = true
comment-token = "--"
block-comment-tokens = { start = "{-" , end = "-}" }
language-servers = [ "elm-language-server" ]
indent = { tab-width = 4 , unit = " " }
@ -1586,6 +1678,7 @@ name = "iex"
scope = "source.iex"
injection-regex = "iex"
file-types = [ "iex" ]
comment-token = "#"
[ [ grammar ] ]
name = "iex"
@ -1599,6 +1692,7 @@ file-types = ["res"]
roots = [ "bsconfig.json" ]
auto-format = true
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "rescript-language-server" ]
indent = { tab-width = 2 , unit = " " }
@ -1617,17 +1711,9 @@ comment-token = "%%"
indent = { tab-width = 4 , unit = " " }
language-servers = [ "erlang-ls" ]
[ language . auto-pairs ]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
"'" = "'"
'`' = "'"
[ [ grammar ] ]
name = "erlang"
source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang" , rev = " 731e50555a51f0d8635992b0e60dc98cc47a58d7 " }
source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang" , rev = "9d4b36a76d5519e3dbf1ec4f4b61bb1a293f584c" }
[ [ language ] ]
name = "kotlin"
@ -1635,6 +1721,7 @@ scope = "source.kotlin"
file-types = [ "kt" , "kts" ]
roots = [ "settings.gradle" , "settings.gradle.kts" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
language-servers = [ "kotlin-language-server" ]
@ -1649,6 +1736,7 @@ injection-regex = "(hcl|tf|nomad)"
language-id = "terraform"
file-types = [ "hcl" , "tf" , "nomad" ]
comment-token = "#"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "terraform-ls" ]
auto-format = true
@ -1663,6 +1751,7 @@ scope = "source.tfvars"
language-id = "terraform-vars"
file-types = [ "tfvars" ]
comment-token = "#"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "terraform-ls" ]
auto-format = true
@ -1685,6 +1774,7 @@ scope = "source.sol"
injection-regex = "(sol|solidity)"
file-types = [ "sol" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
language-servers = [ "solc" ]
@ -1705,7 +1795,7 @@ auto-format = true
[ [ grammar ] ]
name = "gleam"
source = { git = "https://github.com/gleam-lang/tree-sitter-gleam" , rev = "b 2afa4fd6bb41a7bf912b034c653c90af7ae5122 " }
source = { git = "https://github.com/gleam-lang/tree-sitter-gleam" , rev = "b cf9c45b56cbe46e9dac5eee0aee75df270000ac " }
[ [ language ] ]
name = "ron"
@ -1713,6 +1803,7 @@ scope = "source.ron"
injection-regex = "ron"
file-types = [ "ron" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
[ [ grammar ] ]
@ -1754,6 +1845,7 @@ injection-regex = "(r|R)md"
file-types = [ "rmd" , "Rmd" ]
indent = { tab-width = 2 , unit = " " }
grammar = "markdown"
block-comment-tokens = { start = "<!--" , end = "-->" }
language-servers = [ "r" ]
[ [ language ] ]
@ -1763,6 +1855,7 @@ injection-regex = "swift"
file-types = [ "swift" ]
roots = [ "Package.swift" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
auto-format = true
language-servers = [ "sourcekit-lsp" ]
@ -1775,6 +1868,7 @@ name = "erb"
scope = "text.html.erb"
injection-regex = "erb"
file-types = [ "erb" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
grammar = "embedded-template"
@ -1783,6 +1877,7 @@ name = "ejs"
scope = "text.html.ejs"
injection-regex = "ejs"
file-types = [ "ejs" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
grammar = "embedded-template"
@ -1796,6 +1891,7 @@ scope = "source.eex"
injection-regex = "eex"
file-types = [ "eex" ]
roots = [ "mix.exs" , "mix.lock" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
[ [ grammar ] ]
@ -1808,6 +1904,7 @@ scope = "source.heex"
injection-regex = "heex"
file-types = [ "heex" ]
roots = [ "mix.exs" , "mix.lock" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "elixir-ls" ]
@ -1820,6 +1917,7 @@ name = "sql"
scope = "source.sql"
file-types = [ "sql" , "dsql" ]
comment-token = "--"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
injection-regex = "sql"
@ -1862,7 +1960,7 @@ source = { git = "https://github.com/PrestonKnopp/tree-sitter-godot-resource", r
name = "nu"
scope = "source.nu"
injection-regex = "nu"
file-types = [ "nu" ]
file-types = [ "nu" , "nuon" ]
shebangs = [ "nu" ]
comment-token = "#"
indent = { tab-width = 2 , unit = " " }
@ -1878,6 +1976,7 @@ scope = "source.vala"
injection-regex = "vala"
file-types = [ "vala" , "vapi" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "vala-language-server" ]
@ -1903,6 +2002,7 @@ scope = "source.devicetree"
injection-regex = "(dtsi?|devicetree|fdt)"
file-types = [ "dts" , "dtsi" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = "\t" }
[ [ grammar ] ]
@ -1941,6 +2041,7 @@ file-types = ["odin"]
roots = [ "ols.json" ]
language-servers = [ "ols" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = "\t" }
formatter = { command = "odinfmt" , args = [ "-stdin" , "true" ] }
@ -1998,6 +2099,7 @@ roots = ["v.mod"]
language-servers = [ "vlang-language-server" ]
auto-format = true
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = "\t" }
[ [ grammar ] ]
@ -2009,6 +2111,7 @@ name = "verilog"
scope = "source.verilog"
file-types = [ "v" , "vh" , "sv" , "svh" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "svlangserver" ]
indent = { tab-width = 2 , unit = " " }
injection-regex = "verilog"
@ -2045,6 +2148,7 @@ scope = "source.openscad"
injection-regex = "openscad"
file-types = [ "scad" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "openscad-lsp" ]
indent = { tab-width = 2 , unit = "\t" }
@ -2092,6 +2196,7 @@ grammar = "python"
[ [ language ] ]
name = "elvish"
scope = "source.elvish"
shebangs = [ "elvish" ]
file-types = [ "elv" ]
comment-token = "#"
indent = { tab-width = 2 , unit = " " }
@ -2109,6 +2214,7 @@ injection-regex = "idr"
file-types = [ "idr" ]
shebangs = [ ]
comment-token = "--"
block-comment-tokens = { start = "{-" , end = "-}" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "idris2-lsp" ]
@ -2144,6 +2250,7 @@ scope = "source.dot"
injection-regex = "dot"
file-types = [ "dot" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
language-servers = [ "dot-language-server" ]
@ -2173,12 +2280,13 @@ scope = "source.slint"
injection-regex = "slint"
file-types = [ "slint" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
language-servers = [ "slint-lsp" ]
[ [ grammar ] ]
name = "slint"
source = { git = "https://github.com/slint-ui/tree-sitter-slint" , rev = " 15618215b79b9db08f824a5c97a12d073dcc1c00 " }
source = { git = "https://github.com/slint-ui/tree-sitter-slint" , rev = " 3c82235f41b63f35a01ae3888206e93585cbb84a " }
[ [ language ] ]
name = "task"
@ -2222,6 +2330,7 @@ scope = "source.pascal"
injection-regex = "pascal"
file-types = [ "pas" , "pp" , "inc" , "lpr" , "lfm" ]
comment-token = "//"
block-comment-tokens = { start = "{" , end = "}" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "pasls" ]
@ -2234,7 +2343,7 @@ name = "sml"
scope = "source.sml"
injection-regex = "sml"
file-types = [ "sml" ]
comment-token = "(*"
block- comment-tokens = { start = "(*" , end = "*)" }
[ [ grammar ] ]
name = "sml"
@ -2246,6 +2355,7 @@ scope = "source.jsonnet"
file-types = [ "libsonnet" , "jsonnet" ]
roots = [ "jsonnetfile.json" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "jsonnet-language-server" ]
@ -2253,11 +2363,27 @@ language-servers = [ "jsonnet-language-server" ]
name = "jsonnet"
source = { git = "https://github.com/sourcegraph/tree-sitter-jsonnet" , rev = "0475a5017ad7dc84845d1d33187f2321abcb261d" }
[ [ language ] ]
name = "ada"
scope = "source.ada"
injection-regex = "ada"
file-types = [ "adb" , "ads" , "gpr" ]
roots = [ "alire.toml" ]
comment-token = "--"
indent = { tab-width = 3 , unit = " " }
language-servers = [ "ada-language-server" , "ada-gpr-language-server" ]
[ [ grammar ] ]
name = "ada"
source = { git = "https://github.com/briot/tree-sitter-ada" , rev = "ba0894efa03beb70780156b91e28c716b7a4764d" }
[ [ language ] ]
name = "astro"
scope = "source.astro"
injection-regex = "astro"
file-types = [ "astro" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
[ [ grammar ] ]
@ -2281,6 +2407,7 @@ source = { git = "https://github.com/vito/tree-sitter-bass", rev = "501133e260d7
name = "wat"
scope = "source.wat"
comment-token = ";;"
block-comment-tokens = { start = "(;" , end = ";)" }
file-types = [ "wat" ]
[ [ grammar ] ]
@ -2291,6 +2418,7 @@ source = { git = "https://github.com/wasm-lsp/tree-sitter-wasm", rev = "2ca28a9f
name = "wast"
scope = "source.wast"
comment-token = ";;"
block-comment-tokens = { start = "(;" , end = ";)" }
file-types = [ "wast" ]
[ [ grammar ] ]
@ -2302,6 +2430,7 @@ name = "d"
scope = "source.d"
file-types = [ "d" , "dd" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
injection-regex = "d"
indent = { tab-width = 4 , unit = " " }
language-servers = [ "serve-d" ]
@ -2328,6 +2457,7 @@ name = "kdl"
scope = "source.kdl"
file-types = [ "kdl" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
injection-regex = "kdl"
[ [ grammar ] ]
@ -2396,8 +2526,10 @@ file-types = [
"xul" ,
"xoml" ,
"musicxml" ,
"glif"
"glif" ,
"ui"
]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
[ language . auto-pairs ]
@ -2437,6 +2569,7 @@ scope = "source.wit"
injection-regex = "wit"
file-types = [ "wit" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
[ language . auto-pairs ]
@ -2483,6 +2616,7 @@ file-types = [
"kube" ,
"network" ,
{ glob = ".editorconfig" } ,
{ glob = "rclone.conf" } ,
"properties" ,
"cfg" ,
"directory"
@ -2501,6 +2635,7 @@ scope = "source.bicep"
file-types = [ "bicep" ]
auto-format = true
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "bicep-langserver" ]
@ -2513,6 +2648,8 @@ name = "qml"
scope = "source.qml"
file-types = [ "qml" ]
language-servers = [ "qmlls" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 4 , unit = " " }
grammar = "qmljs"
@ -2524,7 +2661,7 @@ source = { git = "https://github.com/yuja/tree-sitter-qmljs", rev = "0b2b25bcaa7
name = "mermaid"
scope = "source.mermaid"
injection-regex = "mermaid"
file-types = [ "mermaid" ]
file-types = [ "mermaid" , "mmd" ]
comment-token = "%%"
indent = { tab-width = 4 , unit = " " }
@ -2552,6 +2689,7 @@ injection-regex = "pony"
roots = [ "corral.json" , "lock.json" ]
indent = { tab-width = 2 , unit = " " }
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
[ [ grammar ] ]
name = "ponylang"
@ -2563,6 +2701,7 @@ scope = "source.dhall"
injection-regex = "dhall"
file-types = [ "dhall" ]
comment-token = "--"
block-comment-tokens = { start = "{-" , end = "-}" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "dhall-lsp-server" ]
formatter = { command = "dhall" , args = [ "format" ] }
@ -2586,6 +2725,7 @@ scope = "source.msbuild"
injection-regex = "msbuild"
file-types = [ "proj" , "vbproj" , "csproj" , "fsproj" , "targets" , "props" ]
indent = { tab-width = 2 , unit = " " }
block-comment-tokens = { start = "<!--" , end = "-->" }
grammar = "xml"
[ language . auto-pairs ]
@ -2632,7 +2772,7 @@ scope = "source.tal"
injection-regex = "tal"
file-types = [ "tal" ]
auto-format = false
comment-token = "("
block- comment-tokens = { start = "(" , end = ")" }
[ [ grammar ] ]
name = "uxntal"
@ -2766,6 +2906,7 @@ injection-regex = "nim"
file-types = [ "nim" , "nims" , "nimble" ]
shebangs = [ ]
comment-token = "#"
block-comment-tokens = { start = "#[" , end = "]#" }
indent = { tab-width = 2 , unit = " " }
language-servers = [ "nimlangserver" ]
@ -2776,10 +2917,9 @@ language-servers = [ "nimlangserver" ]
"'" = "'"
'{' = '}'
# Nim's tree-sitter grammar is in heavy development.
[ [ grammar ] ]
name = "nim"
source = { git = "https://github.com/a MOPe l/tree-sitter-nim", rev = " 240239b232550e431d67de250d1b5856209e7f06 " }
source = { git = "https://github.com/a laviss /tree-sitter-nim", rev = " c5f0ce3b65222f5dbb1a12f9fe894524881ad590 " }
[ [ language ] ]
name = "cabal"
@ -2796,15 +2936,17 @@ scope = "source.hurl"
injection-regex = "hurl"
file-types = [ "hurl" ]
comment-token = "#"
formatter = { command = "hurlfmt" }
indent = { tab-width = 2 , unit = " " }
[ [ grammar ] ]
name = "hurl"
source = { git = "https://github.com/pfeiferj/tree-sitter-hurl" , rev = " 264c42064b61ee21abe88d0061f29a0523352e22 " }
source = { git = "https://github.com/pfeiferj/tree-sitter-hurl" , rev = " cd1a0ada92cc73dd0f4d7eedc162be4ded758591 " }
[ [ language ] ]
name = "markdoc"
scope = "text.markdoc"
block-comment-tokens = { start = "<!--" , end = "-->" }
file-types = [ "mdoc" ]
language-servers = [ "markdoc-ls" ]
@ -2830,9 +2972,9 @@ scope = "source.just"
file-types = [ { glob = "justfile" } , { glob = "Justfile" } , { glob = ".justfile" } , { glob = ".Justfile" } ]
injection-regex = "just"
comment-token = "#"
indent = { tab-width = 4 , unit = " \t " }
auto-format = true
formatter = { command = "just" , args = [ "--dump" ] }
indent = { tab-width = 4 , unit = " " }
# auto-format = true
# formatter = { command = "just", args = ["--dump"] } # Please see: https://github.com/helix-editor/helix/issues/9703
[ [ grammar ] ]
name = "just"
@ -2858,6 +3000,7 @@ scope = "source.blueprint"
injection-regex = "blueprint"
file-types = [ "blp" ]
comment-token = "//"
block-comment-tokens = { start = "/*" , end = "*/" }
language-servers = [ "blueprint-compiler" ]
indent = { tab-width = 4 , unit = " " }
@ -2910,6 +3053,7 @@ name = "webc"
scope = "text.html.webc"
injection-regex = "webc"
file-types = [ "webc" ]
block-comment-tokens = { start = "<!--" , end = "-->" }
indent = { tab-width = 2 , unit = " " }
grammar = "html"
@ -3098,6 +3242,18 @@ indent = { tab-width = 2, unit = " " }
name = "hocon"
source = { git = "https://github.com/antosha417/tree-sitter-hocon" , rev = "c390f10519ae69fdb03b3e5764f5592fb6924bcc" }
[ [ language ] ]
name = "koka"
scope = "source.koka"
injection-regex = "koka"
file-types = [ "kk" ]
comment-token = "//"
indent = { tab-width = 8 , unit = " " }
[ [ grammar ] ]
name = "koka"
source = { git = "https://github.com/mtoohey31/tree-sitter-koka" , rev = "2527e152d4b6a79fd50aebd8d0b4b4336c94a034" }
[ [ language ] ]
name = "tact"
scope = "source.tact"
@ -3139,4 +3295,116 @@ indent = { tab-width = 2, unit = " " }
[ [ grammar ] ]
name = "groovy"
source = { git = "https://github.com/Decodetalkers/tree-sitter-groovy" , rev = "7e023227f46fee428b16a0288eeb0f65ee2523ec" }
source = { git = "https://github.com/murtaza64/tree-sitter-groovy" , rev = "235009aad0f580211fc12014bb0846c3910130c1" }
[ [ language ] ]
name = "fidl"
scope = "source.fidl"
injection-regex = "fidl"
file-types = [ "fidl" ]
comment-token = "//"
indent = { tab-width = 4 , unit = " " }
[ language . auto-pairs ]
'"' = '"'
'{' = '}'
'(' = ')'
'<' = '>'
[ [ grammar ] ]
name = "fidl"
source = { git = "https://github.com/google/tree-sitter-fidl" , rev = "bdbb635a7f5035e424f6173f2f11b9cd79703f8d" }
[ [ language ] ]
name = "powershell"
scope = "source.powershell"
injection-regex = "(pwsh|powershell)"
file-types = [ "ps1" , "psm1" , "psd1" , "pscc" , "psrc" ]
shebangs = [ "pwsh" , "powershell" ]
comment-token = '#'
block-comment-tokens = { start = "<#" , end = "#>" }
indent = { tab-width = 4 , unit = " " }
[ [ grammar ] ]
name = "powershell"
source = { git = "https://github.com/airbus-cert/tree-sitter-powershell" , rev = "c9316be0faca5d5b9fd3b57350de650755f42dc0" }
[ [ language ] ]
name = "ld"
scope = "source.ld"
injection-regex = "ld"
file-types = [ "ld" ]
block-comment-tokens = { start = "/*" , end = "*/" }
indent = { tab-width = 2 , unit = " " }
[ [ grammar ] ]
name = "ld"
source = { git = "https://github.com/mtoohey31/tree-sitter-ld" , rev = "81978cde3844bfc199851e39c80a20ec6444d35e" }
[ [ language ] ]
name = "hyprlang"
scope = "source.hyprlang"
roots = [ "hyprland.conf" ]
file-types = [ { glob = "hyprland.conf" } ]
comment-token = "#"
grammar = "hyprlang"
[ [ grammar ] ]
name = "hyprlang"
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-hyprlang" , rev = "27af9b74acf89fa6bed4fb8cb8631994fcb2e6f3" }
[ [ language ] ]
name = "supercollider"
scope = "source.supercollider"
injection-regex = "supercollider"
file-types = [ "scd" , "sc" , "quark" ]
comment-token = "//"
indent = { tab-width = 4 , unit = "\t" }
[ [ grammar ] ]
name = "supercollider"
source = { git = "https://github.com/madskjeldgaard/tree-sitter-supercollider" , rev = "3b35bd0fded4423c8fb30e9585c7bacbcd0e8095" }
[ [ language ] ]
name = "pkgbuild"
scope = "source.bash"
file-types = [ { glob = "PKGBUILD" } ]
comment-token = "#"
grammar = "bash"
language-servers = [
"pkgbuild-language-server" ,
{ except-features = [
"diagnostics" ,
] , name = "bash-language-server" } ,
]
[ [ language ] ]
name = "helm"
grammar = "gotmpl"
scope = "source.helm"
roots = [ "Chart.yaml" ]
comment-token = "#"
language-servers = [ "helm_ls" ]
file-types = [ { glob = "templates/*.yaml" } , { glob = "templates/_helpers.tpl" } , { glob = "templates/NOTES.txt" } ]
[ [ language ] ]
name = "glimmer"
scope = "source.glimmer"
injection-regex = "hbs"
file-types = [ { glob = "{app,addon}/{components,templates}/*.hbs" } ]
block-comment-tokens = { start = "{{!" , end = "}}" }
roots = [ "package.json" , "ember-cli-build.js" ]
grammar = "glimmer"
language-servers = [ "ember-language-server" ]
formatter = { command = "prettier" , args = [ '--parser' , 'glimmer' ] }
[ language . auto-pairs ]
'"' = '"'
'{' = '}'
'(' = ')'
'<' = '>'
"'" = "'"
[ [ grammar ] ]
name = "glimmer"
source = { git = "https://github.com/ember-tooling/tree-sitter-glimmer" , rev = "5dc6d1040e8ff8978ff3680e818d85447bbc10aa" }