vimrc: set formatting for ft=yaml

This commit is contained in:
surtur 2022-08-09 17:43:57 +02:00
parent 7c5b576eb1
commit d472da82e2
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -569,6 +569,9 @@ au BufNewFile,BufRead,BufEnter *.bib
\ setlocal ft=bib tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab autoindent \ setlocal ft=bib tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab autoindent
\ fileformat=unix conceallevel=0 \ fileformat=unix conceallevel=0
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab indentkeys-=0#
\ indentkeys-=<:> foldmethod=indent nofoldenable
au BufNewFile,BufRead,BufEnter *.cs au BufNewFile,BufRead,BufEnter *.cs
\ setlocal ft=cs tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent \ setlocal ft=cs tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent
\ textwidth=79 fileformat=unix conceallevel=0 \ textwidth=79 fileformat=unix conceallevel=0