mirror of https://github.com/helix-editor/helix
parent
768a646468
commit
54143770b7
|
@ -1,3 +1,11 @@
|
||||||
|
/// ```helix
|
||||||
|
/// #(|hello world)#
|
||||||
|
/// #(|hello world)#
|
||||||
|
/// #[hello world|]#
|
||||||
|
/// #(|hello world)#
|
||||||
|
/// ```
|
||||||
|
fn a() {}
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
commands::{self, OnKeyCallback, OnKeyCallbackKind},
|
commands::{self, OnKeyCallback, OnKeyCallbackKind},
|
||||||
compositor::{Component, Context, Event, EventResult},
|
compositor::{Component, Context, Event, EventResult},
|
||||||
|
|
454
languages.toml
454
languages.toml
|
@ -7,8 +7,16 @@ use-grammars = { except = [ "hare", "wren", "gemini" ] }
|
||||||
|
|
||||||
als = { command = "als" }
|
als = { command = "als" }
|
||||||
ada-language-server = { command = "ada_language_server" }
|
ada-language-server = { command = "ada_language_server" }
|
||||||
ada-gpr-language-server = {command = "ada_language_server", args = ["--language-gpr"]}
|
ada-gpr-language-server = { command = "ada_language_server", args = [
|
||||||
angular = {command = "ngserver", args = ["--stdio", "--tsProbeLocations", ".", "--ngProbeLocations", ".",]}
|
"--language-gpr",
|
||||||
|
] }
|
||||||
|
angular = { command = "ngserver", args = [
|
||||||
|
"--stdio",
|
||||||
|
"--tsProbeLocations",
|
||||||
|
".",
|
||||||
|
"--ngProbeLocations",
|
||||||
|
".",
|
||||||
|
] }
|
||||||
asm-lsp = { command = "asm-lsp" }
|
asm-lsp = { command = "asm-lsp" }
|
||||||
awk-language-server = { command = "awk-language-server" }
|
awk-language-server = { command = "awk-language-server" }
|
||||||
bash-language-server = { command = "bash-language-server", args = ["start"] }
|
bash-language-server = { command = "bash-language-server", args = ["start"] }
|
||||||
|
@ -23,15 +31,27 @@ cl-lsp = { command = "cl-lsp" }
|
||||||
clangd = { command = "clangd" }
|
clangd = { command = "clangd" }
|
||||||
clojure-lsp = { command = "clojure-lsp" }
|
clojure-lsp = { command = "clojure-lsp" }
|
||||||
cmake-language-server = { command = "cmake-language-server" }
|
cmake-language-server = { command = "cmake-language-server" }
|
||||||
codeql = { command = "codeql", args = ["execute", "language-server", "--check-errors=ON_CHANGE"] }
|
codeql = { command = "codeql", args = [
|
||||||
|
"execute",
|
||||||
|
"language-server",
|
||||||
|
"--check-errors=ON_CHANGE",
|
||||||
|
] }
|
||||||
crystalline = { command = "crystalline", args = ["--stdio"] }
|
crystalline = { command = "crystalline", args = ["--stdio"] }
|
||||||
cs = { command = "cs", args = ["launch", "--contrib", "smithy-language-server", "--", "0"] }
|
cs = { command = "cs", args = [
|
||||||
|
"launch",
|
||||||
|
"--contrib",
|
||||||
|
"smithy-language-server",
|
||||||
|
"--",
|
||||||
|
"0",
|
||||||
|
] }
|
||||||
csharp-ls = { command = "csharp-ls" }
|
csharp-ls = { command = "csharp-ls" }
|
||||||
cuelsp = { command = "cuelsp" }
|
cuelsp = { command = "cuelsp" }
|
||||||
dart = { command = "dart", args = ["language-server", "--client-id=helix"] }
|
dart = { command = "dart", args = ["language-server", "--client-id=helix"] }
|
||||||
dhall-lsp-server = { command = "dhall-lsp-server" }
|
dhall-lsp-server = { command = "dhall-lsp-server" }
|
||||||
docker-langserver = { command = "docker-langserver", args = ["--stdio"] }
|
docker-langserver = { command = "docker-langserver", args = ["--stdio"] }
|
||||||
docker-compose-langserver = { command = "docker-compose-langserver", args = ["--stdio"]}
|
docker-compose-langserver = { command = "docker-compose-langserver", args = [
|
||||||
|
"--stdio",
|
||||||
|
] }
|
||||||
dot-language-server = { command = "dot-language-server", args = ["--stdio"] }
|
dot-language-server = { command = "dot-language-server", args = ["--stdio"] }
|
||||||
earthlyls = { command = "earthlyls" }
|
earthlyls = { command = "earthlyls" }
|
||||||
elixir-ls = { command = "elixir-ls", config = { elixirLS.dialyzerEnabled = false } }
|
elixir-ls = { command = "elixir-ls", config = { elixirLS.dialyzerEnabled = false } }
|
||||||
|
@ -39,23 +59,40 @@ elm-language-server = { command = "elm-language-server" }
|
||||||
elp = { command = "elp", args = ["server"] }
|
elp = { command = "elp", args = ["server"] }
|
||||||
elvish = { command = "elvish", args = ["-lsp"] }
|
elvish = { command = "elvish", args = ["-lsp"] }
|
||||||
erlang-ls = { command = "erlang_ls" }
|
erlang-ls = { command = "erlang_ls" }
|
||||||
fish-lsp = { command = "fish-lsp", args = ["start"], environment = { fish_lsp_show_client_popups = "false" } }
|
fish-lsp = { command = "fish-lsp", args = [
|
||||||
|
"start",
|
||||||
|
], environment = { fish_lsp_show_client_popups = "false" } }
|
||||||
forc = { command = "forc", args = ["lsp"] }
|
forc = { command = "forc", args = ["lsp"] }
|
||||||
forth-lsp = { command = "forth-lsp" }
|
forth-lsp = { command = "forth-lsp" }
|
||||||
fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
|
fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
|
||||||
fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
|
fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
|
||||||
gleam = { command = "gleam", args = ["lsp"] }
|
gleam = { command = "gleam", args = ["lsp"] }
|
||||||
glsl_analyzer = { command = "glsl_analyzer" }
|
glsl_analyzer = { command = "glsl_analyzer" }
|
||||||
graphql-language-service = { command = "graphql-lsp", args = ["server", "-m", "stream"] }
|
graphql-language-service = { command = "graphql-lsp", args = [
|
||||||
haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
|
"server",
|
||||||
|
"-m",
|
||||||
|
"stream",
|
||||||
|
] }
|
||||||
|
haskell-language-server = { command = "haskell-language-server-wrapper", args = [
|
||||||
|
"--lsp",
|
||||||
|
] }
|
||||||
hyprls = { command = "hyprls" }
|
hyprls = { command = "hyprls" }
|
||||||
idris2-lsp = { command = "idris2-lsp" }
|
idris2-lsp = { command = "idris2-lsp" }
|
||||||
intelephense = { command = "intelephense", args = ["--stdio"] }
|
intelephense = { command = "intelephense", args = ["--stdio"] }
|
||||||
jdtls = { command = "jdtls" }
|
jdtls = { command = "jdtls" }
|
||||||
jedi = { command = "jedi-language-server" }
|
jedi = { command = "jedi-language-server" }
|
||||||
jq-lsp = { command = "jq-lsp" }
|
jq-lsp = { command = "jq-lsp" }
|
||||||
jsonnet-language-server = { command = "jsonnet-language-server", args= ["-t", "--lint"] }
|
jsonnet-language-server = { command = "jsonnet-language-server", args = [
|
||||||
julia = { command = "julia", timeout = 60, args = [ "--startup-file=no", "--history-file=no", "--quiet", "-e", "using LanguageServer; runserver()", ] }
|
"-t",
|
||||||
|
"--lint",
|
||||||
|
] }
|
||||||
|
julia = { command = "julia", timeout = 60, args = [
|
||||||
|
"--startup-file=no",
|
||||||
|
"--history-file=no",
|
||||||
|
"--quiet",
|
||||||
|
"-e",
|
||||||
|
"using LanguageServer; runserver()",
|
||||||
|
] }
|
||||||
koka = { command = "koka", args = ["--language-server", "--lsstdio"] }
|
koka = { command = "koka", args = ["--language-server", "--lsstdio"] }
|
||||||
koto-ls = { command = "koto-ls" }
|
koto-ls = { command = "koto-ls" }
|
||||||
kotlin-language-server = { command = "kotlin-language-server" }
|
kotlin-language-server = { command = "kotlin-language-server" }
|
||||||
|
@ -83,18 +120,28 @@ pasls = { command = "pasls", args = [] }
|
||||||
pbkit = { command = "pb", args = ["lsp"] }
|
pbkit = { command = "pb", args = ["lsp"] }
|
||||||
perlnavigator = { command = "perlnavigator", args = ["--stdio"] }
|
perlnavigator = { command = "perlnavigator", args = ["--stdio"] }
|
||||||
pest-language-server = { command = "pest-language-server" }
|
pest-language-server = { command = "pest-language-server" }
|
||||||
prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] }
|
prisma-language-server = { command = "prisma-language-server", args = [
|
||||||
purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] }
|
"--stdio",
|
||||||
|
] }
|
||||||
|
purescript-language-server = { command = "purescript-language-server", args = [
|
||||||
|
"--stdio",
|
||||||
|
] }
|
||||||
pylsp = { command = "pylsp" }
|
pylsp = { command = "pylsp" }
|
||||||
pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} }
|
pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} }
|
||||||
basedpyright = { command = "basedpyright-langserver", args = ["--stdio"], config = {} }
|
basedpyright = { command = "basedpyright-langserver", args = [
|
||||||
|
"--stdio",
|
||||||
|
], config = {} }
|
||||||
pylyzer = { command = "pylyzer", args = ["--server"] }
|
pylyzer = { command = "pylyzer", args = ["--server"] }
|
||||||
qmlls = { command = "qmlls" }
|
qmlls = { command = "qmlls" }
|
||||||
quint-language-server = { command = "quint-language-server", args = ["--stdio"] }
|
quint-language-server = { command = "quint-language-server", args = [
|
||||||
|
"--stdio",
|
||||||
|
] }
|
||||||
r = { command = "R", args = ["--no-echo", "-e", "languageserver::run()"] }
|
r = { command = "R", args = ["--no-echo", "-e", "languageserver::run()"] }
|
||||||
racket = { command = "racket", args = ["-l", "racket-langserver"] }
|
racket = { command = "racket", args = ["-l", "racket-langserver"] }
|
||||||
regols = { command = "regols" }
|
regols = { command = "regols" }
|
||||||
rescript-language-server = { command = "rescript-language-server", args = ["--stdio"] }
|
rescript-language-server = { command = "rescript-language-server", args = [
|
||||||
|
"--stdio",
|
||||||
|
] }
|
||||||
robotframework_ls = { command = "robotframework_ls" }
|
robotframework_ls = { command = "robotframework_ls" }
|
||||||
ruff = { command = "ruff", args = ["server"] }
|
ruff = { command = "ruff", args = ["server"] }
|
||||||
ruby-lsp = { command = "ruby-lsp" }
|
ruby-lsp = { command = "ruby-lsp" }
|
||||||
|
@ -105,7 +152,16 @@ solc = { command = "solc", args = ["--lsp"] }
|
||||||
sourcekit-lsp = { command = "sourcekit-lsp" }
|
sourcekit-lsp = { command = "sourcekit-lsp" }
|
||||||
spade-language-server = { command = "spade-language-server" }
|
spade-language-server = { command = "spade-language-server" }
|
||||||
svlangserver = { command = "svlangserver", args = [] }
|
svlangserver = { command = "svlangserver", args = [] }
|
||||||
swipl = { command = "swipl", args = [ "-g", "use_module(library(lsp_server))", "-g", "lsp_server:main", "-t", "halt", "--", "stdio" ] }
|
swipl = { command = "swipl", args = [
|
||||||
|
"-g",
|
||||||
|
"use_module(library(lsp_server))",
|
||||||
|
"-g",
|
||||||
|
"lsp_server:main",
|
||||||
|
"-t",
|
||||||
|
"halt",
|
||||||
|
"--",
|
||||||
|
"stdio",
|
||||||
|
] }
|
||||||
superhtml = { command = "superhtml", args = ["lsp"] }
|
superhtml = { command = "superhtml", args = ["lsp"] }
|
||||||
tailwindcss-ls = { command = "tailwindcss-language-server", args = ["--stdio"] }
|
tailwindcss-ls = { command = "tailwindcss-language-server", args = ["--stdio"] }
|
||||||
taplo = { command = "taplo", args = ["lsp", "stdio"] }
|
taplo = { command = "taplo", args = ["lsp", "stdio"] }
|
||||||
|
@ -117,10 +173,18 @@ vala-language-server = { command = "vala-language-server" }
|
||||||
vale-ls = { command = "vale-ls" }
|
vale-ls = { command = "vale-ls" }
|
||||||
vhdl_ls = { command = "vhdl_ls", args = [] }
|
vhdl_ls = { command = "vhdl_ls", args = [] }
|
||||||
vlang-language-server = { command = "v-analyzer" }
|
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-css-language-server = { command = "vscode-css-language-server", args = [
|
||||||
vscode-html-language-server = { command = "vscode-html-language-server", args = ["--stdio"], config = { provideFormatter = true } }
|
"--stdio",
|
||||||
vscode-json-language-server = { command = "vscode-json-language-server", args = ["--stdio"], config = { provideFormatter = true, json = { validate = { enable = true } } } }
|
], config = { provideFormatter = true, css = { validate = { enable = true } } } }
|
||||||
vuels = { command = "vue-language-server", args = ["--stdio"], config = { typescript = { tsdk = "node_modules/typescript/lib/" } } }
|
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" }
|
wgsl_analyzer = { command = "wgsl_analyzer" }
|
||||||
yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
|
yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
|
||||||
zls = { command = "zls" }
|
zls = { command = "zls" }
|
||||||
|
@ -130,7 +194,9 @@ tinymist = { command = "tinymist" }
|
||||||
ts_query_ls = { command = "ts_query_ls" }
|
ts_query_ls = { command = "ts_query_ls" }
|
||||||
pkgbuild-language-server = { command = "pkgbuild-language-server" }
|
pkgbuild-language-server = { command = "pkgbuild-language-server" }
|
||||||
helm_ls = { command = "helm_ls", args = ["serve"] }
|
helm_ls = { command = "helm_ls", args = ["serve"] }
|
||||||
ember-language-server = { command = "ember-language-server", args = ["--stdio"] }
|
ember-language-server = { command = "ember-language-server", args = [
|
||||||
|
"--stdio",
|
||||||
|
] }
|
||||||
teal-language-server = { command = "teal-language-server" }
|
teal-language-server = { command = "teal-language-server" }
|
||||||
wasm-language-tools = { command = "wat_server" }
|
wasm-language-tools = { command = "wat_server" }
|
||||||
|
|
||||||
|
@ -165,7 +231,13 @@ rangeVariableTypes = true
|
||||||
command = "golangci-lint-langserver"
|
command = "golangci-lint-langserver"
|
||||||
|
|
||||||
[language-server.golangci-lint-lsp.config]
|
[language-server.golangci-lint-lsp.config]
|
||||||
command = ["golangci-lint", "run", "--out-format", "json", "--issues-exit-code=1"]
|
command = [
|
||||||
|
"golangci-lint",
|
||||||
|
"run",
|
||||||
|
"--out-format",
|
||||||
|
"json",
|
||||||
|
"--issues-exit-code=1",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
[language-server.rust-analyzer]
|
[language-server.rust-analyzer]
|
||||||
|
@ -296,8 +368,17 @@ args = { pid = "{0}" }
|
||||||
[[language.debugger.templates]]
|
[[language.debugger.templates]]
|
||||||
name = "gdbserver attach"
|
name = "gdbserver attach"
|
||||||
request = "attach"
|
request = "attach"
|
||||||
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
completion = [
|
||||||
args = { attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
{ name = "lldb connect url", default = "connect://localhost:3333" },
|
||||||
|
{ name = "file", completion = "filename" },
|
||||||
|
"pid",
|
||||||
|
]
|
||||||
|
args = { attachCommands = [
|
||||||
|
"platform select remote-gdb-server",
|
||||||
|
"platform connect {0}",
|
||||||
|
"file {1}",
|
||||||
|
"attach {2}",
|
||||||
|
] }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "rust"
|
name = "rust"
|
||||||
|
@ -321,7 +402,13 @@ source = { git = "https://github.com/FuelLabs/tree-sitter-sway", rev = "e491a005
|
||||||
name = "toml"
|
name = "toml"
|
||||||
scope = "source.toml"
|
scope = "source.toml"
|
||||||
injection-regex = "toml"
|
injection-regex = "toml"
|
||||||
file-types = ["toml", { glob = "pdm.lock" }, { glob = "poetry.lock" }, { glob = "Cargo.lock" }, { glob = "uv.lock" }]
|
file-types = [
|
||||||
|
"toml",
|
||||||
|
{ glob = "pdm.lock" },
|
||||||
|
{ glob = "poetry.lock" },
|
||||||
|
{ glob = "Cargo.lock" },
|
||||||
|
{ glob = "uv.lock" },
|
||||||
|
]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
language-servers = ["taplo"]
|
language-servers = ["taplo"]
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
@ -545,8 +632,17 @@ args = { console = "internalConsole", pid = "{0}" }
|
||||||
[[language.debugger.templates]]
|
[[language.debugger.templates]]
|
||||||
name = "gdbserver attach"
|
name = "gdbserver attach"
|
||||||
request = "attach"
|
request = "attach"
|
||||||
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
completion = [
|
||||||
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
{ name = "lldb connect url", default = "connect://localhost:3333" },
|
||||||
|
{ name = "file", completion = "filename" },
|
||||||
|
"pid",
|
||||||
|
]
|
||||||
|
args = { console = "internalConsole", attachCommands = [
|
||||||
|
"platform select remote-gdb-server",
|
||||||
|
"platform connect {0}",
|
||||||
|
"file {1}",
|
||||||
|
"attach {2}",
|
||||||
|
] }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "c"
|
name = "c"
|
||||||
|
@ -556,7 +652,31 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd
|
||||||
name = "cpp"
|
name = "cpp"
|
||||||
scope = "source.cpp"
|
scope = "source.cpp"
|
||||||
injection-regex = "cpp"
|
injection-regex = "cpp"
|
||||||
file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H", "cu", "cuh", "cppm", "h++", "ii", "inl", { glob = ".hpp.in" }, { glob = ".h.in" }]
|
file-types = [
|
||||||
|
"cc",
|
||||||
|
"hh",
|
||||||
|
"c++",
|
||||||
|
"cpp",
|
||||||
|
"hpp",
|
||||||
|
"h",
|
||||||
|
"ipp",
|
||||||
|
"tpp",
|
||||||
|
"cxx",
|
||||||
|
"hxx",
|
||||||
|
"ixx",
|
||||||
|
"txx",
|
||||||
|
"ino",
|
||||||
|
"C",
|
||||||
|
"H",
|
||||||
|
"cu",
|
||||||
|
"cuh",
|
||||||
|
"cppm",
|
||||||
|
"h++",
|
||||||
|
"ii",
|
||||||
|
"inl",
|
||||||
|
{ glob = ".hpp.in" },
|
||||||
|
{ glob = ".h.in" },
|
||||||
|
]
|
||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
block-comment-tokens = { start = "/*", end = "*/" }
|
block-comment-tokens = { start = "/*", end = "*/" }
|
||||||
language-servers = ["clangd"]
|
language-servers = ["clangd"]
|
||||||
|
@ -582,8 +702,17 @@ args = { console = "internalConsole", pid = "{0}" }
|
||||||
[[language.debugger.templates]]
|
[[language.debugger.templates]]
|
||||||
name = "gdbserver attach"
|
name = "gdbserver attach"
|
||||||
request = "attach"
|
request = "attach"
|
||||||
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
completion = [
|
||||||
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
{ name = "lldb connect url", default = "connect://localhost:3333" },
|
||||||
|
{ name = "file", completion = "filename" },
|
||||||
|
"pid",
|
||||||
|
]
|
||||||
|
args = { console = "internalConsole", attachCommands = [
|
||||||
|
"platform select remote-gdb-server",
|
||||||
|
"platform connect {0}",
|
||||||
|
"file {1}",
|
||||||
|
"attach {2}",
|
||||||
|
] }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "cpp"
|
name = "cpp"
|
||||||
|
@ -704,7 +833,10 @@ args = { mode = "local", processId = "{0}" }
|
||||||
[[language.debugger.templates]]
|
[[language.debugger.templates]]
|
||||||
name = "core"
|
name = "core"
|
||||||
request = "launch"
|
request = "launch"
|
||||||
completion = [ { name = "binary", completion = "filename" }, { name = "core", completion = "filename" } ]
|
completion = [
|
||||||
|
{ name = "binary", completion = "filename" },
|
||||||
|
{ name = "core", completion = "filename" },
|
||||||
|
]
|
||||||
args = { mode = "core", program = "{0}", coreFilePath = "{1}" }
|
args = { mode = "core", program = "{0}", coreFilePath = "{1}" }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
|
@ -758,7 +890,16 @@ name = "javascript"
|
||||||
scope = "source.js"
|
scope = "source.js"
|
||||||
injection-regex = "(js|javascript)"
|
injection-regex = "(js|javascript)"
|
||||||
language-id = "javascript"
|
language-id = "javascript"
|
||||||
file-types = ["js", "mjs", "cjs", "rules", "es6", "pac", { glob = ".node_repl_history" }, { glob = "jakefile" }]
|
file-types = [
|
||||||
|
"js",
|
||||||
|
"mjs",
|
||||||
|
"cjs",
|
||||||
|
"rules",
|
||||||
|
"es6",
|
||||||
|
"pac",
|
||||||
|
{ glob = ".node_repl_history" },
|
||||||
|
{ glob = "jakefile" },
|
||||||
|
]
|
||||||
shebangs = ["node"]
|
shebangs = ["node"]
|
||||||
roots = ["package.json"]
|
roots = ["package.json"]
|
||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
|
@ -877,7 +1018,20 @@ source = { git = "https://github.com/serenadeai/tree-sitter-scss", rev = "c478c6
|
||||||
name = "html"
|
name = "html"
|
||||||
scope = "text.html.basic"
|
scope = "text.html.basic"
|
||||||
injection-regex = "html"
|
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",
|
||||||
|
"cshtml",
|
||||||
|
]
|
||||||
block-comment-tokens = { start = "<!--", end = "-->" }
|
block-comment-tokens = { start = "<!--", end = "-->" }
|
||||||
language-servers = ["vscode-html-language-server", "superhtml"]
|
language-servers = ["vscode-html-language-server", "superhtml"]
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
@ -891,7 +1045,22 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-html", rev = "29f53
|
||||||
name = "python"
|
name = "python"
|
||||||
scope = "source.python"
|
scope = "source.python"
|
||||||
injection-regex = "py(thon)?"
|
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" }]
|
file-types = [
|
||||||
|
"py",
|
||||||
|
"pyi",
|
||||||
|
"py3",
|
||||||
|
"pyw",
|
||||||
|
"ptl",
|
||||||
|
"rpy",
|
||||||
|
"cpy",
|
||||||
|
"ipy",
|
||||||
|
"pyt",
|
||||||
|
{ glob = ".python_history" },
|
||||||
|
{ glob = ".pythonstartup" },
|
||||||
|
{ glob = ".pythonrc" },
|
||||||
|
{ glob = "SConstruct" },
|
||||||
|
{ glob = "SConscript" },
|
||||||
|
]
|
||||||
shebangs = ["python", "uv"]
|
shebangs = ["python", "uv"]
|
||||||
roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
|
roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
|
@ -1357,7 +1526,14 @@ source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe27547
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "yaml"
|
name = "yaml"
|
||||||
scope = "source.yaml"
|
scope = "source.yaml"
|
||||||
file-types = ["yml", "yaml", { glob = ".prettierrc" }, { glob = ".clangd" }, { glob = ".clang-format" }, { glob = ".clang-tidy" }]
|
file-types = [
|
||||||
|
"yml",
|
||||||
|
"yaml",
|
||||||
|
{ glob = ".prettierrc" },
|
||||||
|
{ glob = ".clangd" },
|
||||||
|
{ glob = ".clang-format" },
|
||||||
|
{ glob = ".clang-tidy" },
|
||||||
|
]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
language-servers = ["yaml-language-server", "ansible-language-server"]
|
language-servers = ["yaml-language-server", "ansible-language-server"]
|
||||||
|
@ -1451,8 +1627,17 @@ args = { console = "internalConsole", pid = "{0}" }
|
||||||
[[language.debugger.templates]]
|
[[language.debugger.templates]]
|
||||||
name = "gdbserver attach"
|
name = "gdbserver attach"
|
||||||
request = "attach"
|
request = "attach"
|
||||||
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
completion = [
|
||||||
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
{ name = "lldb connect url", default = "connect://localhost:3333" },
|
||||||
|
{ name = "file", completion = "filename" },
|
||||||
|
"pid",
|
||||||
|
]
|
||||||
|
args = { console = "internalConsole", attachCommands = [
|
||||||
|
"platform select remote-gdb-server",
|
||||||
|
"platform connect {0}",
|
||||||
|
"file {1}",
|
||||||
|
"attach {2}",
|
||||||
|
] }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "zig"
|
name = "zig"
|
||||||
|
@ -1470,7 +1655,15 @@ language-servers = [ "swipl" ]
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "tsq"
|
name = "tsq"
|
||||||
scope = "source.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 = [
|
||||||
|
{ glob = "queries/*.scm" },
|
||||||
|
{ glob = "injections.scm" },
|
||||||
|
{ glob = "highlights.scm" },
|
||||||
|
{ glob = "indents.scm" },
|
||||||
|
{ glob = "textobjects.scm" },
|
||||||
|
{ glob = "locals.scm" },
|
||||||
|
{ glob = "tags.scm" },
|
||||||
|
]
|
||||||
comment-token = ";"
|
comment-token = ";"
|
||||||
injection-regex = "tsq"
|
injection-regex = "tsq"
|
||||||
language-servers = ["ts_query_ls"]
|
language-servers = ["ts_query_ls"]
|
||||||
|
@ -1503,7 +1696,15 @@ source = { git = "https://github.com/uyha/tree-sitter-cmake", rev = "6e51463ef30
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "make"
|
name = "make"
|
||||||
scope = "source.make"
|
scope = "source.make"
|
||||||
file-types = [{ glob = "Makefile" }, { glob = "makefile" }, "make", "mk", "mak", {glob = "GNUmakefile" }, { glob = "OCamlMakefile" }]
|
file-types = [
|
||||||
|
{ glob = "Makefile" },
|
||||||
|
{ glob = "makefile" },
|
||||||
|
"make",
|
||||||
|
"mk",
|
||||||
|
"mak",
|
||||||
|
{ glob = "GNUmakefile" },
|
||||||
|
{ glob = "OCamlMakefile" },
|
||||||
|
]
|
||||||
shebangs = ["make", "gmake"]
|
shebangs = ["make", "gmake"]
|
||||||
injection-regex = "(make|makefile|Makefile|mk)"
|
injection-regex = "(make|makefile|Makefile|mk)"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
|
@ -1530,7 +1731,20 @@ source = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "88408ff
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "perl"
|
name = "perl"
|
||||||
scope = "source.perl"
|
scope = "source.perl"
|
||||||
file-types = ["pl", "pm", "t", "psgi", "raku", "rakumod", "rakutest", "rakudoc", "nqp", "p6", "pl6", "pm6"]
|
file-types = [
|
||||||
|
"pl",
|
||||||
|
"pm",
|
||||||
|
"t",
|
||||||
|
"psgi",
|
||||||
|
"raku",
|
||||||
|
"rakumod",
|
||||||
|
"rakutest",
|
||||||
|
"rakudoc",
|
||||||
|
"nqp",
|
||||||
|
"p6",
|
||||||
|
"pl6",
|
||||||
|
"pm6",
|
||||||
|
]
|
||||||
shebangs = ["perl"]
|
shebangs = ["perl"]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
language-servers = ["perlnavigator"]
|
language-servers = ["perlnavigator"]
|
||||||
|
@ -1651,7 +1865,21 @@ source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "3e9c4
|
||||||
name = "markdown"
|
name = "markdown"
|
||||||
scope = "source.md"
|
scope = "source.md"
|
||||||
injection-regex = "md|markdown"
|
injection-regex = "md|markdown"
|
||||||
file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }]
|
file-types = [
|
||||||
|
"md",
|
||||||
|
"livemd",
|
||||||
|
"markdown",
|
||||||
|
"mdx",
|
||||||
|
"mkd",
|
||||||
|
"mkdn",
|
||||||
|
"mdwn",
|
||||||
|
"mdown",
|
||||||
|
"markdn",
|
||||||
|
"mdtxt",
|
||||||
|
"mdtext",
|
||||||
|
"workbook",
|
||||||
|
{ glob = "PULLREQ_EDITMSG" },
|
||||||
|
]
|
||||||
roots = [".marksman.toml"]
|
roots = [".marksman.toml"]
|
||||||
language-servers = ["marksman", "markdown-oxide"]
|
language-servers = ["marksman", "markdown-oxide"]
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
@ -1690,7 +1918,14 @@ source = { git = "https://github.com/UserNobody14/tree-sitter-dart", rev = "e398
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "scala"
|
name = "scala"
|
||||||
scope = "source.scala"
|
scope = "source.scala"
|
||||||
roots = ["build.sbt", "build.sc", "build.gradle", "build.gradle.kts", "pom.xml", ".scala-build"]
|
roots = [
|
||||||
|
"build.sbt",
|
||||||
|
"build.sc",
|
||||||
|
"build.gradle",
|
||||||
|
"build.gradle.kts",
|
||||||
|
"pom.xml",
|
||||||
|
".scala-build",
|
||||||
|
]
|
||||||
file-types = ["scala", "sbt", "sc"]
|
file-types = ["scala", "sbt", "sc"]
|
||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
block-comment-tokens = { start = "/*", end = "*/" }
|
block-comment-tokens = { start = "/*", end = "*/" }
|
||||||
|
@ -1788,7 +2023,12 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-regex", rev = "e1cf
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "git-config"
|
name = "git-config"
|
||||||
scope = "source.gitconfig"
|
scope = "source.gitconfig"
|
||||||
file-types = [{ glob = ".gitmodules" }, { 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"
|
injection-regex = "git-config"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 4, unit = "\t" }
|
indent = { tab-width = 4, unit = "\t" }
|
||||||
|
@ -1812,7 +2052,15 @@ source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes", rev =
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "git-ignore"
|
name = "git-ignore"
|
||||||
scope = "source.gitignore"
|
scope = "source.gitignore"
|
||||||
file-types = [{ glob = ".gitignore_global" }, { glob = "git/ignore" }, { glob = ".ignore" }, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }, { glob = ".*ignore" }]
|
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"
|
injection-regex = "git-ignore"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
grammar = "gitignore"
|
grammar = "gitignore"
|
||||||
|
@ -1882,7 +2130,14 @@ source = { git = "https://github.com/rescript-lang/tree-sitter-rescript", rev =
|
||||||
name = "erlang"
|
name = "erlang"
|
||||||
scope = "source.erlang"
|
scope = "source.erlang"
|
||||||
injection-regex = "erl(ang)?"
|
injection-regex = "erl(ang)?"
|
||||||
file-types = ["erl", "hrl", "app", { glob = "rebar.config" }, { glob = "rebar.lock" }, { glob = "*.app.src" }]
|
file-types = [
|
||||||
|
"erl",
|
||||||
|
"hrl",
|
||||||
|
"app",
|
||||||
|
{ glob = "rebar.config" },
|
||||||
|
{ glob = "rebar.lock" },
|
||||||
|
{ glob = "*.app.src" },
|
||||||
|
]
|
||||||
roots = ["rebar.config"]
|
roots = ["rebar.config"]
|
||||||
shebangs = ["escript"]
|
shebangs = ["escript"]
|
||||||
comment-token = "%%"
|
comment-token = "%%"
|
||||||
|
@ -2005,7 +2260,13 @@ source = { git = "https://github.com/Hubro/tree-sitter-robot", rev = "322e4cc657
|
||||||
name = "r"
|
name = "r"
|
||||||
scope = "source.r"
|
scope = "source.r"
|
||||||
injection-regex = "(r|R)"
|
injection-regex = "(r|R)"
|
||||||
file-types = ["r", "R", { glob = ".Rprofile" }, { glob = "Rprofile.site" }, { glob = ".RHistory" }]
|
file-types = [
|
||||||
|
"r",
|
||||||
|
"R",
|
||||||
|
{ glob = ".Rprofile" },
|
||||||
|
{ glob = "Rprofile.site" },
|
||||||
|
{ glob = ".RHistory" },
|
||||||
|
]
|
||||||
shebangs = ["r", "R"]
|
shebangs = ["r", "R"]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
@ -2246,8 +2507,17 @@ args = { console = "internalConsole", pid = "{0}" }
|
||||||
[[language.debugger.templates]]
|
[[language.debugger.templates]]
|
||||||
name = "gdbserver attach"
|
name = "gdbserver attach"
|
||||||
request = "attach"
|
request = "attach"
|
||||||
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
completion = [
|
||||||
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
{ name = "lldb connect url", default = "connect://localhost:3333" },
|
||||||
|
{ name = "file", completion = "filename" },
|
||||||
|
"pid",
|
||||||
|
]
|
||||||
|
args = { console = "internalConsole", attachCommands = [
|
||||||
|
"platform select remote-gdb-server",
|
||||||
|
"platform connect {0}",
|
||||||
|
"file {1}",
|
||||||
|
"attach {2}",
|
||||||
|
] }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "odin"
|
name = "odin"
|
||||||
|
@ -2257,7 +2527,11 @@ source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-odin", rev
|
||||||
name = "meson"
|
name = "meson"
|
||||||
scope = "source.meson"
|
scope = "source.meson"
|
||||||
injection-regex = "meson"
|
injection-regex = "meson"
|
||||||
file-types = [{ glob = "meson.build" }, { glob = "meson.options" }, { glob = "meson_options.txt" }]
|
file-types = [
|
||||||
|
{ glob = "meson.build" },
|
||||||
|
{ glob = "meson.options" },
|
||||||
|
{ glob = "meson_options.txt" },
|
||||||
|
]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
language-servers = ["mesonlsp"]
|
language-servers = ["mesonlsp"]
|
||||||
|
@ -2269,7 +2543,11 @@ source = { git = "https://github.com/staysail/tree-sitter-meson", rev = "32a83e8
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "sshclientconfig"
|
name = "sshclientconfig"
|
||||||
scope = "source.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" },
|
||||||
|
{ glob = "ssh_config.d/*.conf" },
|
||||||
|
]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
|
@ -2393,7 +2671,16 @@ source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569
|
||||||
name = "starlark"
|
name = "starlark"
|
||||||
scope = "source.starlark"
|
scope = "source.starlark"
|
||||||
injection-regex = "(starlark|bzl|bazel)"
|
injection-regex = "(starlark|bzl|bazel)"
|
||||||
file-types = ["bzl", "bazel", "star", { glob = "BUILD" }, { glob = "BUILD.*" }, { glob = "Tiltfile" }, { glob = "WORKSPACE" }, { glob = "WORKSPACE.bzlmod" }]
|
file-types = [
|
||||||
|
"bzl",
|
||||||
|
"bazel",
|
||||||
|
"star",
|
||||||
|
{ glob = "BUILD" },
|
||||||
|
{ glob = "BUILD.*" },
|
||||||
|
{ glob = "Tiltfile" },
|
||||||
|
{ glob = "WORKSPACE" },
|
||||||
|
{ glob = "WORKSPACE.bzlmod" },
|
||||||
|
]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 4, unit = " " }
|
indent = { tab-width = 4, unit = " " }
|
||||||
grammar = "python"
|
grammar = "python"
|
||||||
|
@ -2739,7 +3026,7 @@ file-types = [
|
||||||
"xoml",
|
"xoml",
|
||||||
"musicxml",
|
"musicxml",
|
||||||
"glif",
|
"glif",
|
||||||
"ui"
|
"ui",
|
||||||
]
|
]
|
||||||
block-comment-tokens = { start = "<!--", end = "-->" }
|
block-comment-tokens = { start = "<!--", end = "-->" }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
@ -2799,7 +3086,12 @@ source = { git = "https://github.com/hh9527/tree-sitter-wit", rev = "c917790ab9a
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "env"
|
name = "env"
|
||||||
scope = "source.env"
|
scope = "source.env"
|
||||||
file-types = [{ glob = ".env" }, { glob = ".env.*" }, { glob = ".envrc" }, { glob = ".envrc.*" }]
|
file-types = [
|
||||||
|
{ glob = ".env" },
|
||||||
|
{ glob = ".env.*" },
|
||||||
|
{ glob = ".envrc" },
|
||||||
|
{ glob = ".envrc.*" },
|
||||||
|
]
|
||||||
injection-regex = "env"
|
injection-regex = "env"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 4, unit = "\t" }
|
indent = { tab-width = 4, unit = "\t" }
|
||||||
|
@ -2835,7 +3127,7 @@ file-types = [
|
||||||
{ glob = "rclone.conf" },
|
{ glob = "rclone.conf" },
|
||||||
"properties",
|
"properties",
|
||||||
"cfg",
|
"cfg",
|
||||||
"directory"
|
"directory",
|
||||||
]
|
]
|
||||||
injection-regex = "ini"
|
injection-regex = "ini"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
|
@ -3202,7 +3494,13 @@ source = { git = "https://github.com/lefp/tree-sitter-opencl", rev = "8e1d24a570
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "just"
|
name = "just"
|
||||||
scope = "source.just"
|
scope = "source.just"
|
||||||
file-types = ["just", { glob = "justfile" }, { glob = "Justfile" }, { glob = ".justfile" }, { glob = ".Justfile" }]
|
file-types = [
|
||||||
|
"just",
|
||||||
|
{ glob = "justfile" },
|
||||||
|
{ glob = "Justfile" },
|
||||||
|
{ glob = ".justfile" },
|
||||||
|
{ glob = ".Justfile" },
|
||||||
|
]
|
||||||
injection-regex = "just"
|
injection-regex = "just"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 4, unit = " " }
|
indent = { tab-width = 4, unit = " " }
|
||||||
|
@ -3477,7 +3775,14 @@ source = { git = "https://github.com/dynamotn/tree-sitter-dbml", rev = "2e2fa564
|
||||||
name = "bitbake"
|
name = "bitbake"
|
||||||
language-servers = ["bitbake-language-server"]
|
language-servers = ["bitbake-language-server"]
|
||||||
scope = "source.bitbake"
|
scope = "source.bitbake"
|
||||||
file-types = ["bb", "bbappend", "bbclass", {glob = "conf/*.conf" }, {glob = "conf/*/*.{inc,conf}" }, { glob = "recipe-*/*/*.inc" }]
|
file-types = [
|
||||||
|
"bb",
|
||||||
|
"bbappend",
|
||||||
|
"bbclass",
|
||||||
|
{ glob = "conf/*.conf" },
|
||||||
|
{ glob = "conf/*/*.{inc,conf}" },
|
||||||
|
{ glob = "recipe-*/*/*.inc" },
|
||||||
|
]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
|
@ -3568,7 +3873,13 @@ source = { git = "https://github.com/apple/tree-sitter-pkl", rev = "c03f04a313b7
|
||||||
name = "groovy"
|
name = "groovy"
|
||||||
language-id = "groovy"
|
language-id = "groovy"
|
||||||
scope = "source.groovy"
|
scope = "source.groovy"
|
||||||
file-types = ["gradle", "groovy", "jenkinsfile", { glob = "Jenkinsfile" }, { glob = "Jenkinsfile.*" }]
|
file-types = [
|
||||||
|
"gradle",
|
||||||
|
"groovy",
|
||||||
|
"jenkinsfile",
|
||||||
|
{ glob = "Jenkinsfile" },
|
||||||
|
{ glob = "Jenkinsfile.*" },
|
||||||
|
]
|
||||||
shebangs = ["groovy"]
|
shebangs = ["groovy"]
|
||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
@ -3678,7 +3989,12 @@ scope = "source.helm"
|
||||||
roots = ["Chart.yaml"]
|
roots = ["Chart.yaml"]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
language-servers = ["helm_ls"]
|
language-servers = ["helm_ls"]
|
||||||
file-types = [ { glob = "templates/*.yaml" }, { glob = "templates/*.yml" }, { glob = "templates/_*.tpl"}, { glob = "templates/NOTES.txt" } ]
|
file-types = [
|
||||||
|
{ glob = "templates/*.yaml" },
|
||||||
|
{ glob = "templates/*.yml" },
|
||||||
|
{ glob = "templates/_*.tpl" },
|
||||||
|
{ glob = "templates/NOTES.txt" },
|
||||||
|
]
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "glimmer"
|
name = "glimmer"
|
||||||
|
@ -3729,9 +4045,7 @@ name = "earthfile"
|
||||||
scope = "source.earthfile"
|
scope = "source.earthfile"
|
||||||
injection-regex = "earthfile"
|
injection-regex = "earthfile"
|
||||||
roots = ["Earthfile"]
|
roots = ["Earthfile"]
|
||||||
file-types = [
|
file-types = [{ glob = "Earthfile" }]
|
||||||
{ glob = "Earthfile" },
|
|
||||||
]
|
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
language-servers = ["earthlyls"]
|
language-servers = ["earthlyls"]
|
||||||
|
@ -3837,7 +4151,8 @@ comment-token = "//"
|
||||||
block-comment-tokens = { start = "/*", end = "*/" }
|
block-comment-tokens = { start = "/*", end = "*/" }
|
||||||
language-servers = [
|
language-servers = [
|
||||||
{ except-features = [
|
{ except-features = [
|
||||||
"format", "diagnostics",
|
"format",
|
||||||
|
"diagnostics",
|
||||||
], name = "typescript-language-server" },
|
], name = "typescript-language-server" },
|
||||||
"vscode-eslint-language-server",
|
"vscode-eslint-language-server",
|
||||||
"ember-language-server",
|
"ember-language-server",
|
||||||
|
@ -3861,7 +4176,8 @@ comment-token = "//"
|
||||||
block-comment-tokens = { start = "/*", end = "*/" }
|
block-comment-tokens = { start = "/*", end = "*/" }
|
||||||
language-servers = [
|
language-servers = [
|
||||||
{ except-features = [
|
{ except-features = [
|
||||||
"format", "diagnostics",
|
"format",
|
||||||
|
"diagnostics",
|
||||||
], name = "typescript-language-server" },
|
], name = "typescript-language-server" },
|
||||||
"vscode-eslint-language-server",
|
"vscode-eslint-language-server",
|
||||||
"ember-language-server",
|
"ember-language-server",
|
||||||
|
@ -4039,7 +4355,7 @@ file-types = [
|
||||||
{ glob = "sites-available/*.conf" },
|
{ glob = "sites-available/*.conf" },
|
||||||
{ glob = "sites-enabled/*.conf" },
|
{ glob = "sites-enabled/*.conf" },
|
||||||
{ glob = "nginx.conf" },
|
{ glob = "nginx.conf" },
|
||||||
{ glob = "conf.d/*.conf" }
|
{ glob = "conf.d/*.conf" },
|
||||||
]
|
]
|
||||||
roots = ["nginx.conf"]
|
roots = ["nginx.conf"]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
|
@ -4077,3 +4393,13 @@ indent = { tab-width = 4, unit = " " }
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "gren"
|
name = "gren"
|
||||||
source = { git = "https://github.com/MaeBrooks/tree-sitter-gren", rev = "76554f4f2339f5a24eed19c58f2079b51c694152" }
|
source = { git = "https://github.com/MaeBrooks/tree-sitter-gren", rev = "76554f4f2339f5a24eed19c58f2079b51c694152" }
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "helix"
|
||||||
|
scope = "source.helix"
|
||||||
|
injection-regex = "helix"
|
||||||
|
file-types = ["helix"]
|
||||||
|
|
||||||
|
[[grammar]]
|
||||||
|
name = "helix"
|
||||||
|
source = { path = "/home/e/a/tree-sitter-helix" }
|
||||||
|
|
Loading…
Reference in New Issue