From 74aff9e33024011449e14e562e517f0447460d8a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 30 Oct 2009 23:04:57 +0100 Subject: [PATCH] vimrc: Fix detection of matchadd() support. --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 42b0eee..98009b8 100644 --- a/vimrc +++ b/vimrc @@ -205,7 +205,7 @@ if has('syntax') endif " Highlight TODO, FIXME, CHANGED and XXX in all documents. - if v:version >= 701 && has('patch40') + if v:version > 701 || (v:version == 701 && has('patch42')) call matchadd('Todo', '\(TODO\|FIXME\|CHANGED\|XXX\)') endif endif -- 2.45.2