SVN syntax and adding "contains" to existing match

3 views
Skip to first unread message

A. S. Budden

unread,
Jul 30, 2008, 6:53:12 AM7/30/08
to vim...@googlegroups.com, Dmitry Vasiliev
Dear all (and Dmitry in particular),

Regarding the SVN syntax file, can I suggest a minor modification?
Would it be a good idea to add contains=@NoSpell onto the syn
\(match\|region\) lines so that spell checking can be done on the log
entry without also highlighting all the filenames that aren't real
words?

On a similar note, is it possible to have an entry in
~/.vim/after/syntax/*.vim that will take an existing match from the
core syntax files and add the contains=@NoSpell on without completely
redefining the whole syntax in ~/.vim/syntax/*.vim?

Cheers,

Al

Reply all
Reply to author
Forward
0 new messages