aboutsummaryrefslogtreecommitdiffstats
path: root/init.vim
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-09-07 07:54:56 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-09-07 07:55:57 +0200
commit7d3824bb003a52eae168e45c616b168a9fd4ecdf (patch)
tree2e341ef0df4e18c8e49d4c6951b12e5c2ae19856 /init.vim
parent1916464871c221291edd6ea315dbf0c761693029 (diff)
downloadnvim-conf-7d3824bb003a52eae168e45c616b168a9fd4ecdf.tar.gz
nvim-conf-7d3824bb003a52eae168e45c616b168a9fd4ecdf.zip
Try new snippet, try to fix indent problem on yaml files
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