Commit graph

1461 commits

Author SHA1 Message Date
ObserverOfTime
6aa4e8e75b highlights(glsl): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
b9729e42c0 highlights(cuda): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
79705a1f80 highlights(cpp): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
7ce62670b2 highlights(c): use more specific groups
Co-Authored-By: Stephan Seitz <stephan.seitz@fau.de>
2022-11-26 13:17:51 +02:00
ObserverOfTime
53c26dd4af highlights(comment): improve note tags 2022-11-26 13:17:51 +02:00
ObserverOfTime
54ca5ae2f0 highlights(gitattributes): fix captures 2022-11-26 13:17:51 +02:00
ObserverOfTime
be2b89edc8 highlights(ruby): fix captures 2022-11-26 13:17:51 +02:00
William Mathewson
e7808349a5 Expand locals to include properties and methods
The previous locals were lacking a few locals related to JS classes.
This expands the locals to include properties defined on classes (e.g.
`this.foo = "bar"` or `static #targets`) as both vars & references, as
well as private methods on classes (e.g. `#bar(x) { x }` and `#bar(y)`).
2022-11-25 18:24:11 +01:00
Nikita Sklyarov
795508b773 improve php variables and $this highlights 2022-11-25 18:22:25 +01:00
RubixDev
41a59591a5 Add ebnf parser 2022-11-25 13:25:45 +01:00
gbprod
5c86b95f8d feat(gitcommit): improve diff injection since last parser update 2022-11-25 10:58:11 +01:00
ObserverOfTime
5e055d81e0 feat(gitcommit): add spell checking 2022-11-25 09:00:42 +01:00
Raymond Ha
faf78ce12a Narrow as @include query 2022-11-25 00:34:25 +01:00
Raymond Ha
ef24c633f6 highlights(typescript): Fix as highlight 2022-11-25 00:34:25 +01:00
Trard
cc2268e1c7 highlights(ecma): distinguish between "default" in export and switch statements 2022-11-24 21:55:50 +01:00
Raymond Ha
1b3f93dcb9
highlights(typescript): add satisfies keyword (#3852) 2022-11-24 16:27:42 +00:00
gbprod
118a87f7e7 feat: add gitcommit parser 2022-11-24 12:26:02 +01:00
taekwombo
fb4058448a fix(fish): "test" command capture name 2022-11-24 09:37:39 +01:00
Vir Chaudhury
58db1d6340 fix(astro): make the script element use typescript instead of javascript 2022-11-24 09:28:10 +01:00
Stephan Seitz
b79c763c03 fix(fish): update for upstream changes
https://github.com/ram02z/tree-sitter-fish/pull/16

Co-authored-by: taekwombo <taekwombo@users.noreply.github.com>
2022-11-24 01:36:18 +01:00
figsoda
ace038e1e7 injections(nix): add injections for builtins.match 2022-11-24 00:13:12 +01:00
figsoda
07674600c9 injections(nix): add injections for code blocks
based on https://github.com/cstrahan/tree-sitter-nix/pull/31
2022-11-24 00:13:12 +01:00
figsoda
770066ba01 highlights(nix): highlight parameters 2022-11-24 00:13:12 +01:00
Christian Clason
b86d6f865e fixup! help: update queries 2022-11-22 15:28:30 +01:00
Christian Clason
bf5ea2ea99 help: update queries
supports injections for codeblocks starting with, e.g., `>lua`
2022-11-22 15:28:30 +01:00
Viorel Craescu
be5ed65f7f add golang type definition highlight 2022-11-21 14:00:36 +01:00
GitHub
4f885f2d07 Update lockfile.json 2022-11-21 12:09:24 +01:00
Trard
bbe90e9318 removed switch from keywords 2022-11-21 10:23:28 +01:00
ObserverOfTime
126a271363 feat: add mermaid 2022-11-20 12:24:55 +01:00
Luke Swithenbank
596fd673f5 Add Spelling to hcl comments 2022-11-20 11:14:12 +01:00
ObserverOfTime
8a261e32ec feat: add jq 2022-11-18 18:17:52 +01:00
ObserverOfTime
63b6f1f984 feat(arduino): separate from cpp 2022-11-18 16:51:08 +01:00
Derek Stride
9705316fff
sql: update parser and query (#3820)
Add better `term` nodes in the select expression
2022-11-18 14:20:39 +00:00
ObserverOfTime
a715e93312 feat: add awk 2022-11-16 10:45:19 +01:00
FallenAngel97
34807c605a
rego: update parser and queries (#3805)
Co-authored-by: Oleksii Demennikov <odemennikov@lohika.com>
2022-11-16 09:35:41 +01:00
Carlos Alexandro Becker
eff0d43b49
feat: vhs (.tape) support (#3726) 2022-11-13 12:33:54 +01:00
Christian Clason
692432df29 julia: update queries to parser change 2022-11-12 11:06:59 +01:00
Trard
00b42ac6d4 rust: use @type.qualifier and @storageclass 2022-11-06 18:10:42 +01:00
Cormac Relf
00add7e4b4 highlights(rust): pub(self/super/crate), use super::thing, etc 2022-11-06 14:32:47 +01:00
Cormac Relf
68c3533852 highlights(rust): ["<" ">"] @punctuation.bracket in bracketed_type, for_lifetimes 2022-11-06 14:32:47 +01:00
Cormac Relf
1379119c31 highlights(rust): "for" @keyword everywhere else (for<'a>, HRTBs) 2022-11-06 14:32:47 +01:00
Cormac Relf
15d3849dcf highlights(rust): highlight Type in Type::Associated as @type instead of @namespace 2022-11-06 14:32:47 +01:00
Cormac Relf
8c7ffaf66b highlights(rust): panic!() and assert!() as @exception 2022-11-06 11:34:13 +01:00
Christian Clason
ae104a057f fix: update scheme queries to parser change 2022-11-06 11:32:36 +01:00
Christian Clason
f6bc84dabd fix: update julia queries to parser change 2022-11-06 11:12:20 +01:00
Alvaro Muñoz
57638f8249 feat(ql): add folding queries 2022-11-05 11:18:52 +01:00
Christian Clason
dd89cafd2b fix(rust): update queries to breaking changes
* `if_let_expression` was removed in https://github.com/tree-sitter/tree-sitter-rust/pull/152
* `attributes` were reworked in
  https://github.com/tree-sitter/tree-sitter-rust/pull/163 (no more
  `meta-item`)
2022-11-05 11:09:54 +01:00
Sergio Alejandro Vargas
a4b10b60c1 refactor julia locals 2022-11-02 23:08:11 +01:00
Sergio Alejandro Vargas
27bbb64f87 refactor(highlights/julia): Update definitions
See https://github.com/tree-sitter/tree-sitter-julia/pull/54

Remove a bunch of patterns with `argument_list`. No longer necessary
with `short_function_definition`.

Other minor changes including:

- Add boolean literals See
  https://github.com/tree-sitter/tree-sitter-julia/pull/44
- Update highlights for operators (for bindings, type operators, etc)

- Update lockfile
2022-11-02 23:08:11 +01:00
Christian Clason
e7bdcee167 lua: update queries 2022-11-01 13:41:33 +01:00