Skip to content
Browse files

enable spell check when writing commit logs

  • Loading branch information...
1 parent 3cc6832 commit b7420f56500984d4e8d133be1e1ba458d981b91c @scrooloose committed Feb 6, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 vimrc
View
3 vimrc
@@ -299,6 +299,9 @@ function! SetCursorPosition()
end
endfunction
+"spell check when writing commit logs
+autocmd filetype svn,*commit* set spell
+
"define :HighlightLongLines command to highlight the offending parts of
"lines that are longer than the specified length (defaulting to 80)
command! -nargs=? HighlightLongLines call s:HighlightLongLines('<args>')

0 comments on commit b7420f5

Please sign in to comment.
Something went wrong with that request. Please try again.