Commit graph

5842 commits

Author SHA1 Message Date
Robert Muir
cb8e810a1e feat(java): add injections for markdown documentation comments
Since Java 23, java documentation supports markdown.
It is supported by a '///' line comment followed by mandatory
white space: https://openjdk.org/jeps/467
2025-02-20 00:22:01 +01:00
Chris Grieser
36bbf51842
feat(yaml): capture "boolean strings" (#7512)
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.
2025-02-19 18:37:18 +01:00
Michael Parque
c32b59a8fd
fix(css): do not fold top-level blocks (#7562)
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
2025-02-19 18:12:46 +01:00
Yuki Ito
e5588abcfa
feat(gomod): support tool directive (#7649) 2025-02-19 17:28:07 +01:00
Christian Clason
b9a3588ee8 fix(earthfile): adapt to new default branch (with external scanner) 2025-02-19 15:02:54 +01:00
nvim-treesitter-bot[bot]
2c4c8c10ed bot(lockfile): update mlir, swift 2025-02-19 09:57:11 +00:00
Christian Clason
1a6e42bb8c ci(update): block nickel (ABI 15) 2025-02-18 09:16:17 +00:00
nvim-treesitter-bot[bot]
8c41b8b366 bot(lockfile): update fsharp, razor 2025-02-18 09:16:17 +00:00
Yorick Peterse
95648f9154
feat(inko)!: remove the "class" keyword (#7663)
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`.
2025-02-17 23:54:32 +01:00
zc he
2cade9e3d1
feat(nu): new attribute syntax and add folds.scm (#7650) 2025-02-16 16:47:42 +01:00
Christian Clason
b08ae25c47 feat(parsers)!: drop org
The parser has neither queries nor a listed maintainer here and hasn't
seen updates in two years.
2025-02-16 13:53:28 +01:00
nvim-treesitter-bot[bot]
38e46a6d7a bot(lockfile): update v 2025-02-16 06:49:56 +00:00
nvim-treesitter-bot[bot]
00a513f87e bot(lockfile): update c_sharp, enforce, erlang, mlir, nu 2025-02-15 09:39:43 +00:00
nvim-treesitter-bot[bot]
80e6de9d24 bot(lockfile): update julia, vhs 2025-02-14 06:52:41 +00:00
nvim-treesitter-bot[bot]
6d957c22cb bot(lockfile): update apex, sflog, soql, sosl, superhtml 2025-02-13 06:54:33 +00:00
nvim-treesitter-bot[bot]
e411cf2c8a bot(lockfile): update apex, perl, sflog, soql, sosl 2025-02-12 08:30:25 +00:00
nvim-treesitter-bot[bot]
6108ba7a13 bot(lockfile): update typst, v 2025-02-11 08:30:11 +00:00
ginnyTheCat
a840137349 feat(sparql): add regex injection 2025-02-10 09:32:30 +01:00
Omar Valdez
6402fcb1e0 feat(typescript): highlight awaited functions with type parameters 2025-02-10 09:32:11 +01:00
nvim-treesitter-bot[bot]
b39070f94d bot(lockfile): update c_sharp, http, idl, perl 2025-02-10 06:53:35 +00:00
Christian Clason
da89532f03 ci(update): block t32 (ABI 15) 2025-02-09 12:15:07 +01:00
nvim-treesitter-bot[bot]
119a6f9e25 bot(lockfile): update c, mlir, printf 2025-02-09 06:51:13 +00:00
Amaan Qureshi
3973f53d7a fix(razor): mark npm as required for generating from source 2025-02-08 19:40:12 +01:00
nvim-treesitter-bot[bot]
48f7ce34ef bot(lockfile): update erlang, gleam, jinja, jinja_inline, ziggy, ziggy_schema 2025-02-08 10:01:37 +00:00
nvim-treesitter-bot[bot]
1f36863a4e bot(readme): update 2025-02-08 09:51:26 +00:00
loongtao.zhang
cbd48fac13
feat(jinja): add parser and queries (#7573)
Signed-off-by: loongtao.zhang <loongtao.zhang@outlook.com>
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
2025-02-08 10:38:50 +01:00
simonvic
e8ccc339a3
feat(enforce): add parser and queries (#7626) 2025-02-08 10:38:13 +01:00
Omar Valdez
6bc2c0fde8 feat(hyprlang): bash injection for bindings with descriptions 2025-02-08 10:11:56 +01:00
nvim-treesitter-bot[bot]
62911c78a8 bot(lockfile): update asm, cpp, elixir, templ 2025-02-07 06:55:02 +00:00
nvim-treesitter-bot[bot]
824bf8455f bot(lockfile): update erlang, vhs
lock sql parser (ABI 15)
2025-02-06 07:43:26 +00:00
zc he
9e0b5e7f0d
feat(nu)!: added some new operators, removed deprecated keyword register (#7620) 2025-02-05 13:58:55 +01:00
nvim-treesitter-bot[bot]
cced713b49 bot(lockfile): update erlang, fsharp 2025-02-05 06:54:40 +00:00
Kieran Siek
55ae574195 Fix panic!, assert*!, and dbg! macro queries. 2025-02-04 23:49:34 +01:00
Riley Bruins
53a6b3993f feat(formatter): support formatting missing nodes
This commit makes missing nodes take formatting identical to that of
regular named nodes, with the only exception being that a newline will
not be prepended to a node name. E.g. this pattern:

```query
(MISSING identifier)
```

will *not* be changed to:

```query
(MISSING
  (identifier))
```
2025-02-04 09:56:51 +01:00
Riley Bruins
7194ff9511 fix(formatter): prefer #-prefixed predicates
This prevents the formatter for appending a space after the "." in a
predicate prefix, and changes it to a "#" to match all other occurrences
in the codebase.
2025-02-04 09:56:39 +01:00
nvim-treesitter-bot[bot]
285ec45123 bot(lockfile): update cue, erlang, janet_simple 2025-02-04 06:53:36 +00:00
nvim-treesitter-bot[bot]
4e701776f8 bot(lockfile): update c, query, rst, swift, vhdl 2025-02-03 06:52:29 +00:00
Riley Bruins
73b68cb943 feat(query): highlights for dot-prefixed predicates 2025-02-02 17:53:25 +01:00
Riley Bruins
ca0e04ac31 feat(query): highlights for missing nodes 2025-02-02 17:48:21 +01:00
Christian Clason
16a51977dc Revert "ci(update): block vhdl (ABI 15)"
This reverts commit 1545e964e2.
2025-02-02 15:17:50 +01:00
Christian Clason
1545e964e2 ci(update): block vhdl (ABI 15) 2025-02-02 15:00:38 +01:00
nvim-treesitter-bot[bot]
2497d9558d bot(lockfile): update desktop, matlab, perl, query, scala 2025-02-02 06:51:12 +00:00
Dimitris Dimitropoulos
4988b70680
feat(typst): capture multilevel headings (#7595) 2025-02-01 20:45:10 +01:00
Tristan Knight
39bf51ff68
feat(razor): add parser and queries (#7545) 2025-02-01 20:06:26 +01:00
nvim-treesitter-bot[bot]
bcd0b26607 bot(lockfile): update bash, desktop, haskell, julia, nix, objc, typst 2025-02-01 08:47:04 +00:00
nvim-treesitter-bot[bot]
7e3942ceca bot(lockfile): update c, c_sharp, cpp, css, djot, dtd, earthfile, go, html, java, javascript, json, lua, nix, ocaml, ocaml_interface, ocamllex, php, php_only, python, ruby, scala, tsx, typescript, xml 2025-01-31 06:52:49 +00:00
Omar Valdez
110bdf91e3
fix(typescript): don't highlight default values as parameters (#7599) 2025-01-30 18:32:50 +01:00
Jonas Hietala
ffa526e5aa
feat(djot): add latex injection (#7603) 2025-01-30 12:22:43 +01:00
nvim-treesitter-bot[bot]
019e8cb7b3 bot(lockfile): update cpp, djot, gotmpl, heex, helm, solidity 2025-01-30 08:28:48 +00:00
Christian Clason
10f7a506ef fix(ci): fixup (ignore new artifact name) 2025-01-30 09:16:25 +01:00