]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

flag trailing spaces as errors
authormartin f. krafft <madduck@madduck.net>
Tue, 7 Jul 2009 18:33:52 +0000 (20:33 +0200)
committermartin f. krafft <madduck@madduck.net>
Tue, 7 Jul 2009 18:33:52 +0000 (20:33 +0200)
.vim/colors/madduck.vim
.vimrc

index 6d62396d41b2e53da38298e3fd76189056942899..3947d39494c6d7c17ab37127e55dfd1089ac1b21 100644 (file)
@@ -56,7 +56,7 @@ else
   hi mailQuoted5            ctermfg=darkmagenta
   hi mailQuoted6            ctermfg=darkgreen
 
   hi mailQuoted5            ctermfg=darkmagenta
   hi mailQuoted6            ctermfg=darkgreen
 
-  hi Error      ctermfg=White       ctermbg=Red     cterm=reverse   term=reverse
+  hi Error     ctermfg=White       ctermbg=Red     cterm=none   term=none
   hi Todo      ctermfg=Black       ctermbg=Yellow  cterm=standout  term=standout
 
   hi SpellBad          ctermfg=white   ctermbg=darkred cterm=none      term=reverse
   hi Todo      ctermfg=Black       ctermbg=Yellow  cterm=standout  term=standout
 
   hi SpellBad          ctermfg=white   ctermbg=darkred cterm=none      term=reverse
diff --git a/.vimrc b/.vimrc
index 176cf78195cdeadea563c275c9f700251b177a2a..209d079b4bb90c9b6b9880091e7fb0d3a9d262f8 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1517,3 +1517,5 @@ source $HOME/.vim/macros/table.vim
 
 let g:SuperTabMappingForward = '<nul>'
 let g:SuperTabMappingBackward = '<s-nul>'
 
 let g:SuperTabMappingForward = '<nul>'
 let g:SuperTabMappingBackward = '<s-nul>'
+
+match Error /\s\+$/