Fix slicing operator not being highlighted
This commit is contained in:
parent
ca8cab0439
commit
10a90ad631
|
@ -96,7 +96,7 @@ provide-module hare %§
|
|||
add-highlighter shared/hare/code/ regex "\b(for|if|else|switch|match|return|break|continue|defer|yield|case|static)\b" 0:keyword
|
||||
|
||||
# operators
|
||||
add-highlighter shared/hare/code/ regex "(=|\+|-|\*|/|<|>|!|\?|&|\||\.\.\.)" 0:operator
|
||||
add-highlighter shared/hare/code/ regex "(=|\+|-|\*|/|<|>|!|\?|&|\||\.\.(\.)?)" 0:operator
|
||||
|
||||
# commands
|
||||
define-command -hidden hare-indent-on-new-line %{ evaluate-commands -draft -itersel %{
|
||||
|
|
Loading…
Reference in New Issue
Block a user