]> git.madduck.net Git - etc/vim.git/blobdiff - .vimrc

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
[etc/vim.git] / .vimrc
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>'
+
+match Error /\s\+$/