Indents for sh-files added
This commit is contained in:
parent
f5478c7cb9
commit
826a49cd27
7
.vimrc
7
.vimrc
|
@ -33,6 +33,12 @@ function! CppIndent()
|
||||||
setlocal noexpandtab
|
setlocal noexpandtab
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
" Setup for the Sh coding format standard
|
||||||
|
function! ShIndent()
|
||||||
|
setlocal shiftwidth=4
|
||||||
|
setlocal tabstop=4
|
||||||
|
setlocal noexpandtab
|
||||||
|
endfunction
|
||||||
|
|
||||||
" Setup for the Vala coding format standard
|
" Setup for the Vala coding format standard
|
||||||
function! ValaIndent()
|
function! ValaIndent()
|
||||||
|
@ -42,6 +48,7 @@ endfunction
|
||||||
au FileType c call GnuIndent()
|
au FileType c call GnuIndent()
|
||||||
au FileType cpp call CppIndent()
|
au FileType cpp call CppIndent()
|
||||||
au FileType vala,vapi call ValaIndent()
|
au FileType vala,vapi call ValaIndent()
|
||||||
|
au FileType sh call ShIndent()
|
||||||
|
|
||||||
" отключение бэкапов
|
" отключение бэкапов
|
||||||
set nobackup
|
set nobackup
|
||||||
|
|
Loading…
Reference in New Issue