Added setting for bzr files
This commit is contained in:
parent
9b0bc5f034
commit
6f5437b0c6
12
.vimrc
12
.vimrc
|
@ -134,7 +134,7 @@ function! YAMLSettings()
|
||||||
endfunction
|
endfunction
|
||||||
autocmd BufNewFile,BufFilePre,BufRead *.yaml :call YAMLSettings()
|
autocmd BufNewFile,BufFilePre,BufRead *.yaml :call YAMLSettings()
|
||||||
|
|
||||||
" Settings for my Python environment:
|
" Settings for my Bash environment:
|
||||||
function! BashSettings()
|
function! BashSettings()
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
@ -143,3 +143,13 @@ function! BashSettings()
|
||||||
set spell!
|
set spell!
|
||||||
endfunction
|
endfunction
|
||||||
autocmd BufNewFile,BufFilePre,BufRead *.sh :call BashSettings()
|
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()
|
||||||
|
|
Loading…
Reference in a new issue