Disable folding for yaml

Disable fold for yaml files
This commit is contained in:
2025-04-24 19:05:01 -04:00
parent b052f7fa32
commit 9dbe4a87c0

2
.vimrc
View File

@@ -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
" ---------------------------------------------------------------------------------------------------------------------