Commit graph

5811 commits

Author SHA1 Message Date
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
Christian Clason
aeaac6a208 fix(ci): fixup 2025-01-30 09:10:34 +01:00
Christian Clason
7d28f8afc4 fix(ci): update to changed neovim release name 2025-01-30 08:53:22 +01:00
nvim-treesitter-bot[bot]
13f4346876 bot(lockfile): update cpp, godot_resource, leo 2025-01-29 06:50:19 +00:00
Jonas Hietala
80c7af6d04
feat(djot)!: update to breaking parser changes (#7594) 2025-01-28 21:58:52 +01:00
nvim-treesitter-bot[bot]
043d5fb150 bot(lockfile): update gotmpl, gren, helm, nu 2025-01-28 06:51:06 +00:00
Christian Clason
2206739829 ci(install): adapt to new Neovim release artefact names
Old name can be removed after 0.10.4 release
2025-01-27 17:09:08 +01:00
nvim-treesitter-bot[bot]
61a385d74f bot(lockfile): update perl 2025-01-27 06:53:17 +00:00
nvim-treesitter-bot[bot]
d34e62afd3 bot(lockfile): update cuda, janet_simple 2025-01-26 06:51:42 +00:00
Minh Tran
f3d7c0dafc
fix(verilog): capture (non_integer_type) as @type.builtin 2025-01-25 09:52:24 +01:00
nvim-treesitter-bot[bot]
dce7208593 bot(lockfile): update bash, c, c_sharp, cpp, css, elixir, embedded_template, go, html, java, javascript, jsdoc, json, nginx, php, php_only, prisma, python, regex, rust, scfg, tsx, typescript, v 2025-01-25 06:50:02 +00:00
nvim-treesitter-bot[bot]
51562d44fc bot(lockfile): update bash, c, c_sharp, cpp, css, embedded_template, fortran, go, html, java, javascript, jsdoc, json, php, php_only, python, regex, rust, tsx, typescript 2025-01-24 06:51:43 +00:00
nvim-treesitter-bot[bot]
6587a58868 bot(lockfile): update fortran, hack, superhtml, yaml, ziggy, ziggy_schema 2025-01-23 06:54:03 +00:00
Baraa Homsi
4862ab0aca
fix(nix): shorter sub-attribute function highlight query (#7579) 2025-01-22 07:58:01 -08:00
nvim-treesitter-bot[bot]
0c94de7e97 bot(lockfile): update erlang, groovy, janet_simple, kotlin, rst, slim 2025-01-22 06:53:06 +00:00
nvim-treesitter-bot[bot]
07bd1b53bf bot(readme): update 2025-01-21 09:25:45 +01:00
Théo Reichel
1c67567464
feat(slim): add parser and queries (#7425) 2025-01-21 09:25:08 +01:00
nvim-treesitter-bot[bot]
65c466178e bot(lockfile): update erlang, hyprlang, solidity, t32 2025-01-21 06:50:51 +00:00
Gabriel Holodak
0fb02ac5c3 fix(install): use std=c11 2025-01-20 08:50:52 +01:00
Gabriel Holodak
82939d5941 fix(install): preserve command return code on Windows
`:TSInstallSync` relies on the `:system()` command to set
`v:shell_error` when an error code is returned during installation. On
Windows, the error code was always overwritten by `popd`'s return code.
2025-01-20 08:50:52 +01:00
Jaehwang Jung
8acafab2bc fix: node selection at line start that ends injected region 2025-01-20 08:49:31 +01:00
Jaehwang Jung
e8c5242f53 fix(inc-selection): handle injections
* Parse injections before starting selection.
* Make node_incremental climb up the LanaguageTree step by step.
  Previously it only considered the root parser and the bottommost
  parser. Now it works well with document with deeper injections, e.g.,
  ```lua
  vim.cmd[=[
  echo 'hello' 'world!'
  lua << EOF
  vim.cmd[[echo 'hello' 'world!']]
  EOF
  ]=]
  ```
2025-01-20 08:49:31 +01:00
nvim-treesitter-bot[bot]
47b333e63d bot(lockfile): update hyprlang, query, sourcepawn, templ, vhdl, xresources 2025-01-20 06:52:37 +00:00
Omar Valdez
7edaaf9887
feat(css): highlight @keyframes name (#7569) 2025-01-19 19:29:24 -08:00
Baraa Homsi
4d93fae5a3
fix(nix): highlight functions when part of a set (#7547)
* feat(nix): Fix function highlights when part of a set

* fix(nix): Highlight only the last identifier node in functions

* fix(nix): Higher precedence for builtins compared to functions and member vars
2025-01-19 19:03:13 -08:00
Omar Valdez
1c77042243 feat(hyprlang): bash injection for hypridle variables 2025-01-19 21:28:06 -05:00
Omar Valdez
87b1f25098 feat(hyprlang): add missing highlights 2025-01-19 21:07:52 +01:00
Omar Valdez
645d14f40f feat(hyprlang): bash injections for exec keybindings 2025-01-19 12:29:44 -05:00
nvim-treesitter-bot[bot]
4423f30539 bot(lockfile): update fish 2025-01-19 06:48:30 +00:00
Christian Clason
5da195ac3d ci: use new issue types 2025-01-17 10:46:06 +01:00
nvim-treesitter-bot[bot]
b952a0ab6c bot(lockfile): update erlang, heex, janet_simple, lalrpop 2025-01-17 06:52:06 +00:00
Christian Clason
fd59f98441 fix(idris): correct keyword captures
Fixup for #7274
2025-01-16 17:45:38 +01:00