Christian Clason
93ce9feb4f
feat(markdown): completely conceal codeblock fences on nightly
...
Required to make https://github.com/neovim/neovim/pull/31324 work with
nvim-treesitter.
2025-02-25 14:07:31 +01:00
Alex Manning
f0ff9f0e5d
fix(gleam): indent on unqualified import rather than import
2025-02-25 11:20:39 +01:00
Andreas Hartmann
3b013b9ed4
feat(typst): add more folds
...
for the following language constructs:
- 'for' blocks
- 'if/else' expressions
- raw markup blocks (```)
- `content`
2025-02-25 11:18:08 +01:00
Omar Valdez
9fcb3f7aa2
feat(just): improve attribute highlights
...
- Default attribute highlight
- Highlight more builtin attributes
- Highlight special attribute arguments
2025-02-25 10:47:31 +01:00
nvim-treesitter-bot[bot]
36c78ee572
bot(lockfile): update styled
2025-02-25 08:57:11 +00:00
Christian Clason
225419160b
ci(update): block git_config (ABI 15)
2025-02-25 09:46:10 +01:00
nvim-treesitter-bot[bot]
e6d02ec9ef
bot(lockfile): update nu, rst, swift
2025-02-24 06:54:05 +00:00
nvim-treesitter-bot[bot]
f2bd62c656
bot(lockfile): update nu, vhdl
2025-02-23 11:14:03 +00:00
Christian Clason
c08aa2fe3f
ci(update): block devicetree (ABI 15)
2025-02-23 12:01:29 +01:00
nvim-treesitter-bot[bot]
5774e7d3da
bot(lockfile): update enforce, liquid, mlir, nix, nu
2025-02-22 06:54:10 +00:00
Yorick Peterse
d0ba96c3dc
feat(inko): add support for "for" loops
...
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.
2025-02-21 21:37:27 +01:00
Hank Jackson
4cf2da5c3a
feat(liquid): capture (front_matter) and inject yaml ( #7672 )
2025-02-21 09:29:03 +01:00
nvim-treesitter-bot[bot]
0cfe75d2a2
bot(lockfile): update liquid, swift
2025-02-21 06:53:25 +00:00
Philip Zander
bf18d4dc8d
feat(pascal): Add asm language injection for Pascal
2025-02-20 18:19:40 +01:00
Daniil Leontev
d2ff400641
feat(promql): do not use regex for string labels ( #7669 )
...
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.
2025-02-20 12:17:32 +01:00
nvim-treesitter-bot[bot]
a15dd9280f
bot(lockfile): update pascal, v
2025-02-20 09:37:01 +00:00
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