summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-03-20 01:36:08 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2021-03-20 01:36:08 +0100
commit1d79558db5a53ec7b27e5289956d717f881b81e2 (patch)
treea3236428c4663907e02450bfba1133878b57750f
parentb3d288597a62587a88b46545fb3d43184cd2f385 (diff)
vimrc: configure for YAML filesv0.4.0
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--home/user/.vimrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/home/user/.vimrc b/home/user/.vimrc
index a26efd9..cf88e34 100644
--- a/home/user/.vimrc
+++ b/home/user/.vimrc
@@ -22,7 +22,8 @@ set indentexpr=
filetype indent off
filetype plugin indent off
-
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" End of file "
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" YAML only works with spaces :(
+au filetype yaml setlocal tabstop=8
+au filetype yaml setlocal expandtab
+au filetype yaml setlocal shiftwidth=8
+au filetype yaml setlocal softtabstop=8