Open folds by default

This commit is contained in:
sonny 2020-07-25 00:27:08 +02:00
parent 27c5ae35de
commit b8ed14cf46

View file

@ -35,6 +35,9 @@ set hidden
autocmd Filetype python,bash,sh,java,php,json setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix autocmd Filetype python,bash,sh,java,php,json setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
autocmd Filetype css,scss,html,htmldjango,javascript,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent autocmd Filetype css,scss,html,htmldjango,javascript,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
" open folds by default
autocmd Syntax * normal zR
" fold indents " fold indents
set foldmethod=indent set foldmethod=indent