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.


This file is hosted on

Leave a comment

Your email address will not be published.

Previous comments

  • TellyH posted 2011-04-04 13:11:00.279162 (46)

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