aboutsummaryrefslogtreecommitdiffstats
path: root/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.vim b/init.vim
index ac7d597..b8b44f3 100644
--- a/init.vim
+++ b/init.vim
@@ -28,5 +28,9 @@ augroup fmtphp
autocmd BufWritePre *.php undojoin | Neoformat
augroup END
+filetype plugin indent on
+autocmd FileType yaml setl indentkeys-=<:>
+autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
+
" Has to be the last line for the .nvimrc per project
set secure