oscarh / vimerl

A set of erlang plugins for VIM. This is not maintained, better use som modern fork of this!
159 stars 99 forks source link

Atoms followed by :: in record definitions aren't highlighted #9

Open oscarh opened 13 years ago

oscarh commented 13 years ago

This is because atom, that are obvious module or function names shouldn't be highlighted. This has been implemented by adding a \%(\s*[(:])\@! after the atom... however, this also catches "::"...

Didn't come up with a quick solution so I'll post this here instead.