vim-erlang / vim-erlang-runtime

Erlang indentation and syntax for Vim
https://vim-erlang.github.io
101 stars 29 forks source link

Fix syntax highlight in record when atom surround single quote. #36

Closed platinumthinker closed 7 years ago

platinumthinker commented 7 years ago

Fix highlight record use in case:

'RECORD_NAME'{}

hcs42 commented 7 years ago

Thank you. I extended it and merged it: https://github.com/vim-erlang/vim-erlang-runtime/commit/532012e26dc8ba3cd776d0e8aa7cd4456f8a7964 E.g. now it works with record names that don't start with a capital letter, or contain a dash character.