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. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
