diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-06-13 11:36:03 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-06-13 11:36:03 +0200 |
commit | a86c0179ebc99b15d403e3f1d4a4cfff83b47de8 (patch) | |
tree | 1041d5047147bf109aa88707afce9f6232c2af4c /syntax/erlang.vim | |
parent | 22095febb74f89d9a3dd6a10c9c95fba83675383 (diff) | |
download | vim-polyglot-a86c0179ebc99b15d403e3f1d4a4cfff83b47de8.tar.gz vim-polyglot-a86c0179ebc99b15d403e3f1d4a4cfff83b47de8.zip |
Update
Diffstat (limited to 'syntax/erlang.vim')
-rw-r--r-- | syntax/erlang.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/erlang.vim b/syntax/erlang.vim index 27f19ff1..a60eaad9 100644 --- a/syntax/erlang.vim +++ b/syntax/erlang.vim @@ -46,7 +46,7 @@ setlocal iskeyword+=$,@-@ " Comments syn match erlangComment '%.*$' contains=erlangCommentAnnotation,erlangTodo -syn match erlangCommentAnnotation ' \@<=@\%(clear\|docfile\|end\|headerfile\|todo\|TODO\|type\|author\|copyright\|doc\|reference\|see\|since\|title\|version\|deprecated\|hidden\|private\|equiv\|spec\|throws\)' contained +syn match erlangCommentAnnotation ' \@<=@\%(clear\|docfile\|end\|headerfile\|todo\|TODO\|type\|author\|copyright\|doc\|reference\|see\|since\|title\|version\|deprecated\|hidden\|param\|private\|equiv\|spec\|throws\)' contained syn match erlangCommentAnnotation /`[^']*'/ contained syn keyword erlangTodo TODO FIXME XXX contained @@ -94,7 +94,7 @@ syn match erlangBitType '\%(\/\%(\s\|\n\|%.*\n\)*\)\@<=\%(integer\|float\|binary " Constants and Directives syn match erlangUnknownAttribute '^\s*-\%(\s\|\n\|%.*\n\)*\l[[:alnum:]_@]*' contains=erlangComment -syn match erlangAttribute '^\s*-\%(\s\|\n\|%.*\n\)*\%(behaviou\=r\|compile\|export\(_type\)\=\|file\|import\|module\|author\|copyright\|doc\|vsn\|on_load\)\>' contains=erlangComment +syn match erlangAttribute '^\s*-\%(\s\|\n\|%.*\n\)*\%(behaviou\=r\|compile\|export\(_type\)\=\|file\|import\|module\|author\|copyright\|doc\|vsn\|on_load\|optional_callbacks\)\>' contains=erlangComment syn match erlangInclude '^\s*-\%(\s\|\n\|%.*\n\)*\%(include\|include_lib\)\>' contains=erlangComment syn match erlangRecordDef '^\s*-\%(\s\|\n\|%.*\n\)*record\>' contains=erlangComment syn match erlangDefine '^\s*-\%(\s\|\n\|%.*\n\)*\%(define\|undef\)\>' contains=erlangComment |