Laurence wrote: > Hi, I tried your commands and got: > > filetype=matlab > filetype detection: ON plugin: ON indent:ON > > So I think vim is choosing the correct file for matlab. > > But folding still doesn't work. > > Anyone have any ideas? > What type of folding are you attempting to do? In particular, are you trying :set fdm=syntax ? If so, please look at .../syntax/matlab.vim, the syntax highlighting file for matlab. Do a search for "fold". You'll find that there is no folding specifier in the syntax file, and so syntax-based folding is not available for matlab. Manual folding and marker-based folding is still available (as they're independent of syntax-based folding).
Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
