bug-global
[Top][All Lists]
Advanced

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

Re: pygments with Windows function prototypes


From: Jon Doron
Subject: Re: pygments with Windows function prototypes
Date: Fri, 12 Feb 2021 17:43:02 +0200

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.



reply via email to

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