aboutsummaryrefslogtreecommitdiffstats
path: root/queries
Commit message (Collapse)AuthorAgeFilesLines
* fix(svelte): `else if` highlight (#7797)Maksim Terpilovskii2025-04-041-0/+1
|
* fix(python): highlight all types of docstrings (#7788)Jakob Zahn2025-04-031-21/+3
|
* dhall: recognize several missing builtinssavanto2025-03-301-2/+9
| | | | | | | - recognize builtin type `Bool` - recognize import `... as Bytes` - recognize builtin functions `Date/show`, `Time/show`, `TimeZone/show` - recognize a bytes literal (ie. `0x"deadbeef"`)
* feat(angular): update highlights for template literalsDennis van den Berg2025-03-291-0/+8
|
* feat(caddy): add parser and queries (#7588)Vladimir Levin2025-03-234-0/+66
| | | | | --------- Co-authored-by: Christian Clason <c.clason@uni-graz.at>
* feat(javadoc): add parser and queries (#7749)Robert Muir2025-03-234-11/+121
| | | | | | | | | Previously java was configured to use doxygen parser for documentation comments, but javadocs are not doxygen. Inline tags have a different syntax, block tags are not recognized, and doxygen creates a lot of errors during highlighting. Add parser for javadoc comments, with queries for highlights and injections.
* bot(lockfile): update gleam, glimmer_javascript, glimmer_typescript, ↵nvim-treesitter-bot[bot]2025-03-212-6/+3
| | | | lalrpop, problog, prolog, roc
* Use order instead of prioritydcho2025-03-211-13/+12
|
* fix(python): prioritize builtin functionsdcho2025-03-211-1/+2
|
* * feat(perl): highlight hash keys as `@variable.member` in various contextsVeesh Goldman2025-03-192-32/+48
| | | | also, injections for s///e should fully re-parse
* fix(c): highlight `"."` as `@punctuation.delimiter`Riley Bruins2025-03-181-1/+1
| | | | Aligns C with the other language highlights
* fix(vhdl): capture "|" as `@operator` (#7744)John-Philip Taylor2025-03-161-0/+1
|
* feat(typst): highlight language name as @labelRiley Bruins2025-03-151-0/+3
|
* fix(python): don't highlight parameter name as builtin (#7732)Salomon Popp2025-03-131-61/+61
|
* feat(blade): add laravel blade parser and queries (#7693)Caleb White2025-03-124-0/+47
|
* feat(tact): update parser and queries (#7731)Novus Nota2025-03-124-9/+61
|
* fix(python): highlight function calls correctly (#7728)Salomon Popp2025-03-121-42/+42
|
* fix(python): don't highlight attribute name as builtin (#7712)Salomon Popp2025-03-111-24/+25
| | | | | | | | | | | | | | | * fix(python): don't highlight attribute name as builtin * fix(python): highlight `@variable.member` correctly for member access context * test: add test * test: expand test * docs: update comment * refactor: change order, remove priority override * style: remove extra newline
* feat(bibtex): highlight URLs and DOIs (#7725)Omar Valdez2025-03-111-0/+7
|
* fix(bibtex): use more appropriate captures (#7721)Omar Valdez2025-03-101-2/+2
|
* feat(roc)!: bump parser and queriesChristian Clason2025-03-094-10/+106
| | | | | | Adapt to https://github.com/faldor20/tree-sitter-roc/pull/30 Also synchronize queries with upstream and add indents
* feat(tera): add parser and queriesuncenter2025-03-092-0/+160
|
* fix(rust): inject regex into RegexBuilder instead of ByteRegexBuildermay2025-03-081-2/+2
|
* fix(rust): inject html and json in macro invocations (#7715)ginnyTheCat2025-03-081-10/+4
|
* feat(gleam): "echo" keyword (#7710)Louis Pilfold2025-03-061-0/+1
|
* feat(snakemake): add rules to locals (#7698)patricorgi2025-03-062-3/+6
|
* feat(jsx): commentstring queryRiley Bruins2025-03-041-0/+6
|
* feat(markdown): fold sublistsRiley Bruins2025-03-031-1/+6
|
* bot(lockfile): update php, php_only, rust, vnvim-treesitter-bot[bot]2025-02-281-3/+0
|
* feat(kdl): parser and queries (#7657)Bert Baron2025-02-273-0/+237
|
* fix(kdl): highlight query order (#7688)Paul Hansen2025-02-271-7/+8
| | | | | | | | | | | | | This just fixes the highlighting queries so everything isn't highlighted as a variable due to the order of the queries meaning several queries were ignored. I also changed the node names to be highlighted as `@tag` since KDL is an xml-like format so `@tag` seemed more appropriate than type and it differentiates it from the type annotations. This does NOT update to the latest KDL version 2, that would need grammar changes. It does "mostly" work with KDL 2 though (notably unquoted strings seem to throw the grammar off.).
* feat(typescript): highlight abstract methodsOmar Valdez2025-02-271-0/+3
|
* feat(make): fold `define` statements.Andreas Hartmann2025-02-271-0/+1
|
* feat(sql): add folds (#7686)Raafat Turki2025-02-261-0/+1
|
* feat(php): add support for new relative_name nodeCaleb White2025-02-261-5/+26
|
* feat(markdown): completely conceal codeblock fences on nightlyChristian Clason2025-02-251-2/+4
| | | | | Required to make https://github.com/neovim/neovim/pull/31324 work with nvim-treesitter.
* fix(gleam): indent on unqualified import rather than importAlex Manning2025-02-251-1/+1
|
* feat(typst): add more foldsAndreas Hartmann2025-02-251-0/+4
| | | | | | | | | for the following language constructs: - 'for' blocks - 'if/else' expressions - raw markup blocks (```) - `content`
* feat(just): improve attribute highlightsOmar Valdez2025-02-251-5/+21
| | | | | | - Default attribute highlight - Highlight more builtin attributes - Highlight special attribute arguments
* feat(inko): add support for "for" loopsYorick Peterse2025-02-212-0/+2
| | | | | | These will be introduced as part of the 0.19.0 release. This commit updates the lockfile as well as the relevant queries to accommodate the new expression and "in" now being a keyword.
* feat(liquid): capture `(front_matter)` and inject `yaml` (#7672)Hank Jackson2025-02-212-0/+7
|
* feat(pascal): Add asm language injection for PascalPhilip Zander2025-02-201-4/+2
|
* feat(promql): do not use regex for string labels (#7669)Daniil Leontev2025-02-202-2/+19
| | | | | | | | | | | | | | | | | In Prometheus, label values are treated as strings when used with the `=` and `!=` operators, and as regular expressions when used with the `=~` and `!~` operators. Injecting and then highlighting all label values as regex leads to a situation where entirely valid **string** label values containing regex special characters are mistakenly parsed and highlighted as regex. This results in syntax errors, causing labels to be highlighted incorrectly. For example, in `foo{bar=~"[a-z]{1,3}"}`, `{` and `}` are regex special characters, so regex highlighting is expected. However, in `foo{path="/foo/{id}"}`, `{` and `}` are just part of the string and have no special meaning, so the whole value should be highlighted as a string.
* feat(java): add injections for markdown documentation commentsRobert Muir2025-02-201-0/+12
| | | | | | Since Java 23, java documentation supports markdown. It is supported by a '///' line comment followed by mandatory white space: https://openjdk.org/jeps/467
* feat(yaml): capture "boolean strings" (#7512)Chris Grieser2025-02-191-0/+17
| | | | | | See for example: https://www.bram.us/2022/01/11/yaml-the-norway-problem/ values based on: https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.truthy Parser targets YAML 1.2, which has stricter promotions.
* fix(css): do not fold top-level blocks (#7562)Michael Parque2025-02-191-0/+6
| | | | | | Using (block) makes the fold behavior only work on the line that the block starts not the start line of the statement, which is unideal when the preceding statement spans multiple lines. instead, use all top-level statements explicitly from https://github.com/tree-sitter/tree-sitter-css/blob/master/grammar.js
* feat(gomod): support `tool` directive (#7649)Yuki Ito2025-02-191-0/+4
|
* feat(inko)!: remove the "class" keyword (#7663)Yorick Peterse2025-02-171-1/+0
| | | | | | This keyword is deprecated as of 0.18.1 (released on February 12, 2025) and is being removed as part of the upcoming 0.19.0 release. BREAKING CHANGE: replace with `type`.
* feat(nu): new attribute syntax and add folds.scm (#7650)zc he2025-02-162-9/+18
|
* feat(sparql): add regex injectionginnyTheCat2025-02-101-0/+6
|