Added setting for bzr files

This commit is contained in:
Serĉanto de Scio 2018-01-17 16:41:46 +10:00
parent 9b0bc5f034
commit 6f5437b0c6
No known key found for this signature in database
GPG key ID: B41FA6FF04CE4B93

12
.vimrc
View file

@ -134,7 +134,7 @@ function! YAMLSettings()
endfunction
autocmd BufNewFile,BufFilePre,BufRead *.yaml :call YAMLSettings()
" Settings for my Python environment:
" Settings for my Bash environment:
function! BashSettings()
set tabstop=4
set shiftwidth=4
@ -143,3 +143,13 @@ function! BashSettings()
set spell!
endfunction
autocmd BufNewFile,BufFilePre,BufRead *.sh :call BashSettings()
" My Bzr commit environment
function! BzrSettings()
set textwidth=79
set spell spelllang=en_au
set tabstop=4
set shiftwidth=4
set expandtab
endfunction
autocmd BufNewFile,BufFilePre,BufRead bzr_* :call BzrSettings()