Fixed spell check and things for commit messages
This commit is contained in:
parent
5b6acb00ee
commit
b398be2a0a
3
.vimrc
3
.vimrc
@ -50,6 +50,9 @@ function SetGPGOptions()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
|
" To spell check all git commit messages
|
||||||
|
au BufNewFile,BufRead COMMIT_EDITMSG set spelllang=en_us spell nonumber nolist wrap linebreak
|
||||||
|
|
||||||
" Set filetype tab settings
|
" Set filetype tab settings
|
||||||
autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et
|
autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user