Skip to content

Commit c30d7bd

Browse files
add comments
1 parent 1ebd9e6 commit c30d7bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

syntax/vyper.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ syn keyword vyperConditional if else elif
2121
syn keyword vyperSpecial return pass continue break log assert raise
2222
syn keyword vyperOperator and not or
2323
syn keyword vyperBoolean True False
24+
"TODO this is unused
2425
syn keyword vyperStatement deploy external internal nonreentrant pure view nonpayable payable
2526
syn keyword vyperTypes address bool decimal
2627
syn keyword vyperTypes bytes1 bytes2 bytes3 bytes4 bytes5 bytes6 bytes7 bytes8 bytes9 bytes10 bytes11 bytes12 bytes13 bytes14 bytes15 bytes16 bytes17 bytes18 bytes19 bytes20 bytes21 bytes22 bytes23 bytes24 bytes25 bytes26 bytes27 bytes28 bytes29 bytes30 bytes31 bytes32
@@ -43,7 +44,7 @@ syn match vyperOperator "\v(\=|\+|\-|\*|\/|\%|\!|\<|\>|\||\^|\&)"
4344

4445
"Decorators
4546
syn match vyperDecorator "@" display nextgroup=vyperDecoratorName skipwhite
46-
syn match vyperDecoratorName "\(payable\|nonpayable\|view\|pure\|internal\|external\|nonreentrant\)$" display contained
47+
syn match vyperDecoratorName "\(payable\|nonpayable\|view\|pure\|internal\|external\|nonreentrant\)$" display contained "TODO add `@deploy`
4748

4849
"Natspec
4950
syn match vyperNatspec "@\w\+" display nextgroup=vyperNatspec contained

0 commit comments

Comments
 (0)