Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git://github.com/litaocheng/vimerl into inte…

…gration

Conflicts:
	syntax/erlang.vim
  • Loading branch information...
commit 5f067965e4186288754e80f4555adf7833686f26 2 parents 4e8e188 + af0e04c
@oscarh authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  syntax/erlang.vim
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.