1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Force markdown & YAML formatting rules globally

This commit is contained in:
Joe Groocock 2017-11-10 12:47:10 +00:00
parent 456a290860
commit 1eeab5a436
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

3
.vimrc
View File

@ -180,3 +180,6 @@ com Wq wq
com WQ wq com WQ wq
" Write with sudo " Write with sudo
cmap w!! w !sudo tee > /dev/null % cmap w!! w !sudo tee > /dev/null %
autocmd FileType markdown setlocal ts=2 sts=2 sw=2 et
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 et