If I add:

  let perl_fold = 1

in ~/.vimrc it works fine, foldmethod is set to syntax and subs are
folded.
If I put that line in ~/.vim/ftplugin/perl.vim instead, subs are not
folded and foldmethod is set to manual, but even if I add
"set foldmethod=syntax" to ftplugin/perl.vim subs are still not folded.
I also tried in /after/ but same result.

Why does it only work when set from ~/.vimrc?

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to