Highlight 'not in' as keyword (#11)

This commit is contained in:
Jonatan Kłosko 2021-10-14 20:30:28 +02:00 committed by GitHub
parent f5d7bda543
commit c3b82ff916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -1,6 +1,6 @@
; Reserved keywords
["when" "and" "or" "not" "in" "fn" "do" "end" "catch" "rescue" "after" "else"] @keyword
["when" "and" "or" "not" "in" "not in" "fn" "do" "end" "catch" "rescue" "after" "else"] @keyword
; Operators

View File

@ -1,3 +1,20 @@
a in b
# <- variable
# ^ keyword
# ^ variable
a not in b
# <- variable
# ^ keyword
# ^ keyword
# ^ variable
a not in b
# <- variable
# ^ keyword
# ^ keyword
# ^ variable
a ~>> b = bind(a, b)
# <- variable
# ^ operator