Hi All-
I had problems to make taglist work with matlab (.m) files.
I'm running vim under Cygwin, with exuberant ctags version 5.8 compiled. They
work perfectly together with taglist plugin for all other supported file-types:
C++, java, vim...... except matlab.
Matlab files should be now supported by the newly released ctags ver. 5.8, and I
can verify this by running the following ctags command on a matlab source file,
say, "kuchange.m":
ctags -f - --format=2 --excmd=pattern --fields=nks kuchange.m
which generates output tags like:
EnergyLevel kuchange.m /^function Em=EnergyLevel(lori,kori,aori,bori)$/;"
f line:83
......
......
The problem is, when I edit "kuchang.m" in vim, and load the taglist sidebar, no
tags are shown in the taglist sidebar, not even the filename "kuchange.m".
Also, in vim the ":set ft ?" command outputs "filetype=matlab". That means vim
does recognize its filetype as "matlab".
I'm really confused with which step goes wrong. I would appreciate it if
anybody could give some hints.
--Hui
BTW: I came across a similar problem mentioned recently in this mailing list,
with only filenames shown in the taglist sidebar. This problem appeared when
using downloaded ctags win32-executable directly. It's gone after I downloaded
ctags source code and use the executable compiled under Cygwin.