As of nginx version 1.5.8, the vim-syntax is distributed alongside nginx in the contrib/-directory (compare [1]). The version there has multiple fixes and enhancements over the script shipped by app-vim/nginx-syntax, namely everything listed here [2] and further changes in its time in the nginx repository (NB: the one minor difference between nginx.vim-0.3.2 and -0.3.3 is NOT included ... but well). Solution 1: Remove nginx-syntax and install it with nginx directly. Solution 2: Make nginx-syntax use the syntax from contrib/ [1] http://nginx.org/en/CHANGES [2] https://github.com/evanmiller/nginx-vim-syntax/commits/master
This isn't up to the vim herd, the nginx maintainers should take option 1 and have it block the app-vim/nginx-syntax pkg until it's removed from the tree.
I'll look at this for the next 1.8.x release as well as the upcoming 1.9.x release.
This landed in 1.8.x and 1.9.x.