Skip to content
Browse files

use setlocal when setting spell in commit buffers

  • Loading branch information...
1 parent 3ba550d commit b6668d7ff6cddbf73609e5c981e56a425c04c070 @scrooloose committed May 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 vimrc
View
2 vimrc
@@ -315,7 +315,7 @@ function! SetCursorPosition()
endfunction
"spell check when writing commit logs
-autocmd filetype svn,*commit* set spell
+autocmd filetype svn,*commit* setlocal spell
"http://vimcasts.org/episodes/fugitive-vim-browsing-the-git-object-database/
"hacks from above (the url, not jesus) to delete fugitive buffers when we

0 comments on commit b6668d7

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