mirror of https://github.com/helix-editor/helix
style: revert formatting changes
parent
b51ca5d500
commit
ef5c878e1c
444
languages.toml
444
languages.toml
|
@ -7,16 +7,8 @@ use-grammars = { except = ["hare", "wren", "gemini"] }
|
|||
|
||||
als = { command = "als" }
|
||||
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",
|
||||
".",
|
||||
] }
|
||||
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"] }
|
||||
|
@ -31,27 +23,15 @@ cl-lsp = { command = "cl-lsp" }
|
|||
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",
|
||||
] }
|
||||
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",
|
||||
] }
|
||||
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" }
|
||||
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"] }
|
||||
earthlyls = { command = "earthlyls" }
|
||||
elixir-ls = { command = "elixir-ls", config = { elixirLS.dialyzerEnabled = false } }
|
||||
|
@ -59,40 +39,23 @@ elm-language-server = { command = "elm-language-server" }
|
|||
elp = { command = "elp", args = ["server"] }
|
||||
elvish = { command = "elvish", args = ["-lsp"] }
|
||||
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"] }
|
||||
forth-lsp = { command = "forth-lsp" }
|
||||
fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
|
||||
fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
|
||||
gleam = { command = "gleam", args = ["lsp"] }
|
||||
glsl_analyzer = { command = "glsl_analyzer" }
|
||||
graphql-language-service = { command = "graphql-lsp", args = [
|
||||
"server",
|
||||
"-m",
|
||||
"stream",
|
||||
] }
|
||||
haskell-language-server = { command = "haskell-language-server-wrapper", args = [
|
||||
"--lsp",
|
||||
] }
|
||||
graphql-language-service = { command = "graphql-lsp", args = ["server", "-m", "stream"] }
|
||||
haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
|
||||
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()",
|
||||
] }
|
||||
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()", ] }
|
||||
koka = { command = "koka", args = ["--language-server", "--lsstdio"] }
|
||||
koto-ls = { command = "koto-ls" }
|
||||
kotlin-language-server = { command = "kotlin-language-server" }
|
||||
|
@ -120,28 +83,18 @@ pasls = { command = "pasls", args = [] }
|
|||
pbkit = { command = "pb", args = [ "lsp" ] }
|
||||
perlnavigator = { command = "perlnavigator", args= ["--stdio"] }
|
||||
pest-language-server = { command = "pest-language-server" }
|
||||
prisma-language-server = { command = "prisma-language-server", args = [
|
||||
"--stdio",
|
||||
] }
|
||||
purescript-language-server = { command = "purescript-language-server", args = [
|
||||
"--stdio",
|
||||
] }
|
||||
prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] }
|
||||
purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] }
|
||||
pylsp = { command = "pylsp" }
|
||||
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"] }
|
||||
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()"] }
|
||||
racket = { command = "racket", args = ["-l", "racket-langserver"] }
|
||||
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" }
|
||||
ruff = { command = "ruff", args = ["server"] }
|
||||
ruby-lsp = { command = "ruby-lsp" }
|
||||
|
@ -152,16 +105,7 @@ solc = { command = "solc", args = ["--lsp"] }
|
|||
sourcekit-lsp = { command = "sourcekit-lsp" }
|
||||
spade-language-server = {command = "spade-language-server"}
|
||||
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"]}
|
||||
tailwindcss-ls = { command = "tailwindcss-language-server", args = ["--stdio"] }
|
||||
taplo = { command = "taplo", args = ["lsp", "stdio"] }
|
||||
|
@ -173,18 +117,10 @@ 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/" } } }
|
||||
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" }
|
||||
yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
|
||||
zls = { command = "zls" }
|
||||
|
@ -194,9 +130,7 @@ tinymist = { command = "tinymist" }
|
|||
ts_query_ls = { command = "ts_query_ls" }
|
||||
pkgbuild-language-server = { command = "pkgbuild-language-server" }
|
||||
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" }
|
||||
wasm-language-tools = { command = "wat_server" }
|
||||
|
||||
|
@ -231,13 +165,7 @@ rangeVariableTypes = true
|
|||
command = "golangci-lint-langserver"
|
||||
|
||||
[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]
|
||||
|
@ -368,17 +296,8 @@ args = { pid = "{0}" }
|
|||
[[language.debugger.templates]]
|
||||
name = "gdbserver attach"
|
||||
request = "attach"
|
||||
completion = [
|
||||
{ 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}",
|
||||
] }
|
||||
completion = [ { 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]]
|
||||
name = "rust"
|
||||
|
@ -402,13 +321,7 @@ 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" },
|
||||
]
|
||||
file-types = ["toml", { glob = "pdm.lock" }, { glob = "poetry.lock" }, { glob = "Cargo.lock" }, { glob = "uv.lock" }]
|
||||
comment-token = "#"
|
||||
language-servers = [ "taplo" ]
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
@ -632,17 +545,8 @@ args = { console = "internalConsole", pid = "{0}" }
|
|||
[[language.debugger.templates]]
|
||||
name = "gdbserver attach"
|
||||
request = "attach"
|
||||
completion = [
|
||||
{ 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}",
|
||||
] }
|
||||
completion = [ { 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]]
|
||||
name = "c"
|
||||
|
@ -652,31 +556,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd
|
|||
name = "cpp"
|
||||
scope = "source.cpp"
|
||||
injection-regex = "cpp"
|
||||
file-types = [
|
||||
"cc",
|
||||
"hh",
|
||||
"c++",
|
||||
"cpp",
|
||||
"hpp",
|
||||
"h",
|
||||
"ipp",
|
||||
"tpp",
|
||||
"cxx",
|
||||
"hxx",
|
||||
"ixx",
|
||||
"txx",
|
||||
"ino",
|
||||
"C",
|
||||
"H",
|
||||
"cu",
|
||||
"cuh",
|
||||
"cppm",
|
||||
"h++",
|
||||
"ii",
|
||||
"inl",
|
||||
{ glob = ".hpp.in" },
|
||||
{ glob = ".h.in" },
|
||||
]
|
||||
file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H", "cu", "cuh", "cppm", "h++", "ii", "inl", { glob = ".hpp.in" }, { glob = ".h.in" }]
|
||||
comment-token = "//"
|
||||
block-comment-tokens = { start = "/*", end = "*/" }
|
||||
language-servers = [ "clangd" ]
|
||||
|
@ -702,17 +582,8 @@ args = { console = "internalConsole", pid = "{0}" }
|
|||
[[language.debugger.templates]]
|
||||
name = "gdbserver attach"
|
||||
request = "attach"
|
||||
completion = [
|
||||
{ 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}",
|
||||
] }
|
||||
completion = [ { 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]]
|
||||
name = "cpp"
|
||||
|
@ -833,10 +704,7 @@ args = { mode = "local", processId = "{0}" }
|
|||
[[language.debugger.templates]]
|
||||
name = "core"
|
||||
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}" }
|
||||
|
||||
[[grammar]]
|
||||
|
@ -890,16 +758,7 @@ 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" },
|
||||
]
|
||||
file-types = ["js", "mjs", "cjs", "rules", "es6", "pac", { glob = ".node_repl_history" }, { glob = "jakefile" }]
|
||||
shebangs = ["node"]
|
||||
roots = [ "package.json" ]
|
||||
comment-token = "//"
|
||||
|
@ -1018,20 +877,7 @@ 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", "cshtml"]
|
||||
block-comment-tokens = { start = "<!--", end = "-->" }
|
||||
language-servers = [ "vscode-html-language-server", "superhtml" ]
|
||||
auto-format = true
|
||||
|
@ -1045,22 +891,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-html", rev = "29f53
|
|||
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" },
|
||||
]
|
||||
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"]
|
||||
roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
|
||||
comment-token = "#"
|
||||
|
@ -1526,14 +1357,7 @@ 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" },
|
||||
]
|
||||
file-types = ["yml", "yaml", { glob = ".prettierrc" }, { glob = ".clangd" }, { glob = ".clang-format" }, { glob = ".clang-tidy" }]
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
language-servers = [ "yaml-language-server", "ansible-language-server" ]
|
||||
|
@ -1627,17 +1451,8 @@ args = { console = "internalConsole", pid = "{0}" }
|
|||
[[language.debugger.templates]]
|
||||
name = "gdbserver attach"
|
||||
request = "attach"
|
||||
completion = [
|
||||
{ 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}",
|
||||
] }
|
||||
completion = [ { 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]]
|
||||
name = "zig"
|
||||
|
@ -1655,15 +1470,7 @@ language-servers = ["swipl"]
|
|||
[[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 = [{ glob = "queries/*.scm" }, { glob = "injections.scm" }, { glob = "highlights.scm" }, { glob = "indents.scm" }, { glob = "textobjects.scm" }, { glob = "locals.scm" }, { glob = "tags.scm" }]
|
||||
comment-token = ";"
|
||||
injection-regex = "tsq"
|
||||
language-servers = ["ts_query_ls"]
|
||||
|
@ -1696,15 +1503,7 @@ source = { git = "https://github.com/uyha/tree-sitter-cmake", rev = "6e51463ef30
|
|||
[[language]]
|
||||
name = "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"]
|
||||
injection-regex = "(make|makefile|Makefile|mk)"
|
||||
comment-token = "#"
|
||||
|
@ -1731,20 +1530,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",
|
||||
]
|
||||
file-types = ["pl", "pm", "t", "psgi", "raku", "rakumod", "rakutest", "rakudoc", "nqp", "p6", "pl6", "pm6"]
|
||||
shebangs = ["perl"]
|
||||
comment-token = "#"
|
||||
language-servers = [ "perlnavigator" ]
|
||||
|
@ -1865,21 +1651,7 @@ source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "3e9c4
|
|||
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", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }]
|
||||
roots = [".marksman.toml"]
|
||||
language-servers = [ "marksman", "markdown-oxide" ]
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
@ -1918,14 +1690,7 @@ source = { git = "https://github.com/UserNobody14/tree-sitter-dart", rev = "e398
|
|||
[[language]]
|
||||
name = "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"]
|
||||
comment-token = "//"
|
||||
block-comment-tokens = { start = "/*", end = "*/" }
|
||||
|
@ -2023,12 +1788,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-regex", rev = "e1cf
|
|||
[[language]]
|
||||
name = "git-config"
|
||||
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"
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 4, unit = "\t" }
|
||||
|
@ -2052,15 +1812,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 = ".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"
|
||||
comment-token = "#"
|
||||
grammar = "gitignore"
|
||||
|
@ -2130,14 +1882,7 @@ source = { git = "https://github.com/rescript-lang/tree-sitter-rescript", rev =
|
|||
name = "erlang"
|
||||
scope = "source.erlang"
|
||||
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"]
|
||||
shebangs = ["escript"]
|
||||
comment-token = "%%"
|
||||
|
@ -2260,13 +2005,7 @@ source = { git = "https://github.com/Hubro/tree-sitter-robot", rev = "322e4cc657
|
|||
name = "r"
|
||||
scope = "source.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"]
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
@ -2507,17 +2246,8 @@ args = { console = "internalConsole", pid = "{0}" }
|
|||
[[language.debugger.templates]]
|
||||
name = "gdbserver attach"
|
||||
request = "attach"
|
||||
completion = [
|
||||
{ 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}",
|
||||
] }
|
||||
completion = [ { 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]]
|
||||
name = "odin"
|
||||
|
@ -2527,11 +2257,7 @@ source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-odin", rev
|
|||
name = "meson"
|
||||
scope = "source.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 = "#"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
language-servers = ["mesonlsp"]
|
||||
|
@ -2543,11 +2269,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" }, { glob = "ssh_config.d/*.conf" } ]
|
||||
comment-token = "#"
|
||||
|
||||
[[grammar]]
|
||||
|
@ -2671,16 +2393,7 @@ source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569
|
|||
name = "starlark"
|
||||
scope = "source.starlark"
|
||||
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 = "#"
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
grammar = "python"
|
||||
|
@ -3026,7 +2739,7 @@ file-types = [
|
|||
"xoml",
|
||||
"musicxml",
|
||||
"glif",
|
||||
"ui",
|
||||
"ui"
|
||||
]
|
||||
block-comment-tokens = { start = "<!--", end = "-->" }
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
@ -3086,12 +2799,7 @@ source = { git = "https://github.com/hh9527/tree-sitter-wit", rev = "c917790ab9a
|
|||
[[language]]
|
||||
name = "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"
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 4, unit = "\t" }
|
||||
|
@ -3127,7 +2835,7 @@ file-types = [
|
|||
{ glob = "rclone.conf" },
|
||||
"properties",
|
||||
"cfg",
|
||||
"directory",
|
||||
"directory"
|
||||
]
|
||||
injection-regex = "ini"
|
||||
comment-token = "#"
|
||||
|
@ -3494,13 +3202,7 @@ 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 = ["just", { glob = "justfile" }, { glob = "Justfile" }, { glob = ".justfile" }, { glob = ".Justfile" }]
|
||||
injection-regex = "just"
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
|
@ -3775,14 +3477,7 @@ source = { git = "https://github.com/dynamotn/tree-sitter-dbml", rev = "2e2fa564
|
|||
name = "bitbake"
|
||||
language-servers = [ "bitbake-language-server" ]
|
||||
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 = "#"
|
||||
|
||||
[[grammar]]
|
||||
|
@ -3873,13 +3568,7 @@ source = { git = "https://github.com/apple/tree-sitter-pkl", rev = "c03f04a313b7
|
|||
name = "groovy"
|
||||
language-id = "groovy"
|
||||
scope = "source.groovy"
|
||||
file-types = [
|
||||
"gradle",
|
||||
"groovy",
|
||||
"jenkinsfile",
|
||||
{ glob = "Jenkinsfile" },
|
||||
{ glob = "Jenkinsfile.*" },
|
||||
]
|
||||
file-types = ["gradle", "groovy", "jenkinsfile", { glob = "Jenkinsfile" }, { glob = "Jenkinsfile.*" }]
|
||||
shebangs = ["groovy"]
|
||||
comment-token = "//"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
@ -3989,12 +3678,7 @@ scope = "source.helm"
|
|||
roots = ["Chart.yaml"]
|
||||
comment-token = "#"
|
||||
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]]
|
||||
name = "glimmer"
|
||||
|
@ -4045,7 +3729,9 @@ name = "earthfile"
|
|||
scope = "source.earthfile"
|
||||
injection-regex = "earthfile"
|
||||
roots = ["Earthfile"]
|
||||
file-types = [{ glob = "Earthfile" }]
|
||||
file-types = [
|
||||
{ glob = "Earthfile" },
|
||||
]
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
language-servers = ["earthlyls"]
|
||||
|
@ -4151,8 +3837,7 @@ comment-token = "//"
|
|||
block-comment-tokens = { start = "/*", end = "*/" }
|
||||
language-servers = [
|
||||
{ except-features = [
|
||||
"format",
|
||||
"diagnostics",
|
||||
"format", "diagnostics",
|
||||
], name = "typescript-language-server" },
|
||||
"vscode-eslint-language-server",
|
||||
"ember-language-server",
|
||||
|
@ -4176,8 +3861,7 @@ comment-token = "//"
|
|||
block-comment-tokens = { start = "/*", end = "*/" }
|
||||
language-servers = [
|
||||
{ except-features = [
|
||||
"format",
|
||||
"diagnostics",
|
||||
"format", "diagnostics",
|
||||
], name = "typescript-language-server" },
|
||||
"vscode-eslint-language-server",
|
||||
"ember-language-server",
|
||||
|
@ -4355,7 +4039,7 @@ file-types = [
|
|||
{ glob = "sites-available/*.conf" },
|
||||
{ glob = "sites-enabled/*.conf" },
|
||||
{ glob = "nginx.conf" },
|
||||
{ glob = "conf.d/*.conf" },
|
||||
{ glob = "conf.d/*.conf" }
|
||||
]
|
||||
roots = ["nginx.conf"]
|
||||
comment-token = "#"
|
||||
|
|
Loading…
Reference in New Issue