Thanks for your replay.
I put my ctags.exe in windows/system32, so we can use ctags.exe in console .
I will run the :":echo substitute($PATH, ';', ',', 'g')" in Monday.

Best Regards.


2009/9/12 A. S. Budden <[email protected]>

>
> 2009/9/11 Matt Wozniski <[email protected]>:
> >
> > Please bottom post (post replies below the quoted message) on this list.
> > I've reformatted your message accordingly.
> >
> > stone wrote:
> >> "A. S. Budden" wrote:
> >>> stone wrote:
> >>>
> >>> > Hi. vim_use
> >>> > I use GVIM in windows to edit C/C++ program,
> >>> > But the MACRO and ENUM I have defined can not highlight.
> >>>
> >>> > I have set the : sy on and sy enable in my vimrc file.
> >>>
> >>> There's no built in support for highlighting your own macros and enums
> >>> etc.  Have a look at my plugin
> >>> (
> http://sites.google.com/site/abudden/contents/Vim-Scripts/ctags-highl...),
> >>> which adds this feature (using ctags).  If you have any problems
> >>> getting it setup, please let me know.
> >>
> >> Very Thanks.
> >>
> >> Your plugin is the one which I want.
> >> I have download the ctags-highlight plugin.
> >>
> >> But , when I input the command: UpdateTypeFile.
> >>
> >> There are some errors like:
> >>
> >> Error detected while processing function UpdateTypesFile:
> >> line 23:
> >> E684: list index out of range: 0
> >> E15: Invalid expression: split(globpath(&rtp,"ctags.exe"))[0]
> >> line 29:
> >> E605: Exception not caught: Cannot find ctags
> >>
> >> what this means?
> >
> > This means that the plugin isn't looking for ctags.exe in PATH (which
> > may be a bug?).  Instead, it's looking in &runtimepath.  Try running the
> > command
> >
> >  :set runtimepath?
> >
> > to see the list of directories that the plugin is looking in to find
> > ctags.exe, and put it in one of those directories (probably
> > $HOME/vimfiles is the best choice).
> >
> >> I use Gvim 7.2 in windows XP. and I have put ctags.exe in c:\Windows
> >> \System32, so I can use ctags in command console.
>
> The plugin looks first for ctags.exe in the path and if it doesn't
> find it there, it looks in the runtimepath.
>
> I have ctags.exe installed in the \vim\vimfiles directory (so that it
> works if I copy it to a USB stick and I don't have to put ctags on the
> path of every machine I use) and it's been while since I tested it
> with ctags in a normal path.  I won't have access to a Windows machine
> until Monday, but I'll do some more testing when I'm there and will
> make sure that this works correctly.
>
> As an aside, the fact that the exception isn't caught is a bug (and a
> simple one to fix), but I'm surprised it doesn't find ctags in the
> path if it's in C:\Windows\System32.
>
> If you could let me know the output of:
>
> :echo substitute($PATH, ';', ',', 'g')
>
> then I can probably work out what's happening a bit quicker.
>
> Al
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to