Baraa Homsi
4862ab0aca
fix(nix): shorter sub-attribute function highlight query ( #7579 )
2025-01-22 07:58:01 -08:00
Théo Reichel
1c67567464
feat(slim): add parser and queries ( #7425 )
2025-01-21 09:25:08 +01: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
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
Guilherme Soares
984214ef8e
feat(gotmpl): highlight "=" operator ( #7553 )
2025-01-14 08:20:51 +01:00
Álan e Sousa
c7dc251cdd
fix(matlab): indentation of arguments statement
2025-01-13 18:05:45 +01: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
Igor
057990eb24
feat(http): fold queries
2025-01-10 09:06:34 +01:00
Ian Hobson
8ca76960ae
feat(koto): Update highlighting for 0.15
2025-01-08 13:54:35 +01:00
joker1007
57713d079c
fix(rbs): fix highlight queries of rbs that is missing some definitions
2025-01-04 16:13:26 +01:00
Robert Horvath
6935286b4e
fix(leo): intentation fix of parenthesis
2025-01-03 19:17:21 +01:00
Caleb White
6cb4098d51
fix(php): properly highlight grouped imported functions and constants
2025-01-02 19:13:44 +01:00
vanaigr
5f78e98924
fix(bash): offset injection content
2024-12-31 10:49:30 +01: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
ObserverOfTime
7e0fcf0d45
fix(ssh_config): highlight "always" ( #7507 )
2024-12-29 10:58:56 +01:00
Yorick Peterse
096babebf6
feat(inko): highlight the "type" keyword
...
This keyword will be released in 0.18.0 and deprecate the "class"
keyword, which in turn will be removed in 0.19.0.
2024-12-24 17:37:57 +01:00
Amaan Qureshi
4d5a8e7006
feat(kconfig): adapt queries to parser changes
2024-12-22 11:06:48 +01:00
zc he
981ca7e353
fix(nu): perf issue of highlight.scm ( #7475 )
2024-12-17 16:50:36 -08:00
phanium
c47d8d27d0
fix(lua): remove duplicate nvim_command ( #7477 )
2024-12-17 11:32:17 +01:00
Mae Brooks
ad5ea0bbed
fix(gren): adapt queries to parser changes ( #7472 )
...
`case of` -> `when is`
2024-12-16 10:37:35 +01:00
Vincent Rischmann
54a29bf99d
feat(zig): improve indents ( #7471 )
2024-12-15 22:29:54 +01:00
Riley Bruins
5cf3434c69
feat(go): string regex highlights
2024-12-15 12:02:42 +01:00
Riley Bruins
89ecadd2b1
fix(go): properly apply injections in strings
2024-12-15 12:02:42 +01:00
Heber
c97f14eed1
feat(soql): update parser and queries ( #7461 )
2024-12-12 08:31:38 +01:00
phanium
c5c9f234b3
feat(sxhkd): add bash injection for (command) ( #7456 )
2024-12-10 08:08:02 +01:00
Alexandr Martirosyan
be17791f86
feat(circom): add parser and queries
2024-12-06 18:41:37 +01:00
Fredrik Ekre
acada1a685
fix(julia): fix incorrect documentation query
...
This patch fixes an inprecise `@string.documentation` query introduced
in https://github.com/nvim-treesitter/nvim-treesitter/pull/7391 . The
pattern `(string_literal) . (call_expression)` matches also for example
`"hello"` in `foo("hello", bar())`. Similarly to
https://github.com/nvim-treesitter/nvim-treesitter/pull/7436 , this patch
limits the pattern to top-level statements.
2024-12-05 15:04:15 +01:00
Yorick Peterse
0aaf146590
feat(inko): highlight the "copy" keyword
...
This keyword is added as part of the upcoming 0.18.0 release.
2024-12-04 15:39:04 +01:00
Fredrik Ekre
b0fc560c75
fix(julia): fix incorrect documentation query
...
This patch fixes an inprecise `@string.documentation` query introduced
in https://github.com/nvim-treesitter/nvim-treesitter/pull/7391 .
Specifically, the pattern `(string_literal) . (identifier)` matches also
for example `"hello"` in
```julia
foo("hello", world)
@info "hello" world
```
To fix this, this patch limits the pattern to top-level statements.
2024-12-04 11:59:55 +01:00
nvim-treesitter-bot[bot]
69170c9314
bot(lockfile): update apex, editorconfig, elixir, ledger, markdown, markdown_inline, sflog, soql, sosl, styled, swift, xresources
2024-12-02 07:45:02 +00:00
Riley Bruins
2444c8052f
feat(gomod): punctuation, toolchain highlights
...
Reference file:
```gomod
module github.com/klauspost/reedsolomon
go 1.21
require github.com/klauspost/cpuid/v2 v2.2.8
require golang.org/x/sys v0.24.0 // indirect
retract (
v1.12.2 // https://github.com/klauspost/reedsolomon/pull/283
v1.11.6 // https://github.com/klauspost/reedsolomon/issues/240
[v1.11.3, v1.11.5] // https://github.com/klauspost/reedsolomon/pull/238
v1.11.2 // https://github.com/klauspost/reedsolomon/pull/229
)
```
2024-12-02 08:38:30 +01:00
Riley Bruins
454354e599
fix(nu): highlight all occurrences of "use"
2024-11-30 09:29:45 +01:00
flippette
427a90ae70
feat(rust): highlight "gen" and "raw" keywords ( #7419 )
2024-11-29 19:38:12 +01:00
Fredrik Ekre
60b4c15e7c
feat(julia): highlight interpolation operator
...
This patch adds `$` to the `@punctuation.special` capture group within
`(string_interpolation)` (e.g. `"hello $name"`) and
`(interpolation_expression)` (e.g. `:(hello $name)`) nodes.
2024-11-29 08:12:56 +01:00
Yorick Peterse
4d035005d3
feat(inko): highlight "inline" keyword
...
The parser added support for the "inline" keyword in a few places. This
ensures a highlight is present for the keyword.
2024-11-28 17:52:02 +01:00
AtomToast
02f8777252
feat(zig): add locals queries ( #7401 )
2024-11-28 08:28:51 +01:00
JoranHonig
8d4fdc5e47
fix(solidity): remove spurious operators in highlight queries ( #7412 )
2024-11-27 11:04:28 +01:00
zhangwwpeng
7930b5f983
fix(verilog): update queries ( #7400 )
...
1. Add "string" as a keyword
2. Fix issue where non-type.builtin fields are captured when using (data_type) as type.builtin
3. Add generate label
2024-11-24 10:44:23 +01:00
Fredrik Ekre
3f377c0739
fix(julia): treat :: as operator in type contexts
...
This patch captures `::` as `@operator` within
`(unary_typed_expression)` and `(typed_expression)`. These should be the
only two cases that the parser can emit when encountering `::` in the
source, but as a fallback it is still captured as `@punctuation` in all
other cases.
The reasons for capturing `::` as an operator are i) the close relation
with the other type-operators `<:` and `>:` and ii) the fact that it is
treated as an operator by the Julia parser, just like `<:` and `>:`.
2024-11-23 11:10:05 +01:00