Skip to content

Commit 8f2733e

Browse files
committed
closing #17 - added @readonly and @deprecated annotation to syntax
1 parent 2c8f58a commit 8f2733e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/apexcode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ syn keyword apexcodeRepeat for while do
6060
syn match apexcodePreProc "\<\(with sharing\|without sharing\)\>"
6161
syn keyword apexcodePreProc testMethod
6262
" apexcode annotations
63-
syn match apexcodePreProc "@\(isTest\|future\|RemoteAction\|TestVisible\|RestResource\)"
63+
syn match apexcodePreProc "@\(isTest\|future\|RemoteAction\|TestVisible\|RestResource\|Deprecated\|ReadOnly\)"
6464
syn match apexcodePreProc "@Http\(Delete\|Get\|Post\|Patch\|Put\)"
6565

6666
syn keyword apexcodeException try catch finally throw Exception

0 commit comments

Comments
 (0)