Browse files

Merge branch 'master' of git:// into inte…


  • Loading branch information...
oscarh committed Sep 7, 2011
2 parents 4e8e188 + af0e04c commit 5f067965e4186288754e80f4555adf7833686f26
Showing with 3 additions and 0 deletions.
  1. +3 −0 syntax/erlang.vim
@@ -25,6 +25,8 @@ syn match erlangFloat /\<[0-9]\+\.[0-9]\+\%(e-\?[0-9]\+\)
syn keyword erlangTodo TODO FIXME XXX contained
syn match erlangComment /%.*$/ contains=@Spell,erlangTodo
+syn match erlangAnnotation " \@<=@\%(clear\|docfile\|end\|headerfile\|todo\|TODO\|type\|author\|copyright\|doc\|reference\|see\|since\|title\|version\|deprecated\|hidden\|private\|equiv\|spec\|throws\)" contained
+syn match erlangAnnotation "`[^']*'" contained
syn keyword erlangKeyword band bor bnot bsl bsr bxor div rem xor
syn keyword erlangKeyword try catch begin receive after cond fun let query
@@ -82,6 +84,7 @@ hi link erlangNoSpellString String
hi link erlangModifier SpecialChar
hi link erlangStringModifier SpecialChar
hi link erlangComment Comment
+hi link erlangAnnotation Special
hi link erlangVariable Identifier
hi link erlangInclude Include
hi link erlangRecordDef Keyword

0 comments on commit 5f06796

Please sign in to comment.