aboutsummaryrefslogtreecommitdiffstats
path: root/init.vim
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-09-07 08:01:44 +0200
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-09-07 08:01:44 +0200
commitb8d7f83d8b902b136ea505bbe21a17cc4958087a (patch)
tree4e253f73cb02676f23ba0656609f82543e4affbd /init.vim
parent3706c4f276cb17ef9f810a3348e7566d92415e55 (diff)
parent7d3824bb003a52eae168e45c616b168a9fd4ecdf (diff)
downloadnvim-conf-b8d7f83d8b902b136ea505bbe21a17cc4958087a.tar.gz
nvim-conf-b8d7f83d8b902b136ea505bbe21a17cc4958087a.zip
Merge branch 'main' of github.com:adalessa/dotfiles
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