Disable folding for yaml
Disable fold for yaml files
This commit is contained in:
2
.vimrc
2
.vimrc
@@ -385,7 +385,7 @@ autocmd FileType netrw setl bufhidden=delete
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> yaml stuff (https://lornajane.net/posts/2018/vim-settings-for-working-with-yaml)
|
||||
"
|
||||
autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
||||
autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=manual
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user