StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

method names are defined as phpRegion, should get their own syntax group #14

Closed jlem closed 10 years ago

jlem commented 10 years ago

I'd like to be able to customize the colors for method names, but they are currently sharing the phpRegion syntax group, which makes this impossible without affecting the colors of many other elements.

StanAngeloff commented 10 years ago

This is an interesting case. I just had a quick look at the syntax file and there isn't a special case handling function names (just PHP keywords).

I'll leave this issue open for anyone interesting at taking a stab. I may be able to take a closer look myself soon.

StanAngeloff commented 10 years ago

After e39e28ef05932befe74508c225835715e82e38af, you can now customise four additional syntax groups.

See commit message in c5c21258255da29d73dce98b4e889d6ff06c3b9f for an explanation.

Does this solve the issue for you?

StanAngeloff commented 10 years ago

Closing issue.