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