helix-mods/runtime/queries
Sampo Siltanen 2e90868a37
Update fsharp tree sitter repo reference (#11061)
The repository reference used here was a fork from the actual
repository, which has now been moved under ionide organization, where it is
in active maintenance and development.

The commit SHA is the currently latest commit from main branch.

The injections.scm is copied as is from the fsharp treesitter repo
[queries](https://github.com/ionide/tree-sitter-fsharp/blame/main/queries).

The locals.scm is copied from the repo and the capture names are to follow
the standard names:
- Replace @local.definition.var @local.definition.function, and @local.definition.parameter with @local.definition
- Remove (#set! "definition.function.scope" "parent")

The highlights.scm is copied as well from the fsharp
treesitter repo, but modified here to match helix highlight scopes based
on my best guesstimates. The changes made:

- Remove @spell scopes
- Split @comment into @comment.line and @comment.block
- Replace @comment.documentation with @comment.block.documentation
- Replace @character.special with @special
- Replace @variable.member with @variable.other.member
- Replace @type.definition with @type
- Replace @function.member with @function.method
- Replace @module with @namespace
- Replace @constant.macro with @function.macro
- Replace @property with @variable.other.member
- Replace @variable.member with @variable.other.member
- Replace @variable.parameter.builtin with @variable.builtin
- Replace @function.call with @function
- Replace @number with @constant.numeric.integer and @constant.numeric.float
- Replace @boolean with @constant.builtin.boolean
- Replace @keyword.conditional with @keyword.control.conditional
- Replace @keyword.return with @keyword.control.return
- Replace @keyword.repeate with @keyword.control.repeat
- Replace @keyword.import with @keyword.control.import
- Replace @keyword.modifier with @keyword.storage.modifier
- Replace @keyword.type with @keyword.storage.type
- Replace @keyword.exception with @keyword.control.exception
- Replace @module.builtin with @namespace
2024-08-10 00:34:08 +09:00
..
_gjs feat: add support for gjs and gts (#9940) 2024-05-06 18:04:08 +02:00
_javascript Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
_jsx fix typo "braket" in jsx highlights (#9910) 2024-03-17 17:36:54 -05:00
_typescript Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
ada Initial Ada language support (after stale) (#9908) 2024-03-19 13:28:15 +01:00
adl feat: Add ADL language support (#10029) 2024-04-08 04:45:20 +02:00
agda Add support for Agda (#8285) 2023-12-16 05:29:26 +01:00
astro feat: Syntax highlighting for Astro files (#3829) 2022-09-13 01:53:55 -05:00
awk AWK Regex injection (#3535) 2022-08-24 16:14:56 -05:00
bash Add regex injections into bash (#11112) 2024-07-14 02:59:07 +09:00
bass add bass language + highlighting (#3771) 2022-09-18 12:06:51 -05:00
beancount Add language: beancount (#3297) 2022-08-08 17:59:55 -05:00
bibtex Add support for the BibTeX file format (#5064) 2022-12-08 22:33:08 -06:00
bicep Add support for Bicep files (#4403) 2022-11-14 19:43:22 -06:00
bitbake add initial support for bitbake language (#10010) 2024-03-31 14:16:19 +02:00
blade Update highlights.scm and injections.scm for blade.php files (#11138) 2024-07-15 22:29:14 +09:00
blueprint Update tree-sitter-blueprint (#8161) 2023-09-04 18:50:42 +02:00
c Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
c-sharp C# syntax highlight tweaks (#4285) 2022-10-15 11:29:50 -05:00
cairo chore: update cairo tree sitter + queries (#11067) 2024-07-02 09:37:49 +09:00
capnp Add language support for Cap’n Proto format (#6325) 2023-03-18 09:17:02 -05:00
cel languages: add CEL, SpiceDB schema language (#9296) 2024-02-12 02:28:52 +01:00
clojure Add clojure language support (#2780) 2022-06-16 11:47:52 -05:00
cmake Update tree-sitter-cmake (#4809) 2022-11-18 14:13:13 -06:00
comment fix: don't highlight colons (:) in comments (#10014) 2024-03-27 14:31:35 +01:00
common-lisp Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720) 2023-11-08 20:53:07 +01:00
cpon feat(lang): Cpon lang support (#2355) 2022-05-01 09:34:46 -05:00
cpp C++: Improve parameter highlighting 2024-03-22 00:20:29 +09:00
crystal Use tree-sitter-ruby for crystal (#5205) 2023-01-09 02:12:04 +09:00
css bash, make, css: highlight and indent queries improvement (#9393) 2024-01-22 19:51:12 +01:00
cue feat: add cue support (#3262) 2022-07-31 07:04:57 -05:00
d Fix D unittest injection query. (#4562) 2022-11-01 19:44:56 -05:00
dart Improve textobjects for parameter/argument for Dart (#9644) 2024-02-17 17:09:21 +01:00
dbml DBML Language support (#8860) 2023-11-22 18:27:25 +01:00
devicetree Delete invalid indents.scm queries 2022-08-31 17:45:23 +09:00
dhall dhall: additional highlight queries (#5959) 2023-02-13 11:04:31 +09:00
diff Update tree-sitter-diff (#3708) 2022-09-06 12:02:37 +09:00
docker-compose Add docker-compose language (#9661) 2024-02-19 00:19:44 +01:00
dockerfile fix: update upstream tree-sitter-dockerfile (#6895) 2023-05-12 03:29:06 +02:00
dot Add Graphviz Dot lang support (#3241) 2022-07-30 12:34:00 -05:00
dtd Add DTD language support (#6644) 2023-04-12 15:28:51 -05:00
earthfile update earthfile grammar and highlight queries (#10489) 2024-04-17 20:15:16 +09:00
ecma Fixed ECMAScript private member highlighting (#10554) 2024-04-27 21:55:12 +02:00
edoc Improve Edoc highlighting within Erlang 2022-11-24 11:07:05 +09:00
eex add tree-sitter-eex 2022-04-13 14:28:51 +09:00
ejs add tree-sitter-embedded-template (erb & ejs) (#2055) 2022-04-10 08:23:06 +09:00
elisp add elisp support (#10644) 2024-06-07 13:02:27 +09:00
elixir Implement simple indents.scm for Elixir (#4821) 2022-11-20 18:36:19 -06:00
elm Add elm treesitter textobjects (#6084) 2023-02-25 12:55:44 -06:00
elvish languages: added elvish (#2948) 2022-07-03 16:19:12 -05:00
env Modify env language to extend bash (#5720) 2023-01-30 08:56:42 -06:00
erb add tree-sitter-embedded-template (erb & ejs) (#2055) 2022-04-10 08:23:06 +09:00
erlang Update tree-sitter-erlang and highlights 2024-03-22 00:20:29 +09:00
esdl feat(lang): Add esdl grammar (#3526) 2022-08-24 09:51:10 -05:00
fidl add fidl support (#9713) 2024-02-27 01:41:50 +01:00
fish Fixing (in two ways) a small typo (#2156) 2022-04-18 13:12:47 +09:00
forth Add forth-lsp and update tree-sitter-forth (#7334) 2023-06-16 23:12:29 +02:00
fortran Add Fortran comment injections (#7305) 2023-06-11 00:27:46 +09:00
fsharp Update fsharp tree sitter repo reference (#11061) 2024-08-10 00:34:08 +09:00
gas add GNU assembler (gas) support #8291) 2023-09-16 02:04:44 +02:00
gdscript Updated Godot support (#11235) 2024-07-31 05:52:47 +09:00
gemini add gemini language support (#8070) 2023-08-27 00:43:18 +02:00
git-attributes feat(languages): git-ignore and git-attributes (#2397) 2022-05-05 08:47:28 -05:00
git-commit Update tree-sitter-git-commit (#6692) 2023-04-11 00:52:03 +09:00
git-config Update tree-sitter-git-commit 2024-03-22 00:20:29 +09:00
git-ignore feat(languages): git-ignore and git-attributes (#2397) 2022-05-05 08:47:28 -05:00
git-rebase Update tree-sitter-git-rebase (#6030) 2023-02-19 11:34:47 -06:00
gjs feat: add support for gjs and gts (#9940) 2024-05-06 18:04:08 +02:00
gleam added ../gleam/injections.scm (#10062) 2024-03-31 14:48:29 +02:00
glimmer Add support for ember.js templates (#9902) 2024-03-19 17:26:50 +01:00
glsl Add textobjects.scm to GLSL (#3051) 2022-07-12 10:13:57 -05:00
gn GN language support (#6969) 2023-11-18 17:11:18 +09:00
go Fix malformed predicates in highlighting queries 2024-03-18 10:34:53 +09:00
godot-resource Updated Godot support (#11235) 2024-07-31 05:52:47 +09:00
gomod feat(lang): add go.mod and go.work support (#2197) 2022-04-20 11:16:02 -05:00
gotmpl feat(tree-sitter): add go template support (#3091) 2022-07-26 10:17:28 +09:00
gowork feat(lang): add go.mod and go.work support (#2197) 2022-04-20 11:16:02 -05:00
graphql Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
groovy Extend groovy support (#9677) 2024-03-18 00:01:11 +01:00
gts feat: add support for gjs and gts (#9940) 2024-05-06 18:04:08 +02:00
hare Inject the comment grammar into Hare (#11173) 2024-07-15 22:28:23 +09:00
haskell highlights: add type.parameter scope to several more languages (#8718) 2023-11-06 02:54:25 +01:00
haskell-persistent Add language support for persistent library syntax (#7261) 2023-07-09 19:17:01 +02:00
hcl Add textobject queries for HCL (#9658) 2024-02-19 00:46:32 +01:00
heex Update tree-sitter-heex 2022-11-24 11:07:05 +09:00
helm feat: add suport for helm charts (#9900) 2024-03-19 15:07:44 +01:00
hocon Add HOCON language support (#9203) 2024-01-08 03:04:43 +01:00
hoon Add Hoon (#9190) 2024-02-12 16:36:14 +01:00
hosts Added tree-sitter-hosts (#4950) 2023-02-10 11:32:04 -06:00
html Update HTML highlights (#11400) 2024-08-10 00:26:19 +09:00
hurl add textobjects queries for hurl (#10594) 2024-04-29 18:17:46 +02:00
hyprlang Add support for hyprland config (#9899) 2024-03-17 23:53:30 +01:00
iex add tree-sitter-iex (#1576) 2022-01-25 15:50:34 +09:00
ini add highlights for env and ini file formats (#4536) 2022-10-31 19:23:09 -05:00
inko Add support for Inko (#10656) 2024-05-06 18:04:32 +02:00
janet Use janet-simple grammar for Janet (#9247) 2024-01-28 19:17:46 +09:00
java Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
javascript Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
jinja Jinja language family syntax support (#7233) 2023-08-09 16:26:58 +02:00
jjdescription Add support for jjdescription files (#11271) 2024-07-25 23:12:55 +09:00
jq Add jq language support (#11393) 2024-08-10 00:26:28 +09:00
jsdoc adds missing tree-sitter-comment injection for js/ts (#2763) 2022-06-20 10:55:51 -05:00
json lang(json): make field key highlighting consistent with toml and yaml (#10676) 2024-05-06 17:11:09 +02:00
json5 lang(json): make field key highlighting consistent with toml and yaml (#10676) 2024-05-06 17:11:09 +02:00
jsonc Add Support for JSONC (#9906) 2024-03-17 23:54:05 +01:00
jsonnet feat(languages): jsonnet (#3714) 2022-09-08 09:04:18 -05:00
jsx Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
julia Fix malformed predicates in highlighting queries 2024-03-18 10:34:53 +09:00
just just: Use updated grammar with recent language changes and correct highlighting (#11380) 2024-08-10 00:26:48 +09:00
kdl replace kdl tree-sitter to fix highlighting (#8652) 2023-11-03 22:21:54 +01:00
koka Add koka language server and update grammar (#10119) 2024-04-05 18:53:07 +09:00
kotlin highlights: add type.parameter scope to several more languages (#8718) 2023-11-06 02:54:25 +01:00
latex fix(grammar): Add block_comment and comment_environment injection for latex comments (#4922) 2022-11-28 09:19:16 -06:00
ld Update tree-sitter-ld and highlights (#10379) 2024-04-13 02:32:24 +02:00
ldif add LDIF support (#10330) 2024-04-11 17:17:44 +02:00
lean Fix some typos (#2978) 2022-07-05 21:49:54 -05:00
ledger Remove broken ledger tag highlight (#2988) 2022-07-06 07:35:36 -05:00
llvm Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
llvm-mir Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
llvm-mir-yaml Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
log add log tree-sitter (#8916) 2023-11-29 02:42:59 +01:00
lpf Add LPF tree sitter (#8536) 2023-10-27 01:32:49 +02:00
lua Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
make bash, make, css: highlight and indent queries improvement (#9393) 2024-01-22 19:51:12 +01:00
markdoc feat(languages): Support markdoc (#6432) 2023-04-12 10:28:03 -05:00
markdown inject language based on file extension & shebang (#3970) 2023-04-28 18:21:34 +09:00
markdown.inline markdown.inline: Add injection.combined to html tag (#7960) 2023-08-16 11:28:07 -05:00
matlab highlight(matlab): Fix string's single-quote's color (#7493) 2023-06-30 17:39:17 -05:00
mermaid Add Mermaid.js for markdown support (#5147) 2022-12-14 07:51:00 -06:00
meson Improvements to Meson syntax. (#4572) 2022-11-15 20:17:03 -06:00
mojo Add support for Mojo (#10743) 2024-05-15 16:24:57 +02:00
move Add Move language support 2024-04-18 14:57:23 +09:00
msbuild Add MSBuild language based on XML grammar (#5793) 2023-02-03 08:24:22 -06:00
nasm feat: add nasm language (#6068) 2023-02-25 12:53:37 -06:00
nickel Update languages.toml for Nickel (#7059) 2023-05-26 02:23:15 -05:00
nim Switch Nim tree-sitter queries to alaviss/tree-sitter-nim (#9722) 2024-02-29 10:49:10 +09:00
nix Add textobject queries for Nix (#9659) 2024-02-19 00:46:13 +01:00
nu Update grammars for Nushell to rev 358c4f50 (#9502) 2024-02-04 02:04:51 +01:00
nunjucks Jinja language family syntax support (#7233) 2023-08-09 16:26:58 +02:00
ocaml fix: close #9771 fix comments with ( and ) (#9800) 2024-03-08 10:54:17 +09:00
ocaml-interface tree sitter comments injections (#1527) 2022-01-21 00:50:06 +09:00
odin Update Odin tree sitter grammar (#10698) 2024-05-07 18:14:55 +02:00
ohm feat: Add Ohm language support (#9991) 2024-03-24 23:30:59 +01:00
opencl Add OpenCL tree-sitter and LSP config (#6473) 2023-04-12 14:42:41 -05:00
openscad support for openscad (#2680) 2022-06-06 12:26:56 -05:00
org Initial basic Org markup support thanks to tree-sitter-org (#1845) 2022-03-20 17:14:30 -05:00
pascal Pascal support (#3542) 2022-08-25 17:59:02 -05:00
passwd Add tree-sitter-passwd (#4959) 2023-02-10 11:12:46 -06:00
pem feat: add pem language (#5797) 2023-02-07 17:24:26 -06:00
perl re-add indent and textobject queries for perl (#7947) 2023-09-10 21:27:04 +02:00
pest Add pest support (#10616) 2024-04-29 17:44:03 +02:00
php Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
php-only Add blade support (#9513) 2024-03-18 00:07:09 +01:00
pkgbuild Enhance support for PKGBUILDS (#9909) 2024-03-19 13:27:46 +01:00
pkl Fix malformed predicates in highlighting queries 2024-03-18 10:34:53 +09:00
po Add GNU gettext PO grammar (#5996) 2023-02-20 17:04:17 -06:00
pod Update some grammars to a commit where the license file is included (#9279) 2024-01-25 14:12:17 +09:00
ponylang Add language support for ponylang (#5416) 2023-01-10 19:54:19 -06:00
powershell Add PowerShell highlighting (#9827) 2024-03-07 23:39:00 +01:00
prisma Update Prisma tree-sitter for view support (#5417) 2023-01-06 06:12:51 -06:00
protobuf Add textobject queries for protobuf grammar. (#9184) 2024-01-08 03:08:41 +01:00
prql feat: update prql parser (#7771) 2023-07-28 23:01:06 +02:00
purescript Update some grammars to a commit where the license file is included (#8691) 2023-11-18 10:24:59 +09:00
python Add is not and not in to python syntax (#10647) 2024-05-03 12:39:02 +02:00
qml Add QML language support (#4842) 2022-11-22 21:49:02 -06:00
r Add comment injection for R (#4031) 2022-09-29 13:11:45 -05:00
racket Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720) 2023-11-08 20:53:07 +01:00
regex Tune regex highlights for usage in prompts 2023-07-27 11:50:19 +09:00
rego Add language support for rego (OpenPolicyAgent) (#6415) 2023-03-26 16:49:37 -05:00
rescript Upgrade rescript tree sitter & highlights (#4356) 2022-10-20 16:30:16 -05:00
rmarkdown add languages r and rmarkdown (#1998) 2022-04-08 09:30:44 +09:00
robot Update tree-sitter-robot (#7970) 2023-08-18 22:48:47 +02:00
ron switch to tree-sitter-ron (#8624) 2023-10-27 01:40:16 +02:00
rst Add support for reStructuredText (#6180) 2023-03-04 20:36:01 -06:00
ruby Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
rust add try keyword to rust highlights (#10641) 2024-04-30 13:13:27 +09:00
sage Support sagemath language (#5649) 2023-01-23 12:10:27 -06:00
scala Improve tree-sitter queries for Scala (#9475) 2024-02-04 02:09:42 +01:00
scheme Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720) 2023-11-08 20:53:07 +01:00
scss Fix malformed predicates in highlighting queries 2024-03-18 10:34:53 +09:00
slint slint: Update treesitter parser and queries (#9551) 2024-02-07 19:36:29 +01:00
smali add smali language support (#9089) 2023-12-20 00:31:27 +01:00
smithy Add initial Smithy support (#6370) 2023-03-21 17:12:24 -05:00
sml Add syntax highlighting for SML (#3692) 2022-09-07 13:13:06 -05:00
solidity feat(solidity): add missing operators for highlights (#10757) 2024-05-14 17:53:59 +09:00
spicedb languages: add CEL, SpiceDB schema language (#9296) 2024-02-12 02:28:52 +01:00
sql Bump tree-sitter-sql (#9634) 2024-02-24 12:28:25 +09:00
sshclientconfig Update SSH client config grammar & highlight queries (#4538) 2022-10-31 19:27:53 -05:00
starlark support Bazel languages (#2903) 2022-06-28 08:48:38 +05:30
strace add strace highlighting (#7928) 2023-08-15 09:38:57 +02:00
supercollider Add initial support for SuperCollider (#9329) 2024-03-18 13:13:23 +01:00
svelte Fix: Svelte queries (#10487) 2024-04-16 23:56:43 +02:00
sway Add language support for sway (#6023) 2023-02-25 12:47:54 -06:00
swift Update Swift Grammar and Queries (#10802) 2024-06-07 12:29:42 -05:00
t32 Update t32 language queries to version 2.2.1 (#7811) 2023-08-04 16:20:12 +02:00
tablegen Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
tact feat: Add Tact language support (#9512) 2024-02-04 02:09:11 +01:00
task feat: add taskwarrior to languages so task N edit is nice (#3468) 2022-08-19 19:16:54 -05:00
tcl Add tcl highlighting (#9837) 2024-04-04 03:31:00 +02:00
templ languages: update templ (#10114) 2024-04-03 10:31:44 +09:00
tfvars Add runtime queries for tfvars (based on hcl) (#5396) 2023-01-06 06:59:13 -06:00
thrift feat: add thrift hightlight (#11367) 2024-08-10 00:26:58 +09:00
todotxt feat: add todo.txt tree-sitter (#7835) 2023-08-09 15:35:29 +02:00
toml Add textobject for entries/elements of list-like things (#8150) 2024-03-31 11:53:15 -05:00
tsq Bump tree-sitter to latest master (#9317) 2024-01-15 15:33:26 +09:00
tsx Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
twig Change twig tree-sitter grammar (#4176) 2022-10-10 16:27:14 -05:00
typescript Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
typespec Add TypeSpec support (#11412) 2024-08-10 00:25:06 +09:00
typst Add comment injection to typst queries (#10628) 2024-04-29 17:44:20 +02:00
ungrammar Added ungrammar language support (#3048) 2022-07-12 10:06:53 -05:00
unison Update Unison tree-sitter grammar for type changes and add indent queries (#9505) 2024-02-04 02:10:20 +01:00
uxntal Add support for the uxntal language (#6047) 2023-02-19 12:32:42 -06:00
v replace new lsp for vlang (#7760) 2023-07-31 01:04:55 +02:00
vala Add textobject queries for vala (#8541) 2024-03-18 00:11:28 +01:00
verilog add verilog comment textobjects (#11388) 2024-08-10 00:26:34 +09:00
vhdl VHDL highlights.scm improvement (#10845) 2024-06-29 15:30:38 +09:00
vhs Update some grammars to a commit where the license file is included (#9279) 2024-01-25 14:12:17 +09:00
vue Allow custom preprocessors for 'vue' injections (#5268) 2022-12-27 08:57:09 -06:00
wast Add support for webassembly text format (#4040) 2022-10-01 09:13:52 -05:00
wat Added missing keywords to wat (wasm) hightlights (#4542) 2022-10-31 19:30:08 -05:00
webc Webc language support (#7290) 2023-06-13 17:41:30 +02:00
wgsl Fix C++ syntax highlighting, and improve C & WGSL highlighting (#4079) 2022-10-13 20:31:32 -05:00
wit Support WIT grammar (#4525) 2022-10-31 18:48:01 -05:00
wren Improve wren support (#7819) 2023-08-04 16:25:36 +02:00
xit add syntax highlights for xit (#3521) 2022-08-23 20:52:01 -05:00
xml feat(lang): add xml (#4518) 2022-10-29 15:41:28 -05:00
xtc Add support for Xena OpenAutomation files (#10448) 2024-04-16 15:33:50 +02:00
yaml Add Buildkite command/commands support to yaml injections (#10090) 2024-04-02 02:48:08 +02:00
yuck fix: typo in scm files inside runtime/queries/ (#8630) 2023-12-15 15:58:27 +09:00
zig Update tree-sitter-zig (#7803) 2023-08-02 21:22:28 +02:00