From 6f5437b0c6c2085a4e7313fcc3c31e40c98db83f Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 17 Jan 2018 16:41:46 +1000 Subject: [PATCH] Added setting for bzr files --- .vimrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 1ca3709..d88cd55 100644 --- a/.vimrc +++ b/.vimrc @@ -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()