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:37:49 +0100
commit98097d72eee02438f9efc268e921ea26c803c40b (patch)
tree8f1acd8e67382c755d14e7a37709bacf2e4340dc
parentb3d288597a62587a88b46545fb3d43184cd2f385 (diff)
vimrc: configure for YAML filesv0.4.1
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..0c71927 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 expandtab
+au filetype yaml setlocal shiftwidth=8
+au filetype yaml setlocal softtabstop=8
+au filetype yaml setlocal tabstop=8