Hi Eddie, On Tue, Feb 6, 2018 at 7:06 PM, Eddie Lebow <[email protected]> wrote: > This allows cscope add to take a variable name prefixed with & instead of a > literal file path. It is useful, for example, in conjunction with glob() to > locate the cscope file in a project. >
Can you achieve the same result using: :exe "cscope add " . file - Yegappan > > The leading & may be unusual, but it follows the behavior in dereferencing > options as variables, and should minimize impact to existing users. > > Apologies if this feature is already present in vim; I could not find a way > to accomplish it. > > ________________________________ > > You can view, comment on, or merge this pull request online at: > > https://github.com/vim/vim/pull/2620 > > Commit Summary > > Allow `cscope add` to take a variable name > > File Changes > > M src/if_cscope.c (8) > M src/testdir/test_cscope.vim (12) > > Patch Links: > > https://github.com/vim/vim/pull/2620.patch > https://github.com/vim/vim/pull/2620.diff > -- -- You received this message from the "vim_dev" 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
