From 7d3824bb003a52eae168e45c616b168a9fd4ecdf Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 7 Sep 2021 07:54:56 +0200 Subject: Try new snippet, try to fix indent problem on yaml files --- init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init.vim') 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 -- cgit v1.2.3