nakst/gf

Incorrect syntax highlighting for preprocessor directives

aolo2 opened this issue · 4 comments

aolo2 commented

It appears all code on the same line as a preprocessor directive is highlighted using the same color. Here's a screenshot with examples of both comments and expressions getting incorrectly colored:
image

s4my commented

@nakst shouldn't this issue be move to the luigi repo ? a quick investigation tells me that the code responsible for this behavior is in https://github.com/nakst/gf/blob/master/luigi2.h#L2555.

nakst commented

The gf repository contains the working copy of the luigi2.h file. I typically only move changes over the luigi repo once they have been tested for a while in gf.

s4my commented

OK got it 👍🏻

s4my commented

@nakst this issue should be closed (fixed in #128), you're welcome 😎