From 1d0b9387bb8e193903ef42c5bf2c187b19c3a0a6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 30 Jun 2009 14:32:38 +0200 Subject: [PATCH] vimrc: Always highlight TODO, FIXME, CHANGED and XXX. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrc b/vimrc index ebb30f5..66eb955 100644 --- a/vimrc +++ b/vimrc @@ -200,6 +200,11 @@ if has('syntax') else match Todo /\%>78v./ endif + +" Highlight TODO, FIXME, CHANGED and XXX in all documents. + if v:version >= 701 && has('patch40') + call matchadd('Todo', '\(TODO\|FIXME\|CHANGED\|XXX\)') + endif endif -- 2.45.2