Added yaml settings

This commit is contained in:
Serĉanto de Scio 2018-01-08 06:40:43 +10:00
parent 6c607af457
commit d21f8ce26c
No known key found for this signature in database
GPG key ID: B41FA6FF04CE4B93

8
.vimrc
View file

@ -125,3 +125,11 @@ function! CSettings()
endfunction
autocmd BufNewFile,BufFilePre,BufRead *.c :call CSettings()
" Settings for my YAML environment:
function! YAMLSettings()
set tabstop=2
set shiftwidth=2
set expandtab
set textwidth=79
endfunction
autocmd BufNewFile,BufFilePre,BufRead *.yaml :call YAMLSettings()