From 0380eba019542eabaa5979cf88fe24ed7573a54f Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Sat, 12 Oct 2019 21:07:45 +0200 Subject: [PATCH] .vimrc: use 2 spaces to indent yaml files --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index 59b9ae8..3502e27 100644 --- a/.vimrc +++ b/.vimrc @@ -25,6 +25,7 @@ set softtabstop=4 " Indentation for Python (use 4 spaces) "autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4 +autocmd FileType yml,yaml setlocal ts=2 sts=2 sw=2 expandtab " Indentation (don't remove tabs from empty lines) "inoremap x