Sorry, I think my test case is probably not showing the misbehaviour I am hunting for. When I change
augroup filetypedetect
au BufRead,BufNewFile *.txt setfiletype txt
augroup END
to
augroup filetypedetect
au BufRead,BufNewFile,BufEnter *.txt setfiletype txt
augroup END
then folding is o.k. in both cases.
Felix
--
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
