Cameron
4ac38ee2d1
Update indents for Ruby
...
Add `rescue` and `ensure` as a @branch captures for ruby
2023-01-06 19:48:42 +01:00
Chinmay Dalal
68e8181dbc
folds(rust): add array_expression
2023-01-05 20:37:14 +01:00
Josef Litoš
46cace42fa
highlights(markdown_inline): added ')' to links
2023-01-04 12:17:33 +01:00
Pham Huy Hoang
2cd89b4bc3
fix(jsx): add missing indent end mark to elements
2023-01-04 12:14:03 +01:00
Pham Huy Hoang
8c71c6c5ed
fix(html): fix wrong indents for script/style tags
2023-01-03 17:50:44 +01:00
Lucario387
28baed7698
refactor(svelte): Remove duplicated queries
...
These injection queries are defined already in html_tags, remove them
Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-01-03 12:05:10 +01:00
Lucario387
6f4b9b190b
refactor(vue, html): Update injections
...
Update html_tags injections so that html/vue/svelte parsers can use
it without having a script/style tag being captured twice
Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-01-03 12:05:10 +01:00
Ananda Umamil
b67822bf58
highlights(elm): zero args constructor pattern matching
2023-01-01 20:01:49 +01:00
Manuel Barros
3a621b9a83
highlights(haskell): Fix partially applied infix functions
2023-01-01 18:23:57 +01:00
Stephan Seitz
6a31d9086e
highlights(rust): use @namespace for [(crate) (self) (super)]
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3992
2023-01-01 15:32:07 +01:00
Ananda Umamil
4f3aa2af44
highlights(elm): improve highlights
2023-01-01 15:30:10 +01:00
Stephan Seitz
b019eb3032
indents(c): treat "#ifndef", "#elif" like "#ifdef"
2022-12-31 16:27:05 +01:00
Stephan Seitz
5afa9e5040
highlights(wgsl): highlight "->" for return types as @punctuation.delimiter
2022-12-31 15:20:02 +01:00
Stephan Seitz
817531ce6f
parsers: add wgsl_bevy
...
This adds an extension of tree-sitter-wgsl that understands
[Bevy's](https://bevyengine.org/ ) preprocessor directives.
2022-12-31 15:19:48 +01:00
Stephan Seitz
c2301adfcb
highlights(cuda): add missing "__global__"
2022-12-31 13:58:33 +01:00
Pedro Castro
6d2b0bd381
move 'in' to repeat
2022-12-31 13:50:47 +01:00
Pedro Castro
ec3d4af104
fix test
2022-12-31 13:50:47 +01:00
Pedro Castro
966393dc38
r: move inf to constant.builtin
2022-12-31 13:50:47 +01:00
Pedro Castro
58c0d78de8
r: update highlights
2022-12-31 13:50:47 +01:00
Michael Hoffmann
ee3e9f4dc0
feat(hcl,terraform): split terraform from hcl, add specialized queries for tf
...
This enables us to have different queries for
terraform and general hcl. It solve the situation
where other dialects of hcl (nomad, packer, etc)
might use a terraform keyword and get highlighted
out of place.
2022-12-29 22:18:41 +01:00
Ananda Umamil
e5dd204291
highlights(haskell): lambda and function with type signature
2022-12-29 21:04:14 +01:00
Christian Clason
fa09c1f3ef
Update slint indent queries
2022-12-27 17:52:29 +01:00
Jared Moulton
55a9e3bbbc
Update slint highlight queries for rewrite
2022-12-27 17:52:29 +01:00
Sergio A. Vargas
0cb637ca9f
julia: update parser and highlights ( #4035 )
...
- Update patterns for type definitions:
The grammar was updated to parse `abstract type` and `primitive type`
as a single token.
- Update @symbol capture to highlight quoted operators as symbols.
- Add pattern to highlight adjoint operator.
- Update patterns and captures for:
- "keyword" operators (in, isa, where)
- type operators (<:, >:)
- Parametrized types.
2022-12-27 10:27:22 +01:00
Lucario387
f5d517f4a7
Fix(vue): Invalid match queries
2022-12-25 17:43:25 +01:00
Lucario387
8abb563ca9
Fix(vue): Invalid match queries
2022-12-25 17:43:25 +01:00
Lucario387
4547a3687c
injections(vue): Update injection queries
2022-12-25 14:58:33 +01:00
Stephan Seitz
48a3da7103
highlights(c_sharp): add ">>>" ">>>="
...
From upstream change https://github.com/tree-sitter/tree-sitter-c-sharp/pull/266/files
2022-12-24 12:22:23 +01:00
Rishi
381573a9d6
Inherit folds for SCSS from CSS
2022-12-23 22:31:52 +01:00
figsoda
06989a933e
injections(nix): combine injections to work better with interpolations
2022-12-23 13:08:05 +01:00
figsoda
668dec2903
highlights(nix): improve builtins and exceptions highlights
2022-12-23 13:08:05 +01:00
figsoda
90edaba46a
highlights(nix): add all builtins
2022-12-23 13:08:05 +01:00
figsoda
df67a47a7e
highlights(nix): improve highlights
2022-12-23 13:08:05 +01:00
figsoda
a851cef248
injections(nix): fix runCommand*
2022-12-23 13:08:05 +01:00
Sergio A. Vargas
82cff67988
julia: update parser and highlights ( #4016 )
...
- Replace `scoped_identifier` with `field_expression` in function names
- Replace true and false with `boolean_literal`
2022-12-23 10:34:24 +01:00
Lucario387
eaeedfb804
Fix vue injection queries
2022-12-22 17:43:44 +01:00
Emmanuel Briot
23906e8838
feat: add Ada
2022-12-22 14:46:53 +01:00
Stephan Seitz
779b4222a3
injections(go): inject regex into some regexp functions
2022-12-22 10:12:14 +01:00
xasc
2d48cbc831
feat(t32): initial support
2022-12-21 23:57:06 +01:00
figsoda
d2d8980c5c
injections(yaml): fix injections
2022-12-21 23:38:07 +01:00
Christian Clason
eedb7b9c69
csharp: update query to parser change
2022-12-20 08:35:20 +01:00
Josef Litoš
a75aded7ae
highlights(java): fix '!',param,global group
2022-12-19 00:03:18 +02:00
Jaehwang Jung
a0dc6c8635
highlights(lua): use @method.call
2022-12-15 12:42:51 +01:00
Sergio A. Vargas
d31c71c959
julia: update queries to parser change ( #3956 )
2022-12-14 09:06:08 +01:00
Uy Ha
69388e84c3
add queries project and cmake_minimum_required
2022-12-13 21:17:48 +01:00
Uy Ha
3ac093e702
remove redundant parentheses
2022-12-13 21:17:48 +01:00
Uy Ha
320804c4f1
bind ENV and CACHE as @storageclass
2022-12-13 21:17:48 +01:00
Uy Ha
9508e2188f
add OUTPUT_VARIABLE query for list TRANSFORM
2022-12-13 21:17:48 +01:00
Uy Ha
322d723c89
rearrange queries, include all builtin commands in one query
2022-12-13 21:17:48 +01:00
Uy Ha
380287745e
add highlight for list command
2022-12-13 21:17:48 +01:00