The verbatimtex/etex and btex/etex sections of Metapost files are not highlighted properly - the token 'etex' is not highlighted. This applies to x86 and amd64 architectures and all versions 7.x of vim and vimcore currently in the portage tree (7.0.235, 7.1.042, 7.1.123). Reproducible: Always Steps to Reproduce: 1. All personal Vim settings removed. 2. Edit a file with 'btex ... etex'. Actual Results: The 'etex' token is not highlighted. Expected Results: The 'etex' token should be highlighted. The Vim syntax file syntax/mp.vim declares it was last modified in 2001 which suggests a recent change somewhere else is responsible for bad highlighting. Moreover, the very same syntax/mp.vim works well on RHEL5 with RPMs vim-common-7.0.109-3.el5.3 vim-minimal-7.0.109-3.el5.3 vim-enhanced-7.0.109-3.el5.3 However, there's a simple patch for the file syntax/mp.vim to get 'etex' highlighted. It's enough to replace the definition of mpTeXinsert with this: syn region mpTeXinsert start="\(verbatimtex\|btex\)" end="etex" contains=mpTeXbegin,mpTeXend keepend
I think this is fixed in the versions currently in the tree. Please reopen this bug if it isn't.