vimrc: set formatting for ft=yaml
This commit is contained in:
parent
7c5b576eb1
commit
d472da82e2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user