From d472da82e27b1da18e87a4b2d1fa4d584fbc8609 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 9 Aug 2022 17:43:57 +0200 Subject: [PATCH] vimrc: set formatting for ft=yaml --- .vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index f627a1c..f2bbbff 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -569,6 +569,9 @@ au BufNewFile,BufRead,BufEnter *.bib \ setlocal ft=bib tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab autoindent \ 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 \ setlocal ft=cs tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent \ textwidth=79 fileformat=unix conceallevel=0