Commit graph

5776 commits

Author SHA1 Message Date
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
Serhii Khoma
8758abeb4d
feat(idris): add parser and queries (#7274) 2025-01-16 17:34:37 +01:00
nvim-treesitter-bot[bot]
a67a312e7b
bot(lockfile): update earthfile, gotmpl, heex, helm, vhs (#7557)
Co-authored-by: nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com>
2025-01-16 09:33:47 +01:00
nvim-treesitter-bot[bot]
f0c928dbe9 bot(lockfile): update facility, fortran, gotmpl, helm, ocaml, ocaml_interface 2025-01-15 06:50:45 +00:00
Guilherme Soares
984214ef8e
feat(gotmpl): highlight "=" operator (#7553) 2025-01-14 08:20:51 +01:00
nvim-treesitter-bot[bot]
e122b11d83 bot(lockfile): update apex, gap, groovy, matlab, nix, sflog, soql, sosl 2025-01-14 06:51:29 +00:00
Álan e Sousa
c7dc251cdd fix(matlab): indentation of arguments statement 2025-01-13 18:05:45 +01:00
nvim-treesitter-bot[bot]
dc9bf52c1f bot(lockfile): update apex, dockerfile, editorconfig, gomod, mlir, odin, sflog, soql, sosl, xresources 2025-01-13 06:55:14 +00:00
nvim-treesitter-bot[bot]
097fb77312 bot(lockfile): update css, fortran, gomod, ocaml, ocaml_interface, roc 2025-01-12 06:53:36 +00:00
someone13574
29f96aafe1
fix(verilog): add ifndef highlight (#7548) 2025-01-11 23:12:54 +01:00
JSaugsburg
9ef2e37e1b
feat(awk): highlight more builtin functions 2025-01-11 14:31:24 +01:00
Brian Cardarella
e1e2ad1448
feat(elixir): add highlight for LVN sigils 2025-01-11 10:44:04 +01:00
nvim-treesitter-bot[bot]
5780226a4f bot(lockfile): update apex, mlir, sflog, soql, sosl 2025-01-11 06:50:53 +00:00
nvim-treesitter-bot[bot]
306dd6e9dc bot(lockfile): update koto 2025-01-10 08:14:32 +00:00
Igor
057990eb24 feat(http): fold queries 2025-01-10 09:06:34 +01:00
nvim-treesitter-bot[bot]
6df6e80417 bot(lockfile): update ocaml, ocaml_interface 2025-01-09 06:54:20 +00:00
Ian Hobson
8ca76960ae feat(koto): Update highlighting for 0.15 2025-01-08 13:54:35 +01:00
nvim-treesitter-bot[bot]
10a9464a82 bot(lockfile): update groovy, python 2025-01-08 06:52:08 +00:00
nvim-treesitter-bot[bot]
622a4a6ba7 bot(lockfile): update c_sharp, nickel 2025-01-07 07:11:13 +00:00
nvim-treesitter-bot[bot]
958af94dd8 bot(lockfile): update diff, just, ocaml, ocaml_interface, swift, xresources 2025-01-06 06:53:29 +00:00
nvim-treesitter-bot[bot]
556ac68cd3 bot(lockfile): update mlir, rbs, snakemake 2025-01-05 06:49:48 +00:00
joker1007
57713d079c fix(rbs): fix highlight queries of rbs that is missing some definitions 2025-01-04 16:13:26 +01:00
nvim-treesitter-bot[bot]
fae21737be bot(lockfile): update julia, koto, v 2025-01-04 06:50:10 +00:00
Robert Horvath
6935286b4e fix(leo): intentation fix of parenthesis 2025-01-03 19:17:21 +01:00
nvim-treesitter-bot[bot]
cfbc1c0e0f bot(lockfile): update godot_resource, properties 2025-01-03 06:52:25 +00:00
Caleb White
6cb4098d51 fix(php): properly highlight grouped imported functions and constants 2025-01-02 19:13:44 +01:00
nvim-treesitter-bot[bot]
fc687f38d4 bot(lockfile): update gdscript, qmljs 2025-01-02 06:52:25 +00:00
nvim-treesitter-bot[bot]
e947d35bbf bot(lockfile): update gdscript, swift 2025-01-01 06:54:11 +00:00
vanaigr
5f78e98924 fix(bash): offset injection content 2024-12-31 10:49:30 +01:00
nvim-treesitter-bot[bot]
0a0e2e354b bot(lockfile): update fsharp 2024-12-31 06:54:36 +00:00
Shaun Attfield (shaun@xomen)
4b22291348 fix(xml): properly indent closing tags
Confusing as it is,
https://github.com/heurist/nvim-treesitter/blob/master/CONTRIBUTING.md?plain=1#L394
says:

```query
@indent.dedent      ; dedent children when matching this node
@indent.branch      ; dedent itself when matching this node
```

@indent.branch is therefore the approriate choice for de-indenting.
2024-12-30 17:55:55 +01:00
Robert Horvath
1087b183a7 fix(leo): indent } now properly dedents 2024-12-30 17:55:35 +01:00
Robert Horvath
f0f48e0290 feat(leo): highlights casting and record expressions added 2024-12-30 17:55:35 +01:00
Serhii Khoma
f87c8956ae
feat(ipkg): add parser and queries (#7277)
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-12-30 08:48:20 -08:00
Derek Stride
a295ba13d2
feat(ruby): add injection for debugger command strings (#7480) 2024-12-30 11:14:03 +01:00
nvim-treesitter-bot[bot]
34d78baa86 bot(lockfile): update editorconfig, nu, sql, templ, vento, vhdl, xresources 2024-12-30 06:54:56 +00:00