bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gtags argument forwarding to plugins


From: Sundaram
Subject: Re: Gtags argument forwarding to plugins
Date: Fri, 28 Aug 2020 13:57:19 +0000 (UTC)

Hi
Thanks for the prompt reply!

Sure, `UNIVERSAL_CTAGS_OPTIONS` works.  Another option might be to make it `GTAGS_PLUGIN_OPTIONS` and pass it on to whatever is the current plug-in when invoking it.  It'll work for any plug-in e.g. Universal Ctags, Pygments, etc.

Thank you!

On Thursday, 27 August, 2020, 5:08:46 pm IST, Shigio YAMAGUCHI <shigio@gnu.org> wrote:


Hello,
> This feature will be a useful addition to avoid issues like this.

I agree with you. It's very useful.
How about adding the following environment variable?

UNIVERSAL_CTAGS_OPTIONS

I will add this feature.
Thank you for your request!

Regards,
Shigio

2020年8月26日(水) 21:34 Sundaram <legends2k@yahoo.com>:
>
> Hi
> I use Global with Universal Ctags plug-in to index C++ code. Universal Ctags has command line arguments to skip or define macros (-I or -D).
> However, Gtags is used to invoke ctags internally, is there any way to forward arguments from gtags to ctags or a plug-in in general? Is there an environmental variable which does that? I went through Global’s manually thoroughly but couldn’t find anything. I think GTAGS_OPTIONS is only to give it to gtags not to the underlying plug-in/parser.
> This feature will be a useful addition to avoid issues like this.
>
> What is your environment (OS)?
>
> Linux and macOS.
>
> Which version of GLOBAL are you using?
>
> 6.6.4
>
> Thanks!
> Sundaram




--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB

reply via email to

[Prev in Thread] Current Thread [Next in Thread]