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?

Thanks.

Laurence

On Mar 3, 4:03 am, "John Beckett" <[email protected]> wrote:
> Laurence wrote:
> > A while back I used vi on linux to edit all the matlab code.  
> > I was able to open and fold 'for loops' and search for the
> > beginning and ends of loops.
>
> I'm not recommending this, but there may be a clue 
> in:http://vim.wikia.com/wiki/Run_Matlab_script_under_Windows
>
> First step, when editing a matlab file, would be to enter:
>
>   :set ft?
>   :filetype
>
> to see what Vim thinks your filetype is, and what you have switched on.
>
> John
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to