helix-mirror/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
2021-12-30 00:31:23 +09:00
..
bash Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
c Highlight comments in c, cpp, cmake and llvm (#1309) 2021-12-20 11:42:23 +09:00
c-sharp Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
cmake Add textobjects and indents to cmake (#1307) 2021-12-26 00:10:19 +09:00
comment Add tree-sitter-comment (#1300) 2021-12-19 23:56:56 +09:00
cpp Highlight comments in c, cpp, cmake and llvm (#1309) 2021-12-20 11:42:23 +09:00
css Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
dart Add dart lsp config and queries (#1250) 2021-12-18 13:41:32 +09:00
dockerfile Support dockerfiles (#1303) 2021-12-21 18:22:15 +09:00
elixir Add tree-sitter-comment (#1300) 2021-12-19 23:56:56 +09:00
fish Add fish highlighting (#1308) 2021-12-21 11:02:53 +09:00
git-commit Add tree-sitter-git-diff (#1373) 2021-12-30 00:31:23 +09:00
git-diff Add tree-sitter-git-diff (#1373) 2021-12-30 00:31:23 +09:00
glsl Highlight comments in c, cpp, cmake and llvm (#1309) 2021-12-20 11:42:23 +09:00
go Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
haskell Fix more highlight scopes 2021-12-17 17:04:59 +09:00
html Add tree-sitter queries. 2021-04-09 18:57:46 +09:00
java Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
javascript Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
json Add json indents.toml file (#1055) 2021-11-11 01:01:19 +09:00
julia Add tree-sitter-comment (#1300) 2021-12-19 23:56:56 +09:00
latex Add link and quote queries for markdown 2021-12-19 15:23:39 +09:00
ledger Add tree-sitter-comment (#1300) 2021-12-19 23:56:56 +09:00
llvm Improve llvm highlighting and queries (#1388) 2021-12-29 18:30:44 +09:00
lua Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
markdown Add link and quote queries for markdown 2021-12-19 15:23:39 +09:00
nix Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
ocaml Typo fix in ocaml indents.toml (#1342) 2021-12-24 10:05:29 +09:00
ocaml-interface OCaml support (#666) 2021-09-02 01:08:08 +09:00
perl Add indents.toml to perl (#1280) 2021-12-17 09:56:07 +09:00
php Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
protobuf Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
python Add tree-sitter-comment (#1300) 2021-12-19 23:56:56 +09:00
ruby Add ruby indents (#1372) 2021-12-27 13:07:09 +09:00
rust Add precise rust queries for use, mod, as (#1339) 2021-12-23 12:10:24 +09:00
scala Add scala syntax highlights (#1278) 2021-12-18 13:40:34 +09:00
svelte Add tree-sitter-comment (#1300) 2021-12-19 23:56:56 +09:00
toml Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
tsq Add tree-sitter-comment (#1300) 2021-12-19 23:56:56 +09:00
tsx At least partly highlight tsx 2021-09-06 15:25:46 +09:00
typescript Add typescript support & ts/js indentation queries 2021-06-01 17:55:11 +09:00
vue Add Vue tree sitter grammar (#787) 2021-10-10 22:09:17 +09:00
wgsl Add language support for WGSL (#1166) 2021-11-27 07:49:40 +05:30
yaml Improve yaml syntax highlighting highlighting (#1294) 2021-12-19 10:20:52 +09:00
zig Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00