StanAngeloff / php.vim

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

Stop phpDocParam highlight leakage #3

Closed boxofrox closed 10 years ago

boxofrox commented 10 years ago

Problem: The new Java-like syntax highligting added phpDocComment, et al. However phpDocParams highlighted indented html tags in a file with no doc comments.

Fix: Mark phpDocParams as contained, so phpDocParams must reside in phpDocComments to receive vim highlights.

Signed-off-by: Justin Charette charetjc@gmail.com

StanAngeloff commented 10 years ago

Thanks @boxofrox! I was wondering why a PHP file with some HTML had gone all horribly wrong the other day, but didn't think it had to do with php.vim.

boxofrox commented 10 years ago

My pleasure. Keep up the good work. :)