On 12/02/2021, Jason Hood wrote:
So I have recently got to try GNU Global for a project I got to work on (a
Windows kernel driver) and it seems like pygments get's confused about the
function definitions.
Actually, pygments only finds references, the parser uses ctags to find
definitions.
GTAGSLABEL=pygments
GTAGSFORCECPP=1
As I just explained in another message, you should not use GTAGSFORCECPP in
this case.
Using Universal Ctags I could "set CTAGS=-D _IRQL_requires_max_()=" (I'm on
Windows), which would then use foo as the definition.
--
Jason.
Hi Jason thank you for the fast reply, that really resolved the issue
and I removed the GTAGSFORCECPP and just move the .h from langmap of C
to C++ in my globalrc (otherwise class definitions are not being
matched)
Thanks,
-- Jon.