]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: Also highlight REMOVED and DELETED.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index a58741dc7e1877c0e0dbb6f5ee0d68553fb09c80..4b4e03cce905baa65271756daffa7376caaeef0b 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -358,9 +358,11 @@ if has('syntax')
         match Todo /\%>78v./
     endif
 
-" Highlight TODO, FIXME, CHANGED and XXX in all documents.
     if exists('*matchadd')
-        call matchadd('Todo', '\(TODO\|FIXME\|CHANGED\|XXX\)')
+" Highlight some important keywords in all documents.
+        for x in ['TODO', 'XXX', 'FIXME', 'CHANGED', 'REMOVED', 'DELETED']
+            call matchadd('Todo', x)
+        endfor
     endif
 
 " Settings for specific filetypes.