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

@ -510,7 +510,7 @@
"revision": "14e6da1627aaef21d2b2aa0c37d04269766dcc1d"
},
"nu": {
"revision": "b51db01e154fac33eda5b289a6c7751c09568f6d"
"revision": "d0b26e45525016ef8e6f2ced05852437c06a00ca"
},
"objc": {
"revision": "181a81b8f23a2d593e7ab4259981f50122909fda"

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"