Thanks. What's your $VIM and $HOME? Can you put your c-support in $HOME\vimfiles\c-support ?
On 8月13日, 下午11时41分, Jeri Raye <[email protected]> wrote: > On Fri, Aug 13, 2010 at 2:19 PM, winterTTr <[email protected]> wrote: > > On 13 August 2010 18:57, eliweiq001 <[email protected]> wrote: > > >> I use gvim in windows. > >> C.VIM has a folder named "c-support". > > >> This folder can only be put in $VIM\vimfiles\ in my compter. > > >> If I put this folder in $HOME\vimfiles\ or $HOME\.vim\ , when start > >> gvim it will pop-up a messagebox says that "C/C++ template file 'D: > >> \gVimPortable\App\vim\vimfiles\c-support/templates/Templates' does not > >> exist or is not readable". > > I use it too. > The c-support directory is located on my machine here: > C:\Program Files\Vim\vimfiles\c-support > > The c.vim plugin is here: > C:\Program Files\Vim\vimfiles\plugin > > If you look into this c.vim file you see a line as such: > > let s:C_GlobalTemplateFile = s:plugin_dir.'c-support/templates/Templates' > and also: > let s:C_LocalTemplateFile = $HOME.'/.vim/c-support/templates/Templates' > > Although not recommended, you can change these paths. > Maybe that solves your problem. > > HTH, > Rgds, > Jeri -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
