In my diploma thesis I'm working with supersymmetry spectrum calculation programs (primarily SPheno) which use the SUSY Les Houches Accord (SLHA), defined in arXiv:hep-ph/0311123 and arXiv:0801.0045 [hep-ph], for data input and output. To ease editing input files and reading output files with my favourite text editor Vim, I wrote a corresponding syntax file for the Accord. It is really helpful for preventing spelling errors of block names (which are partially cryptic) and for navigating and extracting numerical data.
To enable syntax highlighting in Vim for the SLHA, download
slha.vim and scripts.vim. Copy slha.vim
into ~/.vim/syntax/ and scripts.vim into ~/.vim/ or if you have already
a scripts.vim file append the content of my file to it. Without further ado
Vim should now highlight SLHA files. Here is the compulsory screenshot:
