]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Always highlight TODO, FIXME, CHANGED and XXX.
authorSimon Ruderich <simon@ruderich.org>
Tue, 30 Jun 2009 12:32:38 +0000 (14:32 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 30 Jun 2009 12:32:38 +0000 (14:32 +0200)
vimrc

diff --git a/vimrc b/vimrc
index ebb30f56ea74f97dba56795a2da2069677e558ff..66eb955535fc2ab6c8d7849d4bd6459a696f4bb3 100644 (file)
--- 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