Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'languages.toml')
| -rw-r--r-- | languages.toml | 1593 |
1 files changed, 177 insertions, 1416 deletions
diff --git a/languages.toml b/languages.toml index 2d1074aa..97ee3e54 100644 --- a/languages.toml +++ b/languages.toml @@ -1,91 +1,64 @@ # Language support configuration. # See the languages documentation: https://docs.helix-editor.com/master/languages.html -use-grammars = { except = [ "wren", "gemini" ] } +use-grammars = { except = [ "hare", "wren", "gemini" ] } [language-server] -ada-gpr-language-server = {command = "ada_language_server", args = ["--language-gpr"]} -ada-language-server = { command = "ada_language_server" } als = { command = "als" } -amber-lsp = { command = "amber-lsp" } -ameba-ls = { command = "ameba-ls" } +ada-language-server = { command = "ada_language_server" } +ada-gpr-language-server = {command = "ada_language_server", args = ["--language-gpr"]} angular = {command = "ngserver", args = ["--stdio", "--tsProbeLocations", ".", "--ngProbeLocations", ".",]} -asm-lsp = { command = "asm-lsp" } awk-language-server = { command = "awk-language-server" } bash-language-server = { command = "bash-language-server", args = ["start"] } bass = { command = "bass", args = ["--lsp"] } -beancount-language-server = { command = "beancount-language-server" } bicep-langserver = { command = "bicep-langserver" } bitbake-language-server = { command = "bitbake-language-server" } -buf = { command = "buf", args = ["beta", "lsp", "--timeout", "0"] } +bufls = { command = "bufls", args = ["serve"] } cairo-language-server = { command = "cairo-language-server", args = [] } -circom-lsp = { command = "circom-lsp" } -cl-lsp = { command = "cl-lsp" } +cl-lsp = { command = "cl-lsp", args = [ "stdio" ] } clangd = { command = "clangd" } clojure-lsp = { command = "clojure-lsp" } cmake-language-server = { command = "cmake-language-server" } -codeql = { command = "codeql", args = ["execute", "language-server", "--check-errors=ON_CHANGE"] } crystalline = { command = "crystalline", args = ["--stdio"] } cs = { command = "cs", args = ["launch", "--contrib", "smithy-language-server", "--", "0"] } csharp-ls = { command = "csharp-ls" } cuelsp = { command = "cuelsp" } dart = { command = "dart", args = ["language-server", "--client-id=helix"] } dhall-lsp-server = { command = "dhall-lsp-server" } -djlsp = { command = "djlsp" } docker-langserver = { command = "docker-langserver", args = ["--stdio"] } docker-compose-langserver = { command = "docker-compose-langserver", args = ["--stdio"]} dot-language-server = { command = "dot-language-server", args = ["--stdio"] } -dts-lsp = { command = "dts-lsp" } earthlyls = { command = "earthlyls" } -eiffel-language-server = {command = "eiffel-language-server"} elixir-ls = { command = "elixir-ls", config = { elixirLS.dialyzerEnabled = false } } elm-language-server = { command = "elm-language-server" } -elp = { command = "elp", args = ["server"] } elvish = { command = "elvish", args = ["-lsp"] } erlang-ls = { command = "erlang_ls" } -expert = { command = "expert" } -fennel-ls = { command = "fennel-ls" } -fish-lsp = { command = "fish-lsp", args = ["start"], environment = { fish_lsp_show_client_popups = "false" } } forc = { command = "forc", args = ["lsp"] } forth-lsp = { command = "forth-lsp" } fortls = { command = "fortls", args = ["--lowercase_intrinsics"] } fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } } -gitlab-ci-ls = { command = "gitlab-ci-ls" } gleam = { command = "gleam", args = ["lsp"] } -glsl_analyzer = { command = "glsl_analyzer" } graphql-language-service = { command = "graphql-lsp", args = ["server", "-m", "stream"] } -harper-ls = { command = "harper-ls", args = ["--stdio"] } haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] } -hdls = { command = "hdls" } -hyprls = { command = "hyprls" } idris2-lsp = { command = "idris2-lsp" } intelephense = { command = "intelephense", args = ["--stdio"] } jdtls = { command = "jdtls" } -jedi = { command = "jedi-language-server" } -jq-lsp = { command = "jq-lsp" } jsonnet-language-server = { command = "jsonnet-language-server", args= ["-t", "--lint"] } julia = { command = "julia", timeout = 60, args = [ "--startup-file=no", "--history-file=no", "--quiet", "-e", "using LanguageServer; runserver()", ] } -just-lsp = { command = "just-lsp" } koka = { command = "koka", args = ["--language-server", "--lsstdio"] } -koto-ls = { command = "koto-ls" } -kotlin-lsp = { command = "kotlin-lsp", args = ["--stdio"] } kotlin-language-server = { command = "kotlin-language-server" } -lean = { command = "lake", args = ["serve"] } +lean = { command = "lean", args = [ "--server" ] } ltex-ls = { command = "ltex-ls" } -ltex-ls-plus = { command = "ltex-ls-plus" } markdoc-ls = { command = "markdoc-ls", args = ["--stdio"] } markdown-oxide = { command = "markdown-oxide" } marksman = { command = "marksman", args = ["server"] } metals = { command = "metals", config = { "isHttpEnabled" = true, metals = { inlayHints = { typeParameters = {enable = true} , hintsInPatternMatch = {enable = true} } } } } -mesonlsp = { command = "mesonlsp", args = ["--lsp"] } -mint = { command = "mint", args = ["tool", "ls"] } -mojo-lsp-server = { command = "pixi", args = ["run", "mojo-lsp-server"] } -neocmakelsp = { command = "neocmakelsp", args = ["stdio"] } +mint = { command = "mint", args = ["ls"] } +mojo-lsp = { command = "mojo-lsp-server" } nil = { command = "nil" } nimlangserver = { command = "nimlangserver" } nimlsp = { command = "nimlsp" } -nixd = { command = "nixd" } nls = { command = "nls" } nu-lsp = { command = "nu", args = [ "--lsp" ] } ocamllsp = { command = "ocamllsp" } @@ -96,77 +69,51 @@ pasls = { command = "pasls", args = [] } pbkit = { command = "pb", args = [ "lsp" ] } perlnavigator = { command = "perlnavigator", args= ["--stdio"] } pest-language-server = { command = "pest-language-server" } -pkl-lsp = { command = "pkl-lsp" } -prisma-language-server = { command = "prisma-language-server", args = ["--stdio"], config.prisma.enableDiagnostics = true } +prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] } purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] } pylsp = { command = "pylsp" } -pyrefly = { command = "pyrefly", args = ["lsp"] } pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} } -protols = { command = "protols", args = [] } basedpyright = { command = "basedpyright-langserver", args = ["--stdio"], config = {} } pylyzer = { command = "pylyzer", args = ["--server"] } qmlls = { command = "qmlls" } -quint-language-server = { command = "quint-language-server", args = ["--stdio"] } r = { command = "R", args = ["--no-echo", "-e", "languageserver::run()"] } racket = { command = "racket", args = ["-l", "racket-langserver"] } regols = { command = "regols" } rescript-language-server = { command = "rescript-language-server", args = ["--stdio"] } robotframework_ls = { command = "robotframework_ls" } -ruff = { command = "ruff", args = ["server"] } -ruby-lsp = { command = "ruby-lsp" } serve-d = { command = "serve-d" } -slangd = { command = "slangd" } slint-lsp = { command = "slint-lsp", args = [] } -systemd-lsp = { command = "systemd-lsp" } solargraph = { command = "solargraph", args = ["stdio"] } solc = { command = "solc", args = ["--lsp"] } sourcekit-lsp = { command = "sourcekit-lsp" } -spade-language-server = {command = "spade-language-server"} -starpls = {command = "starpls"} svlangserver = { command = "svlangserver", args = [] } swipl = { command = "swipl", args = [ "-g", "use_module(library(lsp_server))", "-g", "lsp_server:main", "-t", "halt", "--", "stdio" ] } -superhtml = { command = "superhtml", args = ["lsp"]} tailwindcss-ls = { command = "tailwindcss-language-server", args = ["--stdio"] } taplo = { command = "taplo", args = ["lsp", "stdio"] } templ = { command = "templ", args = ["lsp"] } terraform-ls = { command = "terraform-ls", args = ["serve"] } texlab = { command = "texlab" } -tombi = { command = "tombi", args = ["lsp"] } -ty = { command = "ty", args = ["server"] } -typespec = { command = "tsp-server", args = ["--stdio"] } vala-language-server = { command = "vala-language-server" } -vale-ls = { command = "vale-ls" } vhdl_ls = { command = "vhdl_ls", args = [] } vlang-language-server = { command = "v-analyzer" } vscode-css-language-server = { command = "vscode-css-language-server", args = ["--stdio"], config = { provideFormatter = true, css = { validate = { enable = true } } } } vscode-html-language-server = { command = "vscode-html-language-server", args = ["--stdio"], config = { provideFormatter = true } } vscode-json-language-server = { command = "vscode-json-language-server", args = ["--stdio"], config = { provideFormatter = true, json = { validate = { enable = true } } } } vuels = { command = "vue-language-server", args = ["--stdio"], config = { typescript = { tsdk = "node_modules/typescript/lib/" } } } -wgsl-analyzer = { command = "wgsl-analyzer" } -wikitext-lsp = { command = "wikitext-lsp", args = ["--stdio"]} +wgsl_analyzer = { command = "wgsl_analyzer" } yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] } -yls = { command = "yls", args = ["-vv"] } zls = { command = "zls" } blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] } +typst-lsp = { command = "typst-lsp" } tinymist = { command = "tinymist" } -ts_query_ls = { command = "ts_query_ls" } -termux-language-server = { command = "termux-language-server" } +pkgbuild-language-server = { command = "pkgbuild-language-server" } helm_ls = { command = "helm_ls", args = ["serve"] } ember-language-server = { command = "ember-language-server", args = ["--stdio"] } -teal-language-server = { command = "teal-language-server" } -wasm-language-tools = { command = "wat_server" } -sourcepawn-studio = { command = "sourcepawn-studio" } -luau = { command = "luau-lsp", args = ["lsp"] } [language-server.ansible-language-server] command = "ansible-language-server" args = ["--stdio"] -[language-server.astro-ls] -command = "astro-ls" -args = [ "--stdio" ] -config = { typescript = { tsdk = "node_modules/typescript/lib" } } - [language-server.lua-language-server] command = "lua-language-server" @@ -194,7 +141,7 @@ rangeVariableTypes = true command = "golangci-lint-langserver" [language-server.golangci-lint-lsp.config] -command = ["golangci-lint", "run", "--output.json.path=stdout", "--show-stats=false", "--issues-exit-code=1"] +command = ["golangci-lint", "run", "--out-format", "json", "--issues-exit-code=1"] [language-server.rust-analyzer] @@ -208,8 +155,6 @@ inlayHints.discriminantHints.enable = "fieldless" inlayHints.lifetimeElisionHints.enable = "skip_trivial" inlayHints.typeHints.hideClosureInitialization = false -[language-server.rust-analyzer.config.files] -watcher = "server" [language-server.typescript-language-server] command = "typescript-language-server" @@ -276,18 +221,6 @@ enable = true [language-server.vscode-eslint-language-server.config.workingDirectory] mode = "location" -[language-server.clarinet] -command = "clarinet" -args = ["lsp"] - -[language-server.docker-language-server] -command = "docker-language-server" -args = ["start", "--stdio"] - -[language-server.kcl-lsp] -command = "kcl-language-server" -args = ["server", "--stdio"] - [[language]] name = "rust" scope = "source.rust" @@ -344,7 +277,7 @@ args = { attachCommands = [ "platform select remote-gdb-server", "platform conne [[grammar]] name = "rust" -source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "261b20226c04ef601adbdf185a800512a5f66291" } +source = { git = "https://github.com/tree-sitter/tree-sitter-rust", rev = "9c84af007b0f144954adb26b3f336495cbb320a7" } [[language]] name = "sway" @@ -364,22 +297,9 @@ source = { git = "https://github.com/FuelLabs/tree-sitter-sway", rev = "e491a005 name = "toml" scope = "source.toml" injection-regex = "toml" -file-types = [ - "toml", - { glob = "pdm.lock" }, - { glob = "poetry.lock" }, - { glob = "Cargo.lock" }, - { glob = "uv.lock" }, - { glob = "containers.conf" }, - { glob = "containers.conf.d/*.conf" }, - { glob = "containers.conf.modules/*.conf" }, - { glob = "mounts.conf" }, - { glob = "policy.conf" }, - { glob = "registries.conf" }, - { glob = "storage.conf" }, -] +file-types = ["toml", { glob = "pdm.lock" }, { glob = "poetry.lock" }, { glob = "Cargo.lock" }, { glob = "uv.lock" }] comment-token = "#" -language-servers = [ "taplo", "tombi" ] +language-servers = [ "taplo" ] indent = { tab-width = 2, unit = " " } [[grammar]] @@ -402,41 +322,16 @@ source = { git = "https://github.com/Beaglefoot/tree-sitter-awk", rev = "a799bc5 [[language]] name = "protobuf" scope = "source.proto" -injection-regex = "proto" +injection-regex = "protobuf" file-types = ["proto"] -language-servers = [ "buf", "pbkit", "protols" ] +language-servers = [ "bufls", "pbkit" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } indent = { tab-width = 2, unit = " " } -grammar = "proto" [[grammar]] -name = "proto" -source = { git = "https://github.com/sdoerner/tree-sitter-proto", rev = "778ab6ed18a7fcf82c83805a87d63376c51e80bc"} - -[[language]] -name = "textproto" -file-types = ["txtpb", "textpb", "textproto"] -comment-token = "#" -scope = "source.textproto" -indent = { tab-width = 2, unit = " " } -formatter = { command = "txtpbfmt" } -auto-format = true - -[[grammar]] -name = "textproto" -source = { git = "https://github.com/PorterAtGoogle/tree-sitter-textproto", rev = "568471b80fd8793d37ed01865d8c2208a9fefd1b"} - -[[language]] -name = "eiffel" -scope = "source.eiffel" -file-types = ["e"] -comment-token = "--" -language-servers = ["eiffel-language-server"] - -[[grammar]] -name = "eiffel" -source = { git = "https://github.com/imustafin/tree-sitter-eiffel", rev = "d934fb44f1d22bb76be6b56a7b2425ab3b1daf8b" } +name = "protobuf" +source = { git = "https://github.com/yusdacra/tree-sitter-protobuf", rev = "19c211a01434d9f03efff99f85e19f967591b175"} [[language]] name = "elixir" @@ -446,26 +341,12 @@ file-types = ["ex", "exs", { glob = "mix.lock" }] shebangs = ["elixir"] roots = ["mix.exs", "mix.lock"] comment-token = "#" -language-servers = [ "elixir-ls", "expert" ] +language-servers = [ "elixir-ls" ] indent = { tab-width = 2, unit = " " } [[grammar]] name = "elixir" -source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "02a6f7fd4be28dd94ee4dd2ca19cb777053ea74e" } - -[[language]] -name = "fennel" -scope = "source.fennel" -file-types = ["fnl", "fnlm"] -shebangs = ["fennel"] -comment-token = ";" -language-servers = ["fennel-ls"] -formatter = { command = "fnlfmt", args = ["-"]} -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "fennel" -source = { git = "https://github.com/alexmozaidze/tree-sitter-fennel", rev = "cfbfa478dc2dbef267ee94ae4323d9c886f45e94" } +source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "b20eaa75565243c50be5e35e253d8beb58f45d56" } [[language]] name = "fish" @@ -474,26 +355,13 @@ injection-regex = "fish" file-types = ["fish"] shebangs = ["fish"] comment-token = "#" -language-servers = ["fish-lsp"] indent = { tab-width = 4, unit = " " } auto-format = true formatter = { command = "fish_indent" } [[grammar]] name = "fish" -source = { git = "https://github.com/ram02z/tree-sitter-fish", rev = "a78aef9abc395c600c38a037ac779afc7e3cc9e0" } - -[[language]] -name = "flatbuffers" -scope = "source.flatbuffers" -injection-regex = "(flatbuffers?|fbs)" -file-types = ["fbs"] -comment-token = "//" -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "flatbuffers" -source = { git = "https://github.com/yuanchenxi95/tree-sitter-flatbuffers", rev = "95e6f9ef101ea97e870bf6eebc0bd1fdfbaf5490" } +source = { git = "https://github.com/ram02z/tree-sitter-fish", rev = "84436cf24c2b3176bfbb220922a0fdbd0141e406" } [[language]] name = "mint" @@ -509,14 +377,14 @@ indent = { tab-width = 2, unit = " " } [[language]] name = "mojo" scope = "source.mojo" -roots = ["pixi.toml", "pixi.lock"] +roots = ["__init__.mojo"] injection-regex = "mojo" file-types = ["mojo", "🔥"] -language-servers = [ "mojo-lsp-server" ] +language-servers = [ "mojo-lsp" ] comment-token = "#" indent = { tab-width = 4, unit = " " } auto-format = true -formatter = { command = "pixi", args = ["run", "mojo" , "format", "-q", "-"]} +formatter = { command = "mojo", args = ["format", "-q", "-"]} [[grammar]] name = "mojo" @@ -565,25 +433,12 @@ file-types = [ "css.map", { glob = ".jslintrc" }, "jsonl", + "jsonld", { glob = ".vuerc" }, { glob = "composer.lock" }, { glob = ".watchmanconfig" }, "avsc", - "ldtk", - "ldtkl", - { glob = ".swift-format" }, - "sublime-build", - "sublime-color-scheme", - "sublime-commands", - "sublime-completions", - "sublime-keymap", - "sublime-macro", - "sublime-menu", - "sublime-mousemap", - "sublime-project", - "sublime-settings", - "sublime-theme", - "sublime-workspace" + { glob = ".prettierrc" }, ] language-servers = [ "vscode-json-language-server" ] auto-format = true @@ -597,25 +452,12 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076 name = "jsonc" scope = "source.json" injection-regex = "jsonc" -file-types = ["jsonc", { glob = "{t,j}sconfig.json" }, { glob = "bun.lock" }] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } +file-types = ["jsonc"] grammar = "json" language-servers = [ "vscode-json-language-server" ] auto-format = true indent = { tab-width = 2, unit = " " } -# https://www.w3.org/TR/json-ld/ -[[language]] -name = "json-ld" -scope = "source.json-ld" -injection-regex = "json-ld" -grammar = "json" -file-types = ["jsonld"] -language-servers = ["vscode-json-language-server"] -auto-format = true -indent = { tab-width = 2, unit = " " } - [[language]] name = "json5" scope = "source.json5" @@ -665,7 +507,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote [[grammar]] name = "c" -source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7fa1be1b694b6e763686793d97da01f36a0e5c12" } +source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd5fc1cee660dce6fe23f6043d75af424a" } [[language]] name = "cpp" @@ -702,7 +544,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote [[grammar]] name = "cpp" -source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "56455f4245baf4ea4e0881c5169de69d7edd5ae7" } +source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "670404d7c689be1c868a46f919ba2a3912f2b7ef" } [[language]] name = "crystal" @@ -711,12 +553,8 @@ file-types = ["cr"] roots = ["shard.yml", "shard.lock"] comment-token = "#" indent = { tab-width = 2, unit = " " } -language-servers = [ "crystalline", "ameba-ls" ] -formatter = { command = "crystal", args = ["tool", "format", "-"] } - -[[grammar]] -name = "crystal" -source = { git = "https://github.com/crystal-lang-tools/tree-sitter-crystal", rev = "76afc1f53518a2b68b51a5abcde01d268a9cb47c" } +grammar = "ruby" +language-servers = [ "crystalline" ] [[language]] name = "c-sharp" @@ -724,7 +562,7 @@ scope = "source.csharp" injection-regex = "c-?sharp" file-types = ["cs", "csx", "cake"] roots = ["sln", "csproj"] -comment-tokens = ["//", "///"] +comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } indent = { tab-width = 4, unit = "\t" } language-servers = [ "omnisharp" ] @@ -750,7 +588,7 @@ args = { processId = "{0}" } [[grammar]] name = "c-sharp" -source = { git = "https://github.com/tree-sitter/tree-sitter-c-sharp", rev = "b5eb5742f6a7e9438bee22ce8026d6b927be2cd7" } +source = { git = "https://github.com/tree-sitter/tree-sitter-c-sharp", rev = "5b60f99545fea00a33bbfae5be956f684c4c69e2" } [[language]] name = "cel" @@ -828,7 +666,7 @@ args = { mode = "core", program = "{0}", coreFilePath = "{1}" } [[grammar]] name = "go" -source = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "12fe553fdaaa7449f764bc876fd777704d4fb752" } +source = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "64457ea6b73ef5422ed1687178d4545c3e91334a" } [[language]] name = "gomod" @@ -842,7 +680,7 @@ indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "gomod" -source = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c" } +source = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "e8f51f8e4363a3d9a427e8f63f4c1bbc5ef5d8d0" } [[language]] name = "gotmpl" @@ -873,32 +711,20 @@ name = "gowork" source = { git = "https://github.com/omertuc/tree-sitter-go-work", rev = "6dd9dd79fb51e9f2abc829d5e97b15015b6a8ae2" } [[language]] -name = "go-format-string" -scope = "source.go-format-string" -file-types = [] -injection-regex = "go-format-string" - -[[grammar]] -name = "go-format-string" -source = { git = "https://codeberg.org/kpbaks/tree-sitter-go-format-string", rev = "06587ea641155db638f46a32c959d68796cd36bb" } - -[[language]] name = "javascript" scope = "source.js" injection-regex = "(js|javascript)" language-id = "javascript" file-types = ["js", "mjs", "cjs", "rules", "es6", "pac", { glob = ".node_repl_history" }, { glob = "jakefile" }] shebangs = ["node"] -roots = [ "package.json", "jsconfig.json" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "typescript-language-server" ] indent = { tab-width = 2, unit = " " } [language.debugger] -name = "js-debug-dap" -transport = "tcp" -port-arg = "{} 127.0.0.1" +name = "node-debug2" +transport = "stdio" # args consisting of cmd (node) and path to adapter should be added to user's configuration quirks = { absolute-paths = true } @@ -906,11 +732,11 @@ quirks = { absolute-paths = true } name = "source" request = "launch" completion = [ { name = "main", completion = "filename", default = "index.js" } ] -args = { program = "{0}", skipFiles = [ "<node_internals>/**" ] } +args = { program = "{0}" } [[grammar]] name = "javascript" -source = { git = "https://github.com/tree-sitter/tree-sitter-javascript", rev = "3a837b6f3658ca3618f2022f8707e29739c91364" } +source = { git = "https://github.com/tree-sitter/tree-sitter-javascript", rev = "f772967f7b7bc7c28f845be2420a38472b16a8ee" } [[language]] name = "jsx" @@ -918,7 +744,6 @@ scope = "source.jsx" injection-regex = "jsx" language-id = "javascriptreact" file-types = ["jsx"] -roots = [ "package.json", "jsconfig.json" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "typescript-language-server" ] @@ -932,7 +757,6 @@ injection-regex = "(ts|typescript)" language-id = "typescript" file-types = ["ts", "mts", "cts"] shebangs = ["deno", "bun", "ts-node"] -roots = [ "package.json", "tsconfig.json" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "typescript-language-server" ] @@ -940,24 +764,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "typescript" -source = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "75b3874edb2dc714fb1fd77a32013d0f8699989f", subpath = "typescript" } - -[[language]] -name = "typespec" -scope = "source.typespec" -injection-regex = "(tsp|typespec)" -language-id = "typespec" -file-types = ["tsp"] -roots = ["tspconfig.yaml"] -auto-format = true -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -language-servers = ["typespec"] -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "typespec" -source = { git = "https://github.com/happenslol/tree-sitter-typespec", rev = "0ee05546d73d8eb64635ed8125de6f35c77759fe" } +source = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf", subpath = "typescript" } [[language]] name = "tsx" @@ -965,7 +772,6 @@ scope = "source.tsx" injection-regex = "(tsx)" # |typescript language-id = "typescriptreact" file-types = ["tsx"] -roots = [ "package.json", "tsconfig.json" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "typescript-language-server" ] @@ -973,13 +779,13 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "tsx" -source = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "75b3874edb2dc714fb1fd77a32013d0f8699989f", subpath = "tsx" } +source = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf", subpath = "tsx" } [[language]] name = "css" scope = "source.css" injection-regex = "css" -file-types = ["css"] +file-types = ["css", "scss"] block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "vscode-css-language-server" ] auto-format = true @@ -987,7 +793,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "css" -source = { git = "https://github.com/tree-sitter/tree-sitter-css", rev = "6e327db434fec0ee90f006697782e43ec855adf5" } +source = { git = "https://github.com/tree-sitter/tree-sitter-css", rev = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" } [[language]] name = "scss" @@ -1007,45 +813,25 @@ source = { git = "https://github.com/serenadeai/tree-sitter-scss", rev = "c478c6 name = "html" scope = "text.html.basic" injection-regex = "html" -file-types = ["html", "htm", "shtml", "xhtml", "xht", "jsp", "asp", "aspx", "jshtm", "volt", "rhtml", "cshtml"] +file-types = ["html", "htm", "shtml", "xhtml", "xht", "jsp", "asp", "aspx", "jshtm", "volt", "rhtml"] block-comment-tokens = { start = "<!--", end = "-->" } -language-servers = [ "vscode-html-language-server", "superhtml" ] +language-servers = [ "vscode-html-language-server" ] auto-format = true indent = { tab-width = 2, unit = " " } [[grammar]] name = "html" -source = { git = "https://github.com/tree-sitter/tree-sitter-html", rev = "cbb91a0ff3621245e890d1c50cc811bffb77a26b" } - -[[language]] -name = "htmldjango" -scope = "source.htmldjango" -injection-regex = "htmldjango" -language-servers = ["djlsp", "vscode-html-language-server", "superhtml"] -file-types = [] -roots = ["manage.py"] - -[language.auto-pairs] -'"' = '"' -'(' = ')' -'[' = ']' -'{' = '}' -'%' = '%' -'<' = '>' - -[[grammar]] -name = "htmldjango" -source = { git = "https://github.com/interdependence/tree-sitter-htmldjango", rev = "3a643167ad9afac5d61e092f08ff5b054576fadf" } +source = { git = "https://github.com/tree-sitter/tree-sitter-html", rev = "29f53d8f4f2335e61bf6418ab8958dac3282077a" } [[language]] name = "python" scope = "source.python" injection-regex = "py(thon)?" -file-types = ["py", "pyi", "py3", "pyw", "ptl", "rpy", "cpy", "ipy", "pyt", { glob = ".python_history" }, { glob = ".pythonstartup" }, { glob = ".pythonrc" }, { glob = "*SConstruct" }, { glob = "*SConscript" }, { glob = "*sconstruct" }] -shebangs = ["python", "uv"] +file-types = ["py", "pyi", "py3", "pyw", "ptl", "rpy", "cpy", "ipy", "pyt", { glob = ".python_history" }, { glob = ".pythonstartup" }, { glob = ".pythonrc" }, { glob = "SConstruct" }, { glob = "SConscript" }] +shebangs = ["python"] roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"] comment-token = "#" -language-servers = ["ty", "ruff", "jedi", "pylsp"] +language-servers = [ "pylsp" ] # TODO: pyls needs utf-8 offsets indent = { tab-width = 4, unit = " " } @@ -1071,7 +857,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "nickel" -source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "88d836a24b3b11c8720874a1a9286b8ae838d30a" } +source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "e1d9337864d209898a08c26b8cd4c2dd14c15148" } [[language]] name = "nix" @@ -1080,9 +866,8 @@ injection-regex = "nix" file-types = ["nix"] shebangs = [] comment-token = "#" -language-servers = [ "nil", "nixd" ] +language-servers = [ "nil" ] indent = { tab-width = 2, unit = " " } -formatter = { command = "nixfmt" } [[grammar]] name = "nix" @@ -1103,7 +888,6 @@ file-types = [ "podspec", "rjs", "rbi", - "rbs", { glob = "rakefile" }, { glob = "gemfile" }, { glob = "Rakefile" }, @@ -1128,11 +912,10 @@ file-types = [ { glob = "Scanfile" }, { glob = "Snapfile" }, { glob = "Gymfile" }, - { glob = ".irbrc" }, ] shebangs = ["ruby"] comment-token = "#" -language-servers = [ "ruby-lsp", "solargraph" ] +language-servers = [ "solargraph" ] indent = { tab-width = 2, unit = " " } [[grammar]] @@ -1165,11 +948,7 @@ file-types = [ "tcshrc", "bashrc_Apple_Terminal", "zshrc_Apple_Terminal", - { glob = "i3/config" }, - { glob = "sway/config" }, - { glob = ".tmux.conf" }, { glob = "tmux.conf" }, - { glob = ".sh_history" }, { glob = ".bash_history" }, { glob = ".bash_login" }, { glob = ".bash_logout" }, @@ -1184,9 +963,6 @@ file-types = [ { glob = ".zimrc" }, { glob = "APKBUILD" }, { glob = ".bash_aliases" }, - { glob = "bash_completion" }, - { glob = "bash-completion/completions/*" }, - { glob = "bash_completion.d/*" }, { glob = ".Renviron" }, { glob = ".xprofile" }, { glob = ".xsession" }, @@ -1194,10 +970,6 @@ file-types = [ { glob = ".yashrc" }, { glob = ".yash_profile" }, { glob = ".hushlogin" }, - { glob = ".xinitrc" }, # ~/.xinitrc - { glob = "xinitrc" }, # /etc/X11/xinit/xinitrc - { glob = ".xserverrc" }, # ~/.xserverrc - { glob = "xserverrc" }, # /etc/X11/xinit/xserverrc ] shebangs = ["sh", "bash", "dash", "zsh"] comment-token = "#" @@ -1206,7 +978,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "bash" -source = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "487734f87fd87118028a65a4599352fa99c9cde8" } +source = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "f8fb3274f72a30896075585b32b0c54cad65c086" } [[language]] name = "php" @@ -1216,7 +988,6 @@ file-types = ["php", "inc", "php4", "php5", "phtml", "ctp"] shebangs = ["php"] roots = ["composer.json", "index.php"] comment-token = "//" -block-comment-tokens = [{start = "/**", end = "*/"}, {start = "/*", end = "*/"}] language-servers = [ "intelephense" ] indent = { tab-width = 4, unit = " " } @@ -1245,7 +1016,7 @@ roots = ["composer.json", "index.php"] [[grammar]] name = "blade" -source = { git = "https://github.com/EmranMR/tree-sitter-blade", rev = "59ce5b68e288002e3aee6cf5a379bbef21adbe6c" } +source = { git = "https://github.com/EmranMR/tree-sitter-blade", rev = "4c66efe1e05c639c555ee70092021b8223d2f440" } [[language]] name = "twig" @@ -1257,7 +1028,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "twig" -source = { git = "https://github.com/gbprod/tree-sitter-twig", rev = "085648e01d1422163a1702a44e72303b4e2a0bd1" } +source = { git = "https://github.com/gbprod/tree-sitter-twig", rev = "807b293fec3fead64f54c64fdf6fb05516c032b9" } [[language]] name = "latex" @@ -1304,7 +1075,7 @@ name = "lean" scope = "source.lean" injection-regex = "lean" file-types = ["lean"] -roots = [ "lakefile.lean", "lakefile.toml" ] +roots = [ "lakefile.lean" ] comment-token = "--" block-comment-tokens = { start = "/-", end = "-/" } language-servers = [ "lean" ] @@ -1348,7 +1119,7 @@ indent = { tab-width = 4, unit = " " } [[grammar]] name = "julia" -source = { git = "https://github.com/tree-sitter/tree-sitter-julia", rev = "e84f10db8eeb8b9807786bfc658808edaa1b4fa2" } +source = { git = "https://github.com/tree-sitter/tree-sitter-julia", rev = "8fb38abff74652c4faddbf04d2d5bbbc6b4bae25" } [[language]] name = "java" @@ -1358,8 +1129,6 @@ file-types = ["java", "jav", "pde"] roots = ["pom.xml", "build.gradle", "build.gradle.kts"] language-servers = [ "jdtls" ] indent = { tab-width = 2, unit = " " } -comment-tokens = ["//"] -block-comment-tokens = { start = "/*", end = "*/" } [[grammar]] name = "java" @@ -1397,7 +1166,6 @@ injection-regex = "beancount" file-types = ["beancount", "bean"] comment-token = ";" indent = { tab-width = 2, unit = " " } -language-servers = [ "beancount-language-server" ] [[grammar]] name = "beancount" @@ -1444,27 +1212,10 @@ name = "ocaml-interface" source = { git = "https://github.com/tree-sitter/tree-sitter-ocaml", rev = "9965d208337d88bbf1a38ad0b0fe49e5f5ec9677", subpath = "interface" } [[language]] -name = "dune" -scope = "source.dune" -roots = ["dune-project"] -file-types = [{ glob = "dune-project" }, { glob = "dune" }] -comment-token = ";" -indent = { tab-width = 1, unit = " " } -grammar = "scheme" -auto-format = true -formatter = { command = "dune", args = ["format-dune-file"] } - -[language.auto-pairs] -'(' = ')' -'{' = '}' -'[' = ']' -'"' = '"' - -[[language]] name = "lua" injection-regex = "lua" scope = "source.lua" -file-types = ["lua", "rockspec"] +file-types = ["lua"] shebangs = ["lua", "luajit"] roots = [".luarc.json", ".luacheckrc", ".stylua.toml", "selene.toml", ".git"] comment-token = "--" @@ -1477,42 +1228,16 @@ name = "lua" source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-lua", rev = "88e446476a1e97a8724dff7a23e2d709855077f2" } [[language]] -name = "luap" -scope = "source.luap" -file-types = [] -injection-regex = "luap" - -[[grammar]] -name = "luap" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-luap", rev = "c134aaec6acf4fa95fe4aa0dc9aba3eacdbbe55a" } - -[[grammar]] -name = "teal" -source = { git = "https://github.com/euclidianAce/tree-sitter-teal", rev = "3db655924b2ff1c54fdf6371b5425ea6b5dccefe" } - -[[language]] -name = "teal" -scope = "source.tl" -injection-regex = "teal" -file-types = ["tl"] -comment-tokens = "--" -block-comment-tokens = { start = "--[[", end = "--]]" } -roots = [ "tlconfig.lua" ] -language-servers = [ "teal-language-server" ] - -[[language]] name = "svelte" scope = "source.svelte" injection-regex = "svelte" file-types = ["svelte"] indent = { tab-width = 2, unit = " " } -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "svelteserver" ] [[grammar]] name = "svelte" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-svelte", rev = "ae5199db47757f785e43a14b332118a5474de1a2" } +source = { git = "https://github.com/Himujjal/tree-sitter-svelte", rev = "be7f2e7db1fc19f0852265ec60923fc058380739" } [[language]] name = "vue" @@ -1531,46 +1256,22 @@ source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe27547 [[language]] name = "yaml" scope = "source.yaml" -file-types = [ - "yml", - "yaml", - { glob = ".prettierrc" }, - { glob = ".clangd" }, - { glob = ".clang-format" }, - { glob = ".clang-tidy" }, - { glob = ".gem/credentials" }, - { glob = ".kube/config" }, - { glob = ".kube/kuberc" }, - { glob = "yarn.lock" }, - "sublime-syntax" -] +file-types = ["yml", "yaml"] comment-token = "#" indent = { tab-width = 2, unit = " " } language-servers = [ "yaml-language-server", "ansible-language-server" ] injection-regex = "yml|yaml" -formatter = { command = "yamlfmt", args = ['-'] } -auto-format = true [[grammar]] name = "yaml" source = { git = "https://github.com/ikatyang/tree-sitter-yaml", rev = "0e36bed171768908f331ff7dff9d956bae016efb" } [[language]] -name = "nestedtext" -scope = "text.nested" -injection-regex = "nestedtext" -file-types = ["nt"] -comment-token = "#" -indent = { tab-width = 4, unit = " " } -grammar = "yaml" - -[[language]] name = "haskell" scope = "source.haskell" injection-regex = "hs|haskell" file-types = ["hs", "hs-boot", "hsc"] -roots = ["Setup.hs", "stack.yaml", "cabal.project", "hie.yaml"] -shebangs = ["runhaskell", "stack"] +roots = ["Setup.hs", "stack.yaml", "cabal.project"] comment-token = "--" block-comment-tokens = { start = "{-", end = "-}" } language-servers = [ "haskell-language-server" ] @@ -1578,7 +1279,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "haskell" -source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "0975ef72fc3c47b530309ca93937d7d143523628" } +source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "d7ac98f49e3ed7e17541256fe3881a967d7ffdd3" } [[language]] name = "haskell-persistent" @@ -1606,7 +1307,7 @@ formatter = { command = "purs-tidy", args = ["format"] } [[grammar]] name = "purescript" -source = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "f541f95ffd6852fbbe88636317c613285bc105af" } +source = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "5ef5592674ea42de75fc2792972e4ea0b6e3da6c" } [[language]] name = "zig" @@ -1615,7 +1316,7 @@ injection-regex = "zig" file-types = ["zig", "zon"] roots = ["build.zig"] auto-format = true -comment-tokens = ["//", "///", "//!"] +comment-token = "//" language-servers = [ "zls" ] indent = { tab-width = 4, unit = " " } formatter = { command = "zig" , args = ["fmt", "--stdin"] } @@ -1645,7 +1346,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote [[grammar]] name = "zig" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-zig", rev = "6479aa13f32f701c383083d8b28360ebd682fb7d" } +source = { git = "https://github.com/maxxnino/tree-sitter-zig", rev = "0d08703e4c3f426ec61695d7617415fff97029bd" } [[language]] name = "prolog" @@ -1656,28 +1357,17 @@ comment-token = "%" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "swipl" ] -[[grammar]] -name = "prolog" -source = { git = "https://codeberg.org/foxy/tree-sitter-prolog", subpath = "grammars/prolog", rev = "d8d415f6a1cf80ca138524bcc395810b176d40fa" } - [[language]] name = "tsq" scope = "source.tsq" -file-types = [{ glob = "queries/*.scm" }, { glob = "injections.scm" }, { glob = "highlights.scm" }, { glob = "indents.scm" }, { glob = "textobjects.scm" }, { glob = "locals.scm" }, { glob = "tags.scm" }] +file-types = ["tsq"] comment-token = ";" injection-regex = "tsq" -language-servers = ["ts_query_ls"] -grammar = "query" indent = { tab-width = 2, unit = " " } -[language.auto-pairs] -'(' = ')' -'[' = ']' -'"' = '"' - [[grammar]] -name = "query" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-query", rev = "a6674e279b14958625d7a530cabe06119c7a1532" } +name = "tsq" +source = { git = "https://github.com/the-mikedavis/tree-sitter-tsq", rev = "48b5e9f82ae0a4727201626f33a17f69f8e0ff86" } [[language]] name = "cmake" @@ -1686,7 +1376,7 @@ file-types = ["cmake", { glob = "CMakeLists.txt" }] comment-token = "#" block-comment-tokens = { start = "#[[", end = "]]" } indent = { tab-width = 2, unit = " " } -language-servers = ["neocmakelsp", "cmake-language-server"] +language-servers = [ "cmake-language-server" ] injection-regex = "cmake" [[grammar]] @@ -1713,7 +1403,6 @@ file-types = ["glsl", "vert", "tesc", "tese", "geom", "frag", "comp" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } indent = { tab-width = 4, unit = " " } -language-servers = [ "glsl_analyzer" ] injection-regex = "glsl" [[grammar]] @@ -1723,22 +1412,7 @@ source = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "88408ff [[language]] name = "perl" scope = "source.perl" -file-types =[ - "pl", - "pm", - "t", - "psgi", - "raku", - "rakumod", - "rakutest", - "rakudoc", - "nqp", - "p6", - "pl6", - "pm6", - {glob = "latexmkrc"}, - {glob = ".latexmkrc"}, -] +file-types = ["pl", "pm", "t", "psgi", "raku", "rakumod", "rakutest", "rakudoc", "nqp", "p6", "pl6", "pm6"] shebangs = ["perl"] comment-token = "#" language-servers = [ "perlnavigator" ] @@ -1746,7 +1420,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "perl" -source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "72a08a496a23212f23802490ef6f4700d68cfd0e" } +source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "e99bb5283805db4cb86c964722d709df21b0ac16" } [[language]] name = "pod" @@ -1756,13 +1430,13 @@ file-types = ["pod"] [[grammar]] name = "pod" -source = { git = "https://github.com/tree-sitter-perl/tree-sitter-pod", rev = "0bf8387987c21bf2f8ed41d2575a8f22b139687f" } +source = { git = "https://github.com/tree-sitter-perl/tree-sitter-pod", rev = "39da859947b94abdee43e431368e1ae975c0a424" } [[language]] name = "racket" scope = "source.racket" -file-types = ["rkt", "rktd", "rktl", "scrbl", "zuo"] -shebangs = ["racket", "zuo"] +file-types = ["rkt", "rktd", "rktl", "scrbl"] +shebangs = ["racket"] comment-token = ";" indent = { tab-width = 2, unit = " " } block-comment-tokens = { start = "#|", end = "|#" } @@ -1796,24 +1470,12 @@ name = "comment" source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "aefcc2813392eb6ffe509aa0fc8b4e9b57413ee1" } [[language]] -name = "wesl" -scope = "source.wesl" -file-types = ["wesl"] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "wesl" -source = { git = "https://github.com/wgsl-tooling-wg/tree-sitter-wesl", rev = "94ee6122680ef8ce2173853ca7c99f7aaeeda8ce" } - -[[language]] name = "wgsl" scope = "source.wgsl" file-types = ["wgsl"] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } -language-servers = [ "wgsl-analyzer" ] +language-servers = [ "wgsl_analyzer" ] indent = { tab-width = 4, unit = " " } [[grammar]] @@ -1830,7 +1492,7 @@ injection-regex = "llvm" [[grammar]] name = "llvm" -source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "c14cb839003348692158b845db9edda201374548" } +source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "e9948edc41e9e5869af99dddb2b5ff5cc5581af6" } [[language]] name = "llvm-mir" @@ -1842,7 +1504,7 @@ injection-regex = "mir" [[grammar]] name = "llvm-mir" -source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir", rev = "d166ff8c5950f80b0a476956e7a0ad2f27c12505" } +source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir", rev = "06fabca19454b2dc00c1b211a7cb7ad0bc2585f1" } [[language]] name = "llvm-mir-yaml" @@ -1865,54 +1527,23 @@ injection-regex = "tablegen" [[grammar]] name = "tablegen" -source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "3e9c4822ab5cdcccf4f8aa9dcd42117f736d51d9" } - -[[language]] -name = "mail" -scope = "text.mail" -file-types = ["eml"] -injection-regex = "mail|eml|email" - -[[grammar]] -name = "mail" -source = { git = "https://codeberg.org/ficd/tree-sitter-mail", rev = "8e60f38efbae1cc5f22833ae13c5500dd0f3b12f" } +source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "568dd8a937347175fd58db83d4c4cdaeb6069bd2" } [[language]] name = "markdown" scope = "source.md" injection-regex = "md|markdown" -file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }] +file-types = ["md", "markdown", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }] roots = [".marksman.toml"] language-servers = [ "marksman", "markdown-oxide" ] indent = { tab-width = 2, unit = " " } block-comment-tokens = { start = "<!--", end = "-->" } -word-completion.trigger-length = 4 - -[language.auto-pairs] -'(' = ')' -'{' = '}' -'[' = ']' -'"' = '"' -"'" = "'" -'`' = '`' -'‘' = '’' -'«' = '»' -'“' = '”' [[grammar]] name = "markdown" source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown" } [[language]] -name = "markdown-rustdoc" -scope = "source.markdown-rustdoc" -grammar = "markdown" -injection-regex = "markdown-rustdoc" -file-types = [] -indent = { tab-width = 2, unit = " " } -block-comment-tokens = { start = "<!--", end = "-->" } - -[[language]] name = "markdown.inline" scope = "source.markdown.inline" injection-regex = "markdown\\.inline" @@ -1924,24 +1555,12 @@ name = "markdown_inline" source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown-inline" } [[language]] -name = "djot" -scope = "source.djot" -injection-regex = "dj|djot" -file-types = ["dj", "djot"] -indent = { tab-width = 2, unit = " " } -block-comment-tokens = { start = "{%", end = "%}" } - -[[grammar]] -name = "djot" -source = { git = "https://github.com/treeman/tree-sitter-djot", rev = "67e6e23ba7be81a4373e0f49e21207bdc32d12a5" } - -[[language]] name = "dart" scope = "source.dart" file-types = ["dart"] roots = ["pubspec.yaml"] auto-format = true -comment-tokens = ["//", "///"] +comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "dart" ] indent = { tab-width = 2, unit = " " } @@ -1984,19 +1603,19 @@ file-types = [ { glob = "containerfile.*" }, ] comment-token = "#" -indent = { tab-width = 4, unit = " " } -language-servers = [ "docker-langserver", "docker-language-server" ] +indent = { tab-width = 2, unit = " " } +language-servers = [ "docker-langserver" ] [[grammar]] name = "dockerfile" -source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "087daa20438a6cc01fa5e6fe6906d77c869d19fe" } +source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "8ee3a0f7587b2bd8c45c8cb7d28bd414604aec62" } [[language]] name = "docker-compose" scope = "source.yaml.docker-compose" -roots = ["docker-compose.yaml", "docker-compose.yml", "compose.yaml", "compose.yml"] -language-servers = [ "docker-compose-langserver", "yaml-language-server", "docker-language-server" ] -file-types = [{ glob = "docker-compose.yaml" }, { glob = "docker-compose.yml" }, { glob = "compose.yaml" }, { glob = "compose.yml" }] +roots = ["docker-compose.yaml", "docker-compose.yml"] +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 = " " } grammar = "yaml" @@ -2004,26 +1623,15 @@ grammar = "yaml" [[language]] name = "git-commit" scope = "git.commitmsg" -file-types = [{ glob = "COMMIT_EDITMSG" }, { glob = "MERGE_MSG" }] +file-types = [{ glob = "COMMIT_EDITMSG" }] comment-token = "#" -indent = { tab-width = 4, unit = " " } +indent = { tab-width = 2, unit = " " } rulers = [51, 73] text-width = 72 -grammar = "gitcommit" [[grammar]] -name = "gitcommit" -source = { git = "https://github.com/gbprod/tree-sitter-gitcommit", rev = "a716678c0f00645fed1e6f1d0eb221481dbd6f6d" } - -[[language]] -name = "git-notes" -scope = "git.notesmsg" -file-types = [{ glob = "NOTES_EDITMSG" }] -comment-token = "#" -indent = { tab-width = 4, unit = " " } -rulers = [73] -text-width = 72 -grammar = "gitcommit" +name = "git-commit" +source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "6f193a66e9aa872760823dff020960c6cedc37b3" } [[language]] name = "diff" @@ -2043,7 +1651,7 @@ scope = "source.gitrebase" file-types = [{ glob = "git-rebase-todo" }] injection-regex = "git-rebase" comment-token = "#" -indent = { tab-width = 2, unit = "\t" } +indent = { tab-width = 2, unit = "y" } [[grammar]] name = "git-rebase" @@ -2062,7 +1670,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-regex", rev = "e1cf [[language]] name = "git-config" scope = "source.gitconfig" -file-types = ["gitconfig", { glob = ".gitmodules" }, { glob = "gitconfig" }, { glob = ".gitconfig" }, { glob = ".git/config" }, { glob = ".config/git/config" }] +file-types = [{ glob = ".gitmodules" }, { glob = ".gitconfig" }, { glob = ".git/config" }, { glob = ".config/git/config" }] injection-regex = "git-config" comment-token = "#" indent = { tab-width = 4, unit = "\t" } @@ -2074,7 +1682,7 @@ source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config", rev [[language]] name = "git-attributes" scope = "source.gitattributes" -file-types = [{ glob = ".gitattributes" }, { glob = ".config/git/attributes" }] +file-types = [{ glob = ".gitattributes" }] injection-regex = "git-attributes" comment-token = "#" grammar = "gitattributes" @@ -2086,7 +1694,7 @@ source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes", rev = [[language]] name = "git-ignore" scope = "source.gitignore" -file-types = [{ glob = ".gitignore_global" }, { glob = "git/ignore" }, { glob = ".git/info/exclude" }, { glob = ".ignore" }, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }, { glob = ".*ignore" }, { glob = ".git-blame-ignore-revs" }] +file-types = [{ glob = ".gitignore_global" }, { glob = "git/ignore" }, { glob = ".ignore" }, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }, { glob = ".*ignore" }] injection-regex = "git-ignore" comment-token = "#" grammar = "gitignore" @@ -2150,7 +1758,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "rescript" -source = { git = "https://github.com/rescript-lang/tree-sitter-rescript", rev = "5e2a44a9d886b0a509f5bfd0437d33b4871fbac5" } +source = { git = "https://github.com/jaredramirez/tree-sitter-rescript", rev = "467dcf99f68c47823d7b378779a6b282d7ef9782" } [[language]] name = "erlang" @@ -2161,14 +1769,11 @@ roots = ["rebar.config"] shebangs = ["escript"] comment-token = "%%" indent = { tab-width = 4, unit = " " } -language-servers = [ - { name = "erlang-ls", except-features = ["document-symbols", "workspace-symbols"] }, - { name = "elp", except-features = ["document-symbols", "workspace-symbols"] } -] +language-servers = [ "erlang-ls" ] [[grammar]] name = "erlang" -source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "33a3e4f1fa77a3e1a2736813f4b27c358f6c0b63" } +source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "9d4b36a76d5519e3dbf1ec4f4b61bb1a293f584c" } [[language]] name = "kotlin" @@ -2182,7 +1787,7 @@ language-servers = [ "kotlin-language-server" ] [[grammar]] name = "kotlin" -source = { git = "https://github.com/fwcd/tree-sitter-kotlin", rev = "c4ddea359a7ff4d92360b2efcd6cfce5dc25afe6" } +source = { git = "https://github.com/fwcd/tree-sitter-kotlin", rev = "a4f71eb9b8c9b19ded3e0e9470be4b1b77c2b569" } [[language]] name = "hcl" @@ -2198,7 +1803,7 @@ auto-format = true [[grammar]] name = "hcl" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-hcl", rev = "9e3ec9848f28d26845ba300fd73c740459b83e9b" } +source = { git = "https://github.com/MichaHoffmann/tree-sitter-hcl", rev = "3cb7fc28247efbcb2973b97e71c78838ad98a583" } [[language]] name = "tfvars" @@ -2235,7 +1840,7 @@ language-servers = [ "solc" ] [[grammar]] name = "solidity" -source = { git = "https://github.com/JoranHonig/tree-sitter-solidity", rev = "f7f5251a3f5b1d04f0799b3571b12918af177fc8" } +source = { git = "https://github.com/JoranHonig/tree-sitter-solidity", rev = "08338dcee32603383fcef08f36321900bb7a354b" } [[language]] name = "gleam" @@ -2243,24 +1848,14 @@ scope = "source.gleam" injection-regex = "gleam" file-types = ["gleam"] roots = ["gleam.toml"] -comment-tokens = ["//", "///", "////"] +comment-token = "//" indent = { tab-width = 2, unit = " " } language-servers = [ "gleam" ] auto-format = true [[grammar]] name = "gleam" -source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "dae1551a9911b24f41d876c23f2ab05ece0a9d4c" } - -[[language]] -name = "quarto" -scope = "source.qmd" -language-id = "qmd" -injection-regex = "qmd" -file-types = ["qmd"] -indent = { tab-width = 2, unit = " " } -grammar = "markdown" -block-comment-tokens = { start = "<!--", end = "-->" } +source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "bcf9c45b56cbe46e9dac5eee0aee75df270000ac" } [[language]] name = "ron" @@ -2273,7 +1868,7 @@ indent = { tab-width = 4, unit = " " } [[grammar]] name = "ron" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-ron", rev = "78938553b93075e638035f624973083451b29055" } +source = { git = "https://github.com/zee-editor/tree-sitter-ron", rev = "7762d709a0f7c1f9e269d0125a2e8a7a69006146" } [[language]] name = "robot" @@ -2294,7 +1889,7 @@ scope = "source.r" injection-regex = "(r|R)" file-types = ["r", "R", { glob = ".Rprofile" }, { glob = "Rprofile.site" }, { glob = ".RHistory" }] shebangs = ["r", "R"] -comment-tokens = ["#", "#'"] +comment-token = "#" indent = { tab-width = 2, unit = " " } language-servers = [ "r" ] @@ -2321,7 +1916,8 @@ file-types = ["swift", "swiftinterface"] roots = [ "Package.swift" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } -formatter = { command = "swift-format" } +formatter = { command = "swift-format", args = [ "--configuration", ".swift-format"] } +auto-format = true language-servers = [ "sourcekit-lsp" ] [[grammar]] @@ -2371,11 +1967,11 @@ file-types = ["heex"] roots = ["mix.exs", "mix.lock"] block-comment-tokens = { start = "<!--", end = "-->" } indent = { tab-width = 2, unit = " " } -language-servers = [ "elixir-ls", "expert" ] +language-servers = [ "elixir-ls" ] [[grammar]] name = "heex" -source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "f6b83f305a755cd49cf5f6a66b2b789be93dc7b9" } +source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" } [[language]] name = "sql" @@ -2388,7 +1984,7 @@ injection-regex = "sql" [[grammar]] name = "sql" -source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "b9d109588d5b5ed986c857464830c2f0bef53f18" } +source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "da2d1eff425b146d3c8cab7be8dfa98b11d896dc" } [[language]] name = "gdscript" @@ -2399,12 +1995,12 @@ shebangs = [] roots = ["project.godot"] auto-format = true formatter = { command = "gdformat", args = ["-"] } -comment-tokens = ["#", "##"] +comment-token = "#" indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "gdscript" -source = { git = "https://github.com/PrestonKnopp/tree-sitter-gdscript", rev = "1f1e782fe2600f50ae57b53876505b8282388d77" } +source = { git = "https://github.com/PrestonKnopp/tree-sitter-gdscript", rev = "a4b57cc3bcbfc24550e858159647e9238e7ad1ac" } [[language]] name = "godot-resource" @@ -2419,7 +2015,7 @@ indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "godot-resource" -source = { git = "https://github.com/PrestonKnopp/tree-sitter-godot-resource", rev = "2ffb90de47417018651fc3b970e5f6b67214dc9d" } +source = { git = "https://github.com/PrestonKnopp/tree-sitter-godot-resource", rev = "b6ef0768711086a86b3297056f9ffb5cc1d77b4a" } [[language]] name = "nu" @@ -2433,7 +2029,7 @@ language-servers = [ "nu-lsp" ] [[grammar]] name = "nu" -source = { git = "https://github.com/nushell/tree-sitter-nu", rev = "cc4624fbc6ec3563d98fbe8f215a8b8e10b16f32" } +source = { git = "https://github.com/nushell/tree-sitter-nu", rev = "358c4f509eb97f0148bbd25ad36acc729819b9c1" } [[language]] name = "vala" @@ -2469,7 +2065,6 @@ file-types = ["dts", "dtsi"] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } indent = { tab-width = 4, unit = "\t" } -language-servers = [ "dts-lsp" ] [[grammar]] name = "devicetree" @@ -2487,7 +2082,7 @@ language-servers = [ "cairo-language-server" ] [[grammar]] name = "cairo" -source = { git = "https://github.com/starkware-libs/tree-sitter-cairo", rev = "4c6a25680546761b80a710ead1dd34e76c203125" } +source = { git = "https://github.com/starkware-libs/tree-sitter-cairo", rev = "e3a0212261c125cb38248458cd856c0ffee2b398" } [[language]] name = "cpon" @@ -2512,7 +2107,7 @@ language-servers = [ "ols" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } indent = { tab-width = 4, unit = "\t" } -formatter = { command = "odinfmt", args = [ "-stdin" ] } +formatter = { command = "odinfmt", args = [ "-stdin", "true" ] } [language.debugger] name = "lldb-dap" @@ -2539,7 +2134,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote [[grammar]] name = "odin" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-odin", rev = "6c6b07e354a52f8f2a9bc776cbc262a74e74fd26" } +source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-odin", rev = "b5f668ef8918aab13812ce73acd89fe191fb8c5e" } [[language]] name = "meson" @@ -2548,7 +2143,6 @@ injection-regex = "meson" file-types = [{ glob = "meson.build" }, { glob = "meson.options" }, { glob = "meson_options.txt" }] comment-token = "#" indent = { tab-width = 2, unit = " " } -language-servers = ["mesonlsp"] [[grammar]] name = "meson" @@ -2557,7 +2151,7 @@ source = { git = "https://github.com/staysail/tree-sitter-meson", rev = "32a83e8 [[language]] name = "sshclientconfig" scope = "source.sshclientconfig" -file-types = [{ glob = ".ssh/config" }, { glob = "/etc/ssh/ssh_config" }, { glob = "ssh_config.d/*.conf" } ] +file-types = [{ glob = ".ssh/config" }, { glob = "/etc/ssh/ssh_config" }] comment-token = "#" [[grammar]] @@ -2568,10 +2162,9 @@ source = { git = "https://github.com/metio/tree-sitter-ssh-client-config", rev = name = "scheme" scope = "source.scheme" injection-regex = "scheme" -file-types = ["ss", "scm", "sld"] +file-types = ["ss", "scm"] shebangs = ["scheme", "guile", "chicken"] comment-token = ";" -block-comment-tokens = { start = "#|", end = "|#" } indent = { tab-width = 2, unit = " " } [language.auto-pairs] @@ -2598,12 +2191,12 @@ indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "v" -source = {git = "https://github.com/vlang/v-analyzer", subpath = "tree_sitter_v", rev = "59a8889d84a293d7c0366d14c8dbb0eec24fe889"} +source = {git = "https://github.com/v-analyzer/v-analyzer", subpath = "tree_sitter_v", rev = "e14fdf6e661b10edccc744102e4ccf0b187aa8ad"} [[language]] name = "verilog" scope = "source.verilog" -file-types = ["v", "vh"] +file-types = ["v", "vh", "sv", "svh"] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "svlangserver" ] @@ -2615,19 +2208,6 @@ name = "verilog" source = { git = "https://github.com/tree-sitter/tree-sitter-verilog", rev = "4457145e795b363f072463e697dfe2f6973c9a52" } [[language]] -name = "systemverilog" -scope = "source.systemverilog" -file-types = ["sv", "svh"] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -indent = { tab-width = 2, unit = " " } -language-servers = ["verible-verilog-ls"] - -[[grammar]] -name = "systemverilog" -source = { git = "https://github.com/gmlarumbe/tree-sitter-systemverilog", rev = "3bd2c5d2f60ed7b07c2177b34e2976ad9a87c659" } - -[[language]] name = "edoc" scope = "source.edoc" file-types = ["edoc", "edoc.in"] @@ -2661,7 +2241,7 @@ indent = { tab-width = 2, unit = "\t" } [[grammar]] name = "openscad" -source = { git = "https://github.com/openscad/tree-sitter-openscad", rev = "acc196e969a169cadd8b7f8d9f81ff2d30e3e253" } +source = { git = "https://github.com/bollian/tree-sitter-openscad", rev = "5c3ce93df0ac1da7197cf6ae125aade26d6b8972" } [[language]] name = "prisma" @@ -2694,11 +2274,10 @@ source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569 [[language]] name = "starlark" scope = "source.starlark" -injection-regex = "(starlark|bzl|bazel|buck)" -file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUCK" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }, { glob = "WORKSPACE.bzlmod" }, { glob = "PACKAGE" }] +injection-regex = "(starlark|bzl|bazel)" +file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }] comment-token = "#" indent = { tab-width = 4, unit = " " } -language-servers = [ "starpls" ] grammar = "python" [[language]] @@ -2730,7 +2309,7 @@ language-servers = [ "idris2-lsp" ] name = "fortran" scope = "source.fortran" injection-regex = "fortran" -file-types = ["f", "for", "f90", "f95", "f03", "F", "F90", "F95", "F03"] +file-types = ["f", "for", "f90", "f95", "f03"] roots = ["fpm.toml"] comment-token = "!" indent = { tab-width = 4, unit = " "} @@ -2738,7 +2317,7 @@ language-servers = [ "fortls" ] [[grammar]] name = "fortran" -source = { git = "https://github.com/stadelmanma/tree-sitter-fortran", rev = "8334abca785db3a041292e3b3b818a82a55b238f" } +source = { git = "https://github.com/stadelmanma/tree-sitter-fortran", rev = "f0f2f100952a353e64e26b0fa710b4c296d7af13" } [[language]] name = "ungrammar" @@ -2780,21 +2359,7 @@ formatter = { command = "cue", args = ["fmt", "-"] } [[grammar]] name = "cue" -source = { git = "https://github.com/eonpatapon/tree-sitter-cue", rev = "8a5f273bfa281c66354da562f2307c2d394b6c81" } - -[[language]] -name = "slang" -scope = "source.lang" -injection-regex = "slang" -file-types = ["slang"] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -language-servers = [ "slangd" ] -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "slang" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-slang", rev = "327b1b821c255867a4fb724c8eee48887e3d014b" } +source = { git = "https://github.com/eonpatapon/tree-sitter-cue", rev = "61843e3beebf19417e4fede4e8be4df1084317ad" } [[language]] name = "slint" @@ -2808,7 +2373,7 @@ language-servers = [ "slint-lsp" ] [[grammar]] name = "slint" -source = { git = "https://github.com/slint-ui/tree-sitter-slint", rev = "f11da7e62051ba8b9d4faa299c26de8aeedfc1cd" } +source = { git = "https://github.com/slint-ui/tree-sitter-slint", rev = "0701312b74b87fe20e61aa662ba41c5815b5d428" } [[language]] name = "task" @@ -2867,12 +2432,6 @@ injection-regex = "sml" file-types = ["sml"] block-comment-tokens = { start = "(*", end = "*)" } -[language.auto-pairs] -'(' = ')' -'{' = '}' -'[' = ']' -'"' = '"' - [[grammar]] name = "sml" source = { git = "https://github.com/Giorbo/tree-sitter-sml", rev = "bd4055d5554614520d4a0706b34dc0c317c6b608" } @@ -2895,11 +2454,11 @@ source = { git = "https://github.com/sourcegraph/tree-sitter-jsonnet", rev = "04 name = "ada" scope = "source.ada" injection-regex = "ada" -file-types = ["adb", "ads"] +file-types = ["adb", "ads", "gpr"] roots = ["alire.toml"] comment-token = "--" indent = { tab-width = 3, unit = " " } -language-servers = ["ada-language-server"] +language-servers = ["ada-language-server", "ada-gpr-language-server"] [[grammar]] @@ -2913,7 +2472,6 @@ injection-regex = "astro" file-types = ["astro"] block-comment-tokens = { start = "<!--", end = "-->" } indent = { tab-width = 2, unit = " " } -language-servers = [ "astro-ls" ] [[grammar]] name = "astro" @@ -2938,7 +2496,6 @@ scope = "source.wat" comment-token = ";;" block-comment-tokens = { start = "(;", end = ";)" } file-types = ["wat"] -language-servers = ["wasm-language-tools"] [[grammar]] name = "wat" @@ -2989,7 +2546,6 @@ file-types = ["kdl"] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } injection-regex = "kdl" -formatter = { command = "kdlfmt", args = ["format", "-"] } [[grammar]] name = "kdl" @@ -3000,89 +2556,65 @@ name = "xml" scope = "source.xml" injection-regex = "xml" file-types = [ - "ascx", + "xml", + "mobileconfig", + "plist", + "xib", + "storyboard", + "svg", + "xsd", + "gml", + "xaml", + "gir", + "rss", "atom", - "axaml", + "opml", + "policy", + "ascx", "axml", + "axaml", "bpmn", - "checkstyle", "cpt", "csl", "csproj.user", "dita", "ditamap", "dtml", - "fods", - "fodt", "fxml", - "gir", - "glif", - "gml", - "gpx", "iml", "isml", "jmx", - "kml", "launch", "menu", - "mobileconfig", - "mpd", - "musicxml", "mxml", - "ncx", "nuspec", - "opml", "osc", "osm", - "plist", - "policy", "pt", "publishsettings", "pubxml", "pubxml.user", "rbxlx", "rbxmx", - "resx", "rng", - "rss", "shproj", - "smil", - "storyboard", - "sublime-snippet", - "svg", "tld", "tmx", - "ui", "vbproj.user", "vcxproj", "vcxproj.filters", - "wixproj", "wsdl", "wxi", "wxs", - "xaml", "xbl", - "xib", "xlf", "xliff", - "xml", - "xmp", - "xoml", "xpdl", - "xrc", - "xsd", - "xsl", - "mpd", - "smil", - "gpx", - "fodt", - "fods", - "itermcolors", - "terminal", "xul", - { glob = "*.tm[Ll]anguage" }, - { glob = "*.tm[Pp]references" }, - { glob = "*.tm[Tt]heme" }, + "xoml", + "musicxml", + "glif", + "ui" ] block-comment-tokens = { start = "<!--", end = "-->" } indent = { tab-width = 2, unit = " " } @@ -3106,7 +2638,6 @@ scope = "source.dtd" injection-regex = "dtd" file-types = ["dtd", "ent"] indent = {tab-width = 2, unit = " "} -block-comment-tokens = { start = "<!--", end = "-->" } [language.auto-pairs] '(' = ')' @@ -3150,36 +2681,22 @@ indent = { tab-width = 4, unit = "\t" } grammar = "bash" [[language]] -name = "systemd" +name = "ini" scope = "source.ini" file-types = [ + "ini", # Systemd unit files "service", "automount", "device", "mount", - "nspawn", "path", - "scope", + "service", "slice", "socket", "swap", "target", "timer", - { glob = "systemd/**/*.conf" }, -] -injection-regex = "systemd" -comment-token = "#" -grammar = "ini" -language-servers = ["systemd-lsp"] - -[[language]] -name = "ini" -scope = "source.ini" -file-types = [ - "ini", - "desktop", - { glob = "mimeapps.list" }, # Podman quadlets "container", "volume", @@ -3187,14 +2704,11 @@ file-types = [ "network", { glob = ".editorconfig" }, { glob = ".npmrc" }, - { glob = "hgrc" }, { glob = "npmrc" }, { glob = "rclone.conf" }, - { glob = ".aws/config" }, "properties", "cfg", - "directory", - { glob = ".wslconfig" }, + "directory" ] injection-regex = "ini" comment-token = "#" @@ -3202,7 +2716,7 @@ indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "ini" -source = { git = "https://github.com/justinmk/tree-sitter-ini", rev = "32b31863f222bf22eb43b07d4e9be8017e36fb31" } +source = { git = "https://github.com/justinmk/tree-sitter-ini", rev = "4d247fb876b4ae6b347687de4a179511bf67fcbc" } [[language]] name = "inko" @@ -3217,12 +2731,12 @@ formatter = { command = "inko", args = ["fmt", "-"] } [[grammar]] name = "inko" -source = { git = "https://github.com/inko-lang/tree-sitter-inko", rev = "f58a87ac4dc6a7955c64c9e4408fbd693e804686" } +source = { git = "https://github.com/inko-lang/tree-sitter-inko", rev = "7860637ce1b43f5f79cfb7cc3311bf3234e9479f" } [[language]] name = "bicep" scope = "source.bicep" -file-types = ["bicep","bicepparam"] +file-types = ["bicep"] auto-format = true comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } @@ -3231,7 +2745,7 @@ language-servers = [ "bicep-langserver" ] [[grammar]] name = "bicep" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-bicep", rev = "0092c7d1bd6bb22ce0a6f78497d50ea2b87f19c0" } +source = { git = "https://github.com/the-mikedavis/tree-sitter-bicep", rev = "d8e097fcfa143854861ef737161163a09cc2916b" } [[language]] name = "qml" @@ -3269,7 +2783,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "matlab" -source = { git = "https://github.com/acristoffers/tree-sitter-matlab", rev = "585b52b9b16d8e626299a76360ef6ab4f9731aed" } +source = { git = "https://github.com/acristoffers/tree-sitter-matlab", rev = "6071891a8c39600203eba20513666cf93b4d650a" } [[language]] name = "ponylang" @@ -3409,11 +2923,10 @@ file-types = ["asm", "S", "nasm"] injection-regex = "n?asm" comment-token = ";" indent = { tab-width = 8, unit = " " } -language-servers = ["asm-lsp"] [[grammar]] name = "nasm" -source = { git = "https://github.com/naclsn/tree-sitter-nasm", rev = "570f3d7be01fffc751237f4cfcf52d04e20532d1" } +source = { git = "https://github.com/naclsn/tree-sitter-nasm", rev = "a0db15db6fcfb1bf2cc8702500e55e558825c48b" } [[language]] name = "gas" @@ -3422,7 +2935,6 @@ file-types = ["s"] injection-regex = "gas" comment-token = "#" indent = { tab-width = 8, unit = " " } -language-servers = ["asm-lsp"] [[grammar]] name = "gas" @@ -3436,7 +2948,7 @@ file-types = ["rst"] [[grammar]] name = "rst" -source = { git = "https://github.com/stsewd/tree-sitter-rst", rev = "ab09cab886a947c62a8c6fa94d3ad375f3f6a73d" } +source = { git = "https://github.com/stsewd/tree-sitter-rst", rev = "25e6328872ac3a764ba8b926aea12719741103f1" } [[language]] name = "capnp" @@ -3465,18 +2977,6 @@ name = "smithy" source = { git = "https://github.com/indoorvivants/tree-sitter-smithy", rev = "8327eb84d55639ffbe08c9dc82da7fff72a1ad07" } [[language]] -name = "hdl" -scope = "source.hdl" -file-types = ["hdl"] -indent = { tab-width = 4, unit = " " } -injection-regex = "hdl" -language-servers = [ "hdls" ] - -[[grammar]] -name = "hdl" -source = { git = "https://github.com/quantonganh/tree-sitter-hdl", rev="293902330423b2cd36ab1ec4b6b967163a4ed57b" } - -[[language]] name = "vhdl" scope = "source.vhdl" file-types = ["vhd", "vhdl"] @@ -3487,7 +2987,7 @@ injection-regex = "vhdl" [[grammar]] name = "vhdl" -source = { git = "https://github.com/jpt13653903/tree-sitter-vhdl", rev = "32d3e3daa745bf9f1665676f323be968444619e1" } +source = { git = "https://github.com/teburd/tree-sitter-vhdl", rev = "c57313adee2231100db0a7880033f6865deeadb2" } [[language]] name = "rego" @@ -3545,7 +3045,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "hurl" -source = { git = "https://github.com/pfeiferj/tree-sitter-hurl", rev = "1124058cd192e80d80914652a5850a5b1887cc10" } +source = { git = "https://github.com/pfeiferj/tree-sitter-hurl", rev = "cd1a0ada92cc73dd0f4d7eedc162be4ded758591" } [[language]] name = "markdoc" @@ -3573,17 +3073,16 @@ source = { git = "https://github.com/lefp/tree-sitter-opencl", rev = "8e1d24a570 [[language]] name = "just" scope = "source.just" -file-types = ["just", { glob = "justfile" }, { glob = "Justfile" }, { glob = ".justfile" }, { glob = ".Justfile" }] +file-types = [{ glob = "justfile" }, { glob = "Justfile" }, { glob = ".justfile" }, { glob = ".Justfile" }] injection-regex = "just" comment-token = "#" indent = { tab-width = 4, unit = " " } -language-servers = ["just-lsp"] # auto-format = true # formatter = { command = "just", args = ["--dump"] } # Please see: https://github.com/helix-editor/helix/issues/9703 [[grammar]] name = "just" -source = { git = "https://github.com/poliorcetics/tree-sitter-just", rev = "b75dace757e5d122d25c1a1a7772cb87b560f829" } +source = { git = "https://github.com/IndianBoy42/tree-sitter-just", rev = "8af0aab79854aaf25b620a52c39485849922f766" } [[language]] name = "gn" @@ -3640,7 +3139,7 @@ language-servers = ["fsharp-ls"] [[grammar]] name = "fsharp" -source = { git = "https://github.com/ionide/tree-sitter-fsharp", rev = "996ea9982bd4e490029f84682016b6793940113b" } +source = { git = "https://github.com/kaashyapan/tree-sitter-fsharp", rev = "18da392fd9bd5e79f357abcce13f61f3a15e3951" } [[language]] name = "t32" @@ -3670,7 +3169,7 @@ injection-regex = "typ(st)?" file-types = ["typst", "typ"] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } -language-servers = ["tinymist"] +language-servers = ["tinymist", "typst-lsp"] indent = { tab-width = 2, unit = " " } [language.auto-pairs] @@ -3691,7 +3190,6 @@ injection-regex = "nunjucks" file-types = ["njk"] indent = { tab-width = 2, unit = " " } grammar = "jinja2" -block-comment-tokens = { start = "{#", end = "#}" } [[language]] name = "jinja" @@ -3700,85 +3198,11 @@ injection-regex = "jinja" file-types = ["jinja", "jinja2", "j2"] indent = { tab-width = 2, unit = " " } grammar = "jinja2" -block-comment-tokens = { start = "{#", end = "#}" } [[grammar]] name = "jinja2" source = { git = "https://github.com/varpeti/tree-sitter-jinja2", rev = "a533cd3c33aea6acb0f9bf9a56f35dcfe6a8eb53" } -[[language]] -name = "jjconfig" -scope = "source.jjconfig" -injection-regex = "jjconfig" -grammar = "toml" -file-types = [{ glob = "jj/config.toml" }, { glob = "jj/conf.d/*.toml" }, { glob = ".jj/repo/*.toml" }] -comment-token = "#" -language-servers = [ "taplo", "tombi" ] -indent = { tab-width = 2, unit = " " } - -[[language]] -name = "jjdescription" -scope = "jj.description" -file-types = [{ glob = "*.jjdescription" }] -comment-token = "JJ:" -indent = { tab-width = 4, unit = " " } -rulers = [51, 73] -text-width = 72 - -[[grammar]] -name = "jjdescription" -source = { git = "https://github.com/kareigu/tree-sitter-jjdescription", rev = "1613b8c85b6ead48464d73668f39910dcbb41911" } - -[[language]] -name = "jjrevset" -scope = "jj.revset" -file-types = ["jjrevset"] - -[[grammar]] -name = "jjrevset" -source = { git = "https://github.com/bryceberger/tree-sitter-jjrevset", rev = "d9af23944b884ec528b505f41d81923bb3136a51" } - -[[language]] -name = "jjtemplate" -scope = "jj.template" -file-types = ["jjtemplate"] - -[[grammar]] -name = "jjtemplate" -source = { git = "https://github.com/bryceberger/tree-sitter-jjtemplate", rev = "4313eda8ac31c60e550e3ad5841b100a0a686715" } - -[[language]] -name = "miseconfig" -scope = "source.miseconfig" -injection-regex = "miseconfig" -grammar = "toml" -file-types = [ - { glob = "mise.toml" }, - { glob = ".mise.toml" }, - { glob = "mise.*.toml" }, - { glob = ".mise.*.toml" }, - { glob = "mise/config.toml" }, - { glob = ".mise/config.toml" }, - { glob = ".config/mise.toml" }, - { glob = ".config/mise/conf.d/*.toml" }, -] -comment-token = "#" -language-servers = [ "taplo", "tombi" ] -indent = { tab-width = 2, unit = " " } - -[[language]] -name = "jq" -scope = "source.jq" -injection-regex = "jq" -file-types = ["jq"] -comment-token = "#" -language-servers = ["jq-lsp"] -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "jq" -source = { git = "https://github.com/flurie/tree-sitter-jq", rev = "13990f530e8e6709b7978503da9bc8701d366791" } - [[grammar]] name = "wren" source = { git = "https://git.sr.ht/~jummit/tree-sitter-wren", rev = "6748694be32f11e7ec6b5faeb1b48ca6156d4e06" } @@ -3809,7 +3233,7 @@ indent = { tab-width = 4, unit = " " } [[grammar]] name = "unison" -source = { git = "https://github.com/kylegoetz/tree-sitter-unison", rev = "3c97db76d3cdbd002dfba493620c2d5df2fd6fa9" } +source = { git = "https://github.com/kylegoetz/tree-sitter-unison", rev = "1f505e2447fa876a87aee47ff3d70b9e141c744f" } [[language]] name = "todotxt" @@ -3878,7 +3302,7 @@ language-servers = [ "templ" ] [[grammar]] name = "templ" -source = { git = "https://github.com/vrischmann/tree-sitter-templ", rev = "47594c5cbef941e6a3ccf4ddb934a68cf4c68075" } +source = { git = "https://github.com/vrischmann/tree-sitter-templ", rev = "db662414ccd6f7c78b1e834e7abe11c224b04759" } [[language]] name = "dbml" @@ -3927,11 +3351,7 @@ source = { git = "https://github.com/urbit-pilled/tree-sitter-hoon", rev = "1d5d [[language]] name = "hocon" scope = "source.conf" -file-types = [ - { glob = "**/src/*/resources/**/*.conf" }, - { glob = "*scalafmt*.conf" }, - { glob = "*scalafix*.conf" }, -] +file-types = ["conf"] comment-token = "#" auto-format = true indent = { tab-width = 2, unit = " " } @@ -3951,7 +3371,7 @@ language-servers = ["koka"] [[grammar]] name = "koka" -source = { git = "https://github.com/koka-community/tree-sitter-koka", rev = "fd3b482274d6988349ba810ea5740e29153b1baf" } +source = { git = "https://github.com/mtoohey31/tree-sitter-koka", rev = "96d070c3700692858035f3524cc0ad944cef2594" } [[language]] name = "tact" @@ -3977,7 +3397,6 @@ scope = "source.pkl" injection-regex = "pkl" file-types = ["pkl", "pcf"] comment-token = "//" -language-servers = ["pkl-lsp"] indent = { tab-width = 2, unit = " " } [[grammar]] @@ -4045,10 +3464,9 @@ source = { git = "https://github.com/mtoohey31/tree-sitter-ld", rev = "0e9695ae0 name = "hyprlang" scope = "source.hyprlang" roots = ["hyprland.conf"] -file-types = [ { glob = "hypr/*.conf" }] +file-types = [ { glob = "hyprland.conf" }, { glob = "hyprpaper.conf" }, { glob = "hypridle.conf" }, { glob = "hyprlock.conf" } ] comment-token = "#" grammar = "hyprlang" -language-servers = ["hyprls"] [[grammar]] name = "hyprlang" @@ -4059,7 +3477,7 @@ name = "tcl" scope = "source.tcl" injection-regex = "tcl" file-types = [ "tcl" ] -shebangs = [ "tclsh", "tclish", "jimsh", "wish" ] +shebangs = [ "tclish", "jimsh", "wish" ] comment-token = '#' [[grammar]] @@ -4085,7 +3503,7 @@ file-types = [{ glob = "PKGBUILD" }] comment-token = "#" grammar = "bash" language-servers = [ - "termux-language-server", + "pkgbuild-language-server", { except-features = [ "diagnostics", ], name = "bash-language-server" }, @@ -4232,7 +3650,7 @@ language-servers = ["pest-language-server"] [[grammar]] name = "pest" -source = { git = "https://github.com/pest-parser/tree-sitter-pest", rev = "c19629a0c50e6ca2485c3b154b1dde841a08d169" } +source = { git = "https://github.com/pest-parser/tree-sitter-pest", rev = "a8a98a824452b1ec4da7f508386a187a2f234b85" } [[language]] name = "elisp" @@ -4263,7 +3681,7 @@ language-servers = [ "ember-language-server", ] indent = { tab-width = 2, unit = " " } -grammar = "glimmer-javascript" +grammar = "javascript" [language.auto-pairs] '<' = '>' @@ -4272,10 +3690,6 @@ grammar = "glimmer-javascript" "(" = ")" '"' = '"' -[[grammar]] -name = "glimmer-javascript" -source = { git = "https://github.com/ember-tooling/tree-sitter-glimmer-javascript", rev = "5cc865a2a0a77cbfaf5062c8fcf2a9919bd54f87" } - [[language]] name = "gts" scope = "source.gts" @@ -4291,7 +3705,7 @@ language-servers = [ "ember-language-server", ] indent = { tab-width = 2, unit = " " } -grammar = "glimmer-typescript" +grammar = "typescript" [language.auto-pairs] '<' = '>' @@ -4299,656 +3713,3 @@ grammar = "glimmer-typescript" "{" = "}" "(" = ")" '"' = '"' - -[[grammar]] -name = "glimmer-typescript" -source = { git = "https://github.com/ember-tooling/tree-sitter-glimmer-typescript", rev = "12d98944c1d5077b957cbdb90d663a7c4d50118c" } - -[[language]] -name = "gherkin" -scope = "source.feature" -file-types = ["feature"] -comment-token = "#" -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "gherkin" -source = { git = "https://github.com/SamyAB/tree-sitter-gherkin", rev = "43873ee8de16476635b48d52c46f5b6407cb5c09" } - -[[language]] -name = "thrift" -scope = "source.thrift" -file-types = ["thrift"] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "thrift" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-thrift" , rev = "68fd0d80943a828d9e6f49c58a74be1e9ca142cf" } - -[[language]] -name = "circom" -scope = "source.circom" -injection-regex = "circom" -file-types = ["circom"] -roots = ["package.json"] -comment-tokens = "//" -indent = { tab-width = 4, unit = " " } -auto-format = false -language-servers = ["circom-lsp"] - -[[grammar]] -name = "circom" -source = { git = "https://github.com/Decurity/tree-sitter-circom", rev = "02150524228b1e6afef96949f2d6b7cc0aaf999e" } - -[[language]] -name = "snakemake" -scope = "source.snakemake" -roots = ["Snakefile", "config.yaml", "environment.yaml", "workflow/"] -file-types = ["smk", { glob = "Snakefile" } ] -comment-tokens = ["#", "##"] -indent = { tab-width = 2, unit = " " } -language-servers = ["pylsp" ] - -[language.formatter] -command = "snakefmt" -args = ["-"] - -[[grammar]] -name = "snakemake" -source = { git = "https://github.com/osthomas/tree-sitter-snakemake", rev = "e909815acdbe37e69440261ebb1091ed52e1dec6" } - -[[language]] -name = "cylc" -scope = "source.cylc" -injection-regex = "cylc" -file-types = ["cylc", { glob = "suite.rc" }] -comment-tokens = "#" -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "cylc" -source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" } - -[[language]] -name = "quint" -scope = "source.quint" -file-types = ["qnt"] -language-servers = ["quint-language-server"] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "quint" -source = { git = "https://github.com/gruhn/tree-sitter-quint", rev = "eebbd01edfeff6404778c92efe5554e42e506a18" } - -[[language]] -name = "spade" -scope = "source.spade" -roots = ["swim.toml"] -file-types = ['spade'] -injection-regex = "spade" -comment-tokens = ["//", "///"] -block-comment-tokens = [ - { start = "/*", end = "*/" }, - { start = "/**", end = "*/" }, -] -language-servers = [ "spade-language-server" ] -indent = { tab-width = 4, unit = " " } - -[language.auto-pairs] -'(' = ')' -'{' = '}' -'[' = ']' -'"' = '"' -'<' = '>' - -[[grammar]] -name = "spade" -source = { git = "https://gitlab.com/spade-lang/tree-sitter-spade", rev = "78bf09a88fc1d396f66b69879f908fc6bd2e6934" } - -[[language]] -name = "amber" -scope = "source.ab" -file-types = ["ab"] -comment-token = ["//", "///"] -indent = { tab-width = 4, unit = " " } -language-servers = ["amber-lsp"] - -[[grammar]] -name = "amber" -source = { git = "https://github.com/amber-lang/tree-sitter-amber", rev = "c6df3ec2ec243ed76550c525e7ac3d9a10c6c814" } - -[[language]] -name = "koto" -scope = "source.koto" -injection-regex = "koto" -file-types = ["koto"] -comment-token = "#" -block-comment-tokens = ["#-", "-#"] -indent = { tab-width = 2, unit = " " } -language-servers = ["koto-ls"] -formatter = {command = "koto", args = ["--format"]} - -[[grammar]] -name = "koto" -source = { git = "https://github.com/koto-lang/tree-sitter-koto", rev = "633744bca404ae4edb961a3c2d7bc947a987afa4" } - -[[language]] -name = "gpr" -scope = "source.gpr" -injection-regex = "gpr" -file-types = ["gpr"] -roots = ["alire.toml"] -comment-token = "--" -indent = { tab-width = 3, unit = " " } -language-servers = ["ada-gpr-language-server"] - -[[grammar]] -name = "gpr" -source = { git = "https://github.com/brownts/tree-sitter-gpr", rev = "cea857d3c18d1385d1f5b66cd09ea1e44173945c" } - -[[language]] -name = "vento" -scope = "text.html.vto" -file-types = ["vto"] -block-comment-tokens = { start = "{{#", end = "#}}" } -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "vento" -source = { git = "https://github.com/ventojs/tree-sitter-vento", rev = "3b32474bc29584ea214e4e84b47102408263fe0e" } - -[[language]] -name = "nginx" -scope = "source.nginx" -injection-regex = "nginx" -file-types = [ - { glob = "sites-available/*.conf" }, - { glob = "sites-enabled/*.conf" }, - { glob = "nginx.conf" }, - { glob = "conf.d/*.conf" } -] -roots = ["nginx.conf"] -comment-token = "#" -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "nginx" -source = { git = "https://gitlab.com/joncoole/tree-sitter-nginx", rev = "b4b61db443602b69410ab469c122c01b1e685aa0" } - -[[language]] -name = "codeql" -scope = "source.ql" -file-types = ["ql", "qll"] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -indent = { tab-width = 2, unit = " " } -injection-regex = "codeql" -grammar = "ql" -language-servers = ["codeql"] - -[[grammar]] -name = "ql" -source = { git = "https://github.com/tree-sitter/tree-sitter-ql", rev = "1fd627a4e8bff8c24c11987474bd33112bead857" } - -[[language]] -name = "gren" -scope = "source.gren" -injection-regex = "gren" -file-types = ["gren"] -roots = ["gren.json"] -comment-tokens = "--" -block-comment-tokens = { start = "{-", end = "-}" } -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "gren" -source = { git = "https://github.com/MaeBrooks/tree-sitter-gren", rev = "76554f4f2339f5a24eed19c58f2079b51c694152" } - -[[language]] -name = "ghostty" -scope = "source.ghostty" -file-types = [{ glob = "ghostty/config" }] -comment-tokens = "#" -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "ghostty" -source = { git = "https://github.com/bezhermoso/tree-sitter-ghostty" , rev = "8438a93b44367e962b2ea3a3b6511885bebd196a" } - -[[language]] -name = "tera" -scope = "source.tera" -file-types = ["tera"] -block-comment-tokens = [ - { start = "{#", end = "#}" }, - { start = "{#-", end = "-#}" }, - { start = "{#", end = "-#}" }, - { start = "{#-", end = "#}" }, -] -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "tera" -source = { git = "https://github.com/uncenter/tree-sitter-tera", rev = "e8d679a29c03e64656463a892a30da626e19ed8e" } - -[[language]] -name = "fga" -scope = "source.fga" -injection-regex = "fga" -file-types = ["fga"] -comment-token = "#" -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "fga" -source = { git = "https://github.com/matoous/tree-sitter-fga", rev = "5005e8dd976e1f67beb3d23204580eb6f8b4c965" } - -[[language]] -name = "csv" -file-types = ["csv"] -scope = "source.csv" - -[[grammar]] -name = "csv" -source = { git = "https://github.com/weartist/rainbow-csv-tree-sitter", rev = "d3dbf916446131417e4c2ea9eb8591b23b466d27" } - -[[language]] -name = "yara" -scope = "source.yara" -file-types = ["yara", "yar"] -indent = { tab-width = 2, unit = " " } -comment-tokens = "//" -block-comment-tokens = { start = "/*", end = "*/"} -language-servers = [ "yls" ] - -[[grammar]] -name = "yara" -source = { git = "https://github.com/egibs/tree-sitter-yara", rev = "eb3ede203275c38000177f72ec0f9965312806ef" } - -[[language]] -name = "ink" -scope = "source.ink" -file-types = ["ink"] -injection-regex = "ink" -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/"} -indent = { tab-width = 4, unit = "\t" } -soft-wrap = { enable = true } - -[[grammar]] -name = "ink" -source = { git = "https://github.com/rhizoome/tree-sitter-ink", rev = "8486e9b1627b0bc6b2deb9ee8102277a7c1281ac" } - -[[language]] -name = "sourcepawn" -scope = "source.sourcepawn" -file-types = ["sp", "inc"] -comment-token = "//" -indent = {tab-width = 4, unit = " "} -language-servers = ["sourcepawn-studio"] - -[[grammar]] -name = "sourcepawn" -source = { git = "https://github.com/nilshelmig/tree-sitter-sourcepawn", rev = "f2af8d0dc14c6790130cceb2a20027eb41a8297c" } - - -[[grammar]] -name = "vim" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-vim", rev = "f3cd62d8bd043ef20507e84bb6b4b53731ccf3a7" } - -[[language]] -name = "vim" -scope = "source.vim" -injection-regex = "vim" -comment-token = '"' -indent = { tab-width = 4, unit = "\t" } -file-types = [ - "vim", - { glob = ".vimrc" }, - { glob = ".nvimrc" }, - { glob = ".exrc" } -] - -[[language]] -name = "tlaplus" -scope = "scope.tlaplus" -injection-regex = "tla" -file-types = ["tla"] -comment-tokens = "\\*" -block-comment-tokens = {start = "(*", end="*)"} -indent = {tab-width = 4, unit = " "} -formatter = {command = "tlafmt", args = ["--stdin"]} - -[[grammar]] -name = "tlaplus" -source = { git = "https://github.com/tlaplus-community/tree-sitter-tlaplus", rev = "4ba91b07b97741a67f61221d0d50e6d962e4987e"} - -[[language]] -name = "werk" -scope = "source.werk" -file-types = [ "werk", { glob = "Werkfile" } ] -comment-token = "#" -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "werk" -source = { git = "https://github.com/little-bonsai/tree-sitter-werk", rev = "92b0f7fe98465c4c435794a58e961306193d1c1e" } - -[[language]] -name = "debian" -scope = "text.debian" -file-types = [ - "dsc", - "changes", - { glob = "debian/**/control" }, - { glob = "etc/apt/sources.list.d/*.sources"} -] -comment-tokens = "#" - -[[grammar]] -name = "debian" -source = { git = "https://gitlab.com/MggMuggins/tree-sitter-debian", rev = "9b3f4b78c45aab8a2f25a5f9e7bbc00995bc3dde" } - -[[language]] -name = "pug" -scope = "source.pug" -file-types = ["pug"] -comment-tokens = ["//", "//-"] -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "pug" -source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "13e9195370172c86a8b88184cc358b23b677cc46" } - -[[language]] -name = "dunstrc" -scope = "source.dunstrc" -comment-tokens = ["#", ";"] -file-types = [ { glob = "dunst/dunstrc" } ] - -[[grammar]] -name = "dunstrc" -source = { git = "https://github.com/rotmh/tree-sitter-dunstrc", rev = "9cb9d5cc51cf5e2a47bb2a0e2f2e519ff11c1431" } - -[[language]] -name = "rust-format-args" -scope = "source.rust-format-args" -file-types = [] -injection-regex = "rust-format-args" - -[[grammar]] -name = "rust-format-args" -source = { git = "https://github.com/nik-rev/tree-sitter-rust-format-args", rev = "84ffe550e261cf5ea40a0ec31849ba2443bae99f" } - -[[language]] -name = "rust-format-args-macro" -scope = "source.rust-format-args-macro" -file-types = [] -grammar = "rust" - -[[language]] -name = "clarity" -scope = "source.clar" -injection-regex = "clarity" -file-types = ["clar"] -roots = ["Clarinet.toml"] -comment-tokens = ";;" -indent = { tab-width = 2, unit = " " } -language-servers = [ "clarinet" ] - -[[grammar]] -name = "clarity" -source = { git = "https://github.com/xlittlerag/tree-sitter-clarity", rev = "7fa54825fdd971a1a676f885384f024fe2b7384a" } - -[[language]] -name = "alloy" -scope = "source.alloy" -injection-regex = "alloy" -file-types = ["alloy"] -comment-token = "//" -block-comment-tokens = { start = "/*", end = "*/" } -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "alloy" -source = { git = "https://github.com/mattsre/tree-sitter-alloy", rev = "3e18eb4e97f06c57a3925f3d20bef6329a6eaef3" } - -[[language]] -name = "luau" -scope = "source.luau" -injection-regex = "^luau$" -file-types = ["luau"] -comment-tokens = ["--", "---"] -block-comment-tokens = [ - {start = "--[[", end = "]]"}, - {start = "--[=[", end = "]=]"}, - {start = "--[==[", end = "]==]"} -] -indent = { tab-width = 2, unit = " "} -roots = [ "aftman.toml", "default.project.json", "wally.toml", "rokit.toml", "selene.toml", ".darklua.json", "foreman.toml", ".luaurc" ] -language-servers = [ "luau" ] - -[[grammar]] -name = "luau" -source = { git = "https://github.com/polychromatist/tree-sitter-luau", rev = "ec187cafba510cddac265329ca7831ec6f3b9955" } - -[[language]] -name = "caddyfile" -scope = "source.caddyfile" -injection-regex = "caddyfile" -file-types = [{ glob = "Caddyfile" }] -comment-tokens = ["#"] -indent = { tab-width = 4, unit = " " } -formatter = { command = "caddy", args = ["fmt", "-"] } -auto-format = true - -[[grammar]] -name = "caddyfile" -source = { git = "https://github.com/caddyserver/tree-sitter-caddyfile", rev = "b04bdb4ec53e40c44afbf001e15540f60a296aef" } - -[[language]] -name = "properties" -scope = "source.properties" -injection-regex = "properties" -file-types = ["properties", "prefs"] -comment-tokens = ["#"] - -[[grammar]] -name = "properties" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-properties", rev = "579b62f5ad8d96c2bb331f07d1408c92767531d9" } - -[[language]] -name = "robots.txt" -scope = "source.robots.txt" -file-types = [{ glob = "robots.txt" }] -injection-regex = "robots[\\.-]txt" -grammar = "robots" -comment-token = "#" - -[[grammar]] -name = "robots" -source = { git = "https://github.com/opa-oz/tree-sitter-robots-txt", rev = "8e3a4205b76236bb6dbebdbee5afc262ce38bb62" } - -[[language]] -name = "pip-requirements" -scope = "source.pip-requirements" -injection-regex = "(pip-)?requirements(\\.txt)?" -grammar = "requirements" -file-types = [{ glob = "requirements.txt" }, { glob = "constraints.txt" }] - -[[grammar]] -name = "requirements" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-requirements", rev = "caeb2ba854dea55931f76034978de1fd79362939" } - -[[language]] -name = "kconfig" -file-types = ["kconfig", { glob = "kconfig.*" }] -scope = "source.kconfig" - -[[grammar]] -name = "kconfig" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-kconfig" , rev = "9ac99fe4c0c27a35dc6f757cef534c646e944881" } - -[[language]] -name = "doxyfile" -scope = "source.doxyfile" -injection-regex = "[Dd]oxyfile" -file-types = [{ glob = "Doxyfile" }] -comment-token = "#" -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "doxyfile" -source = { git = "https://github.com/tingerrr/tree-sitter-doxyfile/", rev = "18e44c6da639632a4e42264c7193df34be915f34" } - -[[language]] -name = "cross-config" -scope = "source.cross-config" -injection-regex = "cross(-config)" -grammar = "toml" -comment-token = "#" -file-types = [{glob = "Cross.toml"}] -language-servers = [ "taplo", "tombi" ] -indent = { tab-width = 2, unit = " " } - -[[language]] -name = "git-cliff-config" -scope = "source.git-cliff-config" -injection-regex = "git-cliff(-config)" -grammar = "toml" -comment-token = "#" -file-types = [{ glob = "cliff.toml" }] -language-servers = ["taplo", "tombi"] -indent = { tab-width = 2, unit = " " } - -[[language]] -name = "cython" -scope = "source.cython" -file-types = ["pxd", "pxi", "pyx"] -comment-token = "#" -roots = ["pyproject.toml", "setup.py", "poetry.lock"] -indent = { tab-width = 4, unit = " " } - -[[grammar]] -name = "cython" -source = { git = "https://github.com/b0o/tree-sitter-cython", rev = "62f44f5e7e41dde03c5f0a05f035e293bcf2bcf8" } - -[[language]] -name = "shellcheckrc" -scope = "source.shellcheckrc" -injection-regex = "shellcheck(rc)?" -file-types = [{glob = "shellcheckrc"}, {glob = ".shellcheckrc"}] -comment-token = "#" - -[[grammar]] -name = "shellcheckrc" -source = {git = "https://codeberg.org/kpbaks/tree-sitter-shellcheckrc", rev = "ad3da4e8f7fd72dcc5e93a6b89822c59a7cd10ff"} - -[[grammar]] -name = "strictdoc" -source = { git = "https://github.com/manueldiagostino/tree-sitter-strictdoc", rev = "070edcf23f7c85af355437706048f73833e0ea10" } - -[[language]] -name = "strictdoc" -scope = "source.strictdoc" -injection-regex = "strictdoc" -file-types = ["sdoc", "sgra"] -comment-token = ".." - -[[language]] -name = "docker-bake" -scope = "source.docker-bake" -injection-regex = "docker-bake" -grammar = "hcl" -file-types = [ - { glob = "docker-bake.hcl" }, - { glob = "docker-bake.override.hcl" }, -] -comment-token = "#" -block-comment-tokens = { start = "/*", end = "*/" } -indent = { tab-width = 2, unit = " " } -language-servers = ["docker-language-server"] - -[[language]] -name = "gitlab-ci" -scope = "source.gitlab-ci" -injection-regex = "^gitlab-ci$" -file-types = [{ glob = ".gitlab-ci.yml" }] -grammar = "yaml" -indent = { tab-width = 2, unit = " " } -language-servers = ["yaml-language-server", "gitlab-ci-ls"] -comment-token = "#" - -[[grammar]] -name = "wikitext" -source = { git = "https://github.com/santhoshtr/tree-sitter-wikitext", rev = "444214b31695e9dd4d32fb06247397fb8778a9d2"} - -[[language]] -name = "wikitext" -scope = "source.wikitext" -file-types = ["wikimedia", "mediawiki", "wikitext"] -language-servers = ["wikitext-lsp"] -indent = { tab-width = 2, unit = " " } -block-comment-tokens = { start = "<!--", end = "-->" } -word-completion.trigger-length = 4 - -[[language]] -name = "slisp" -scope = "source.sl" -injection-regex = "sl" -file-types = ["sl"] -comment-token = ";" -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "slisp" -source = { git = "https://github.com/xenogenics/tree-sitter-slisp", rev = "29f9c6707ce9dfc2fc915d175ec720b207f179f3" } - -[[language]] -name = "nearley" -scope = "source.nearley" -file-types = ["ne"] -comment-token = "#" -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "nearley" -source = { git = "https://github.com/mi2ebi/tree-sitter-nearley", rev = "12d01113e194c8e83f6341aab8c2a5f21db9cac9" } - -[[language]] -name = "kcl" -scope = "source.kcl" -injection-regex = "kcl" -file-types = ["kcl"] -comment-tokens = "//" -indent = { tab-width = 2, unit = " " } -formatter = { command = "zoo" , args = ["kcl", "fmt", "-"] } -language-servers = [ "kcl-lsp" ] -block-comment-tokens = { start = "/*", end = "*/"} - -[[grammar]] -name = "kcl" -source = { git = "https://github.com/KittyCAD/tree-sitter-kcl", rev = "8905e0bdbf5870b50bc3f24345f1af27746f42e8"} - -[[language]] -name = "bovex" -scope = "source.bovex" -file-types = ["bovex", "bibvex"] -comment-tokens = [] -block-comment-tokens = [{start = "(*", end = "*)"}, {start = "[*", end = "*]"}] -indent = {tab-width = 2, unit = " "} -[language.auto-pairs] -'(' = ')' -'[' = ']' -'{' = '}' -'"' = '"' -'“' = '”' -'‘' = '’' - -[[grammar]] -name = "bovex" -source = { git = "https://github.com/mi2ebi/tree-sitter-bovex", rev = "de7657a9cc3525b9b77c6d268da09dad5b1346b0" } |