> On Nov 21, 2022, at 3:15 AM, Theodor Thornhill <theo@thornhill.no> wrote: > >>> >>> On Nov 16, 2022, at 12:58 PM, Yuan Fu <casouri@gmail.com> wrote: >>> >>>>> >>>>> :language mode >>>>> :override t >>>>> :feature 'statement >>>>> '((expression_statement (identifier) @font-lock-variable-name-face) >>>>> (labeled_statement >>>>> label: (statement_identifier) @font-lock-type-face)) >>>>> >>>> >>>> stuff like: >>>> ``` >>>> add_edge: // <- this thing >>>> gx += WINDOW_LEFT_EDGE_X (w); >>>> gy += WINDOW_TOP_EDGE_Y (w); >>>> >>>> store_rect: // <- and this thing >>>> STORE_NATIVE_RECT (*rect, gx, gy, width, height); >>>> >>>> ``` >>> >>> Whatâs the intention of this query? >>> >>> (expression_statement (identifier) @font-lock-variable-name-face) >>> >>> It seems to match statements like >>> >>> var; >>> >>> ? >>> >>> Yuan >> >> You probably missed this message, ping :-) >> > > Yeah, sorry! I think it can be removed. I really don't remember why I > made that... > > I added the fix in a patch, and also fixed a typo (I think that messed > up some fontlocking in c-ts-mode) as an apology :-) > > Theo Thanks! Though I made those changes before I got to the patch. Patch appreciated :-) Yuan
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4