MHEG VIM Syntax script

screenshot of script in action

If you want to highlight MHEG-5 (UK profile) files in VIM, here is a syntax script!

How to install (*nix)

  1. Copy the mheg.vim file to your ~/.vim/syntax/ directory.
  2. Add "autocmd BufReadPost *.mhg set syntax=mheg" to your ~/.vimrc file.
  3. Open a .mhg file - you should see it highlighted.

Downloads

This file is hosted on VIM.org.


Leave a comment

Your email address will not be published.
CAPTCHA

Previous comments

  1. TellyH says:
    2011-04-04 13:11:00.279162 (46)

    Perfect for inspecting MHEG files downloaded 'off the air' so to speak!