Hi, [email protected] wrote: >>> Do your folds exist but refuse to close? >>> Or are they gone entirely? >> >> I work without foldcolumn -- so next time it occurs I'll try to enable >> it on the fly and see if they are gone or just refuse to work. > > The problem occured again. > > FYI: When foldcolumn is displayed in this case: There are NO folds in > it anymore. > > But some breaking news: I have foldmethod=marker by default, and > foldmethod=syntax in ~/.vim/ftplugin/c.vim. And I found out that the > whole c ftplugin is NOT EXECUTED in this sitution. In fact, when I do > set folmethod? it shows 'marker' instead of 'syntax'. > > (a) So the question behind all this is: Why is ftplugin/c.vim not > executed (although set filetype? shows 'c'). > (b) Why does this happen only sometimes? > > ---- my ~/.vim/ftplugin.c basically contains this:------
is this really the name of your filetype plugin. It should be ~/.vim/ftplugin/c.vim Regards, Jürgen -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin) -- 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
