Thursday, January 28, 2010

Re: how to use string variable for "cs add" command

On Thursday 28 January 2010 09:31:07 pm Ni, Ruiyu wrote:

> Thanks pansz!
> It works!!
>
> But I found ctags cannot work as well.
>
> let CodeRoot = "E:/code"
> let TagsDb = CodeRoot . "/tags"
>
> use
> exe "set tags = " . TagsDb
> or
> set tags = TagsDb
>
> both cannot work. Do you have any idea? Thanks in advance!

from

:help set

i see "White space between '=' and {value} is not allowed." -- so
you should probably try

exe "set tags=" . TagsDb

sc

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

No comments: