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:
Riley Bruins 2024-03-30 19:35:32 -07:00 committed by Christian Clason
parent 3c996dc9fa
commit 0bfa0be5e4

View file

@ -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)