feat(nu)!: added some new operators, removed deprecated keyword register (#7620)

This commit is contained in:
zc he 2025-02-05 20:58:55 +08:00 committed by GitHub
parent cced713b49
commit 9e0b5e7f0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 2 deletions

View file

@ -9,7 +9,6 @@
"source"
"source-env"
"overlay"
"register"
] @keyword
[
@ -169,6 +168,20 @@ file_path: (val_string) @variable.parameter
"err+out>"
"o+e>"
"out+err>"
"o>>"
"out>>"
"e>>"
"err>>"
"e+o>>"
"err+out>>"
"o+e>>"
"out+err>>"
"e>|"
"err>|"
"e+o>|"
"err+out>|"
"o+e>|"
"out+err>|"
] @operator
[
@ -183,6 +196,8 @@ file_path: (val_string) @variable.parameter
"bit-shr"
"in"
"not-in"
"has"
"not-has"
"starts-with"
"ends-with"
"not"