I wrote: >> Here's a syntax file I created for Vim to highlight SpamAssassin >> config files ...
I've since done some major editing, including spell-check on the bits that should have it and better support for languages and other things, plus some bug-fixing of various elements imported from the perl highlighting that I started with as a base. Stefan Luetje wrote: > au BufRead,BufNewFile *.cf,user_prefs setfiletype spamassassin Thanks, Stefan. I'm glad you find the script useful enough to tweak. That line should now look like this: au BufRead,BufNewFile user_prefs,*.cf,*.pre setfiletype spamassassin The updated syntax file is now published at http://www.vim.org/scripts/script.php?script_id=2617 -- Adam Katz khopesh on irc://irc.freenode.net/#spamassassin http://khopesh.com/Anti-spam