mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(nix): highlight ellipsis as builtin parameter
This maintains consistency with a lot of other languages that also have ellipses as parameter types, which we typically highlight as `@variable.parameter.builtin`
This commit is contained in:
parent
3c996dc9fa
commit
0bfa0be5e4
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@
|
|||
"?"? @operator)
|
||||
|
||||
; `...` in `{ ... }`, used to ignore unknown named function arguments (see above)
|
||||
(ellipses) @punctuation.special
|
||||
(ellipses) @variable.parameter.builtin
|
||||
|
||||
; universal is the parameter of the function expression
|
||||
; `:` in `x: y`, used to separate function argument from body (see above)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue