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
Michael Davis bcf3808e97
Add tree-sitter-git-diff (#1373)
* add submodule on tree-sitter-git-diff

* add git-diff highlights

* inject git-diff into git-commit

* update tree-sitter-git-commit with fix for bad diff case

* add git-diff to language support docs

* include-children in diff injections

This ensures that children nodes of $.message are included in the
injection, such as $.user or issue/pr numbers. Without this change,
diffs containing '#' or '@' characters can trip up the injection and
be parsed separately.

See https://github.com/helix-editor/helix/pull/1373#issuecomment-1001215629

* set diff language's scope as source.diff
3 years ago
..
bash Updated tree-sitter query scopes (#896) 3 years ago
c Highlight comments in c, cpp, cmake and llvm (#1309) 3 years ago
c-sharp Updated tree-sitter query scopes (#896) 3 years ago
cmake Add textobjects and indents to cmake (#1307) 3 years ago
comment Add tree-sitter-comment (#1300) 3 years ago
cpp Highlight comments in c, cpp, cmake and llvm (#1309) 3 years ago
css Updated tree-sitter query scopes (#896) 3 years ago
dart Add dart lsp config and queries (#1250) 3 years ago
dockerfile Support dockerfiles (#1303) 3 years ago
elixir Add tree-sitter-comment (#1300) 3 years ago
fish Add fish highlighting (#1308) 3 years ago
git-commit Add tree-sitter-git-diff (#1373) 3 years ago
git-diff Add tree-sitter-git-diff (#1373) 3 years ago
glsl Highlight comments in c, cpp, cmake and llvm (#1309) 3 years ago
go Updated tree-sitter query scopes (#896) 3 years ago
haskell Fix more highlight scopes 3 years ago
html Add tree-sitter queries. 4 years ago
java Updated tree-sitter query scopes (#896) 3 years ago
javascript Updated tree-sitter query scopes (#896) 3 years ago
json Add json indents.toml file (#1055) 3 years ago
julia Add tree-sitter-comment (#1300) 3 years ago
latex Add link and quote queries for markdown 3 years ago
ledger Add tree-sitter-comment (#1300) 3 years ago
llvm Improve llvm highlighting and queries (#1388) 3 years ago
lua Updated tree-sitter query scopes (#896) 3 years ago
markdown Add link and quote queries for markdown 3 years ago
nix Updated tree-sitter query scopes (#896) 3 years ago
ocaml Typo fix in ocaml indents.toml (#1342) 3 years ago
ocaml-interface OCaml support (#666) 3 years ago
perl Add indents.toml to perl (#1280) 3 years ago
php Updated tree-sitter query scopes (#896) 3 years ago
protobuf Updated tree-sitter query scopes (#896) 3 years ago
python Add tree-sitter-comment (#1300) 3 years ago
ruby Add ruby indents (#1372) 3 years ago
rust Add precise rust queries for use, mod, as (#1339) 3 years ago
scala Add scala syntax highlights (#1278) 3 years ago
svelte Add tree-sitter-comment (#1300) 3 years ago
toml Updated tree-sitter query scopes (#896) 3 years ago
tsq Add tree-sitter-comment (#1300) 3 years ago
tsx At least partly highlight tsx 3 years ago
typescript Add typescript support & ts/js indentation queries 3 years ago
vue Add Vue tree sitter grammar (#787) 3 years ago
wgsl Add language support for WGSL (#1166) 3 years ago
yaml Improve yaml syntax highlighting highlighting (#1294) 3 years ago
zig Updated tree-sitter query scopes (#896) 3 years ago