From: Simon Ruderich Date: Tue, 17 Feb 2009 10:50:17 +0000 (+0100) Subject: Highlight text longer then 78 characters per line. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=850e6eac79251c87e098359a4f086e7d4f5814cc;p=config%2Fdotfiles.git Highlight text longer then 78 characters per line. Thanks to Tony Mechelynck. --- diff --git a/vimrc b/vimrc index 631c844..985042c 100644 --- a/vimrc +++ b/vimrc @@ -147,6 +147,14 @@ endif " Activate syntax coloring. syntax enable +" Highlight text longer then 78 characters. Thanks to Tony Mechelynck +" from the Vim mailing list. +if v:version >= 700 + 2match Todo /\%>78v./ +else + match Todo /\%>78v./ +endif + " PLUGIN SETTINGS