diff --git a/configs/.vim/ftplugin/c/folding.vim b/configs/.vim/ftplugin/c/folding.vim index 1a0e940..5bfaf9d 100644 --- a/configs/.vim/ftplugin/c/folding.vim +++ b/configs/.vim/ftplugin/c/folding.vim @@ -1,5 +1,5 @@ -setlocal foldmethod=expr -setlocal foldexpr=SectionFold(v:lnum) +setlocal foldmethod=syntax + setlocal foldtext=SectionText() setlocal foldcolumn=4