|
|
@@ -12,9 +12,10 @@ if exists('b:current_syntax')
|
|
|
finish
|
|
|
endif
|
|
|
|
|
|
-syn keyword sapviKeyword constant contract start end
|
|
|
+syn keyword sapviKeyword constant contract start end constraint
|
|
|
"syn keyword sapviAttr
|
|
|
syn keyword sapviType FixedGenerator BlakePersonalization PedersenPersonalization ByteSize U64 Fr Point Bool Scalar BinarySize
|
|
|
+syn keyword sapviFunctionKeyword enforce
|
|
|
syn match sapviFunction "^[ ]*[a-z_0-9]* "
|
|
|
syn match sapviComment "#.*$"
|
|
|
syn match sapviNumber ' \zs\d\+\ze'
|
|
|
@@ -29,6 +30,7 @@ hi def link sapviPreproc PreProc
|
|
|
hi def link sapviPreproc2 PreProc
|
|
|
hi def link sapviType Type
|
|
|
hi def link sapviFunction Function
|
|
|
+hi def link sapviFunctionKeyword Function
|
|
|
hi def link sapviComment Comment
|
|
|
hi def link sapviNumber Constant
|
|
|
hi def link sapviConst Constant
|