commit 2456da70e19f28511e348e1702f9815eb25094fe
parent 24394f718743dd00f0365f51756581bf4f824dff
Author: Drew DeVault <sir@cmpwn.com>
Date: Sat, 11 Jul 2020 15:03:29 -0400
Add as, is operators
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/syntax/hare.vim b/syntax/hare.vim
@@ -9,6 +9,7 @@ syn keyword hareKeyword let const fn def return static export continue break
syn keyword hareRepeat for while
syn keyword hareConditional if else match switch
syn keyword hareBuiltin len offset free alloc assert
+syn keyword hareOperator is as
" TODO: highlight size correctly both as keyword and type
syn match harePreProc "^use .*;"
syn match harePreProc "@[a-z]*"