From: Simon Ruderich Date: Tue, 30 Jun 2009 12:32:38 +0000 (+0200) Subject: vimrc: Always highlight TODO, FIXME, CHANGED and XXX. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1d0b9387bb8e193903ef42c5bf2c187b19c3a0a6;p=config%2Fdotfiles.git vimrc: Always highlight TODO, FIXME, CHANGED and XXX. --- 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