5 syn match puppetBadWhitespace /^ \+/ " leading spaces
6 syn match puppetBadWhitespace /\s\+$/ " trailing whitespace
7 syn match puppetBadWhitespace /[^\t]\zs\t\+/ " embedded tab
8 syn match puppetBadWhitespace /\t\zs \+/ " space(s) following tab
9 highlight puppetBadWhitespace ctermbg=red guibg=red
11 " Spellcheck in comments.
13 syn match puppetComment "\s*#.*$" contains=puppetTodo,@Spell
14 syn region puppetComment start="/\*" end="\*/" contains=puppetTodo,@Spell extend
16 " Play nicely with ctags.
17 setlocal iskeyword=@,48-57,_,:,- " not strictly valid but required
18 setlocal tags=~/Projects/puppet/tags " you probably need to change this