From 850e6eac79251c87e098359a4f086e7d4f5814cc Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 17 Feb 2009 11:50:17 +0100 Subject: [PATCH] Highlight text longer then 78 characters per line. Thanks to Tony Mechelynck. --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.45.2