File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,10 @@ syn match vyperDecoratorName "\(payable\|nonpayable\|view\|pure\|internal\|exter
4747syn match vyperNatspec " @\w\+ " display nextgroup =vyperNatspec contained
4848
4949" Comments
50- syn match vyperComment " #.*$" contains =vyperTodo,vyperNatspec
50+ syn match vyperPragma " ^#pragma.*$"
51+ syn match vyperComment " #.*$" contains =vyperTodo,vyperNatspec,vyperPragma
52+
53+
5154
5255" Literals
5356syn match vyperNumber " \<\d\> " display
@@ -87,6 +90,7 @@ hi link vyperNatspec Special
8790hi link vyperSpecial Special
8891hi link vyperEnvironment Boolean
8992hi link vyperComment Comment
93+ highlight vyperPragma term = bold cterm= bold
9094hi link vyperTypes Type
9195hi link vyperNumber Number
9296hi link vyperMethodId Number
You can’t perform that action at this time.
0 commit comments