nvim-treesitter/queries/c
Gregory Anders 27f5e99cdd c: don't treat uppercase functions as constants
A macro function such as

    #define FOO(x) ...

should be highlighted with @function.macro, even though the name is in
all-caps (which would otherwise be treated as a constant). Similarly,
call sites of such functions, e.g.

    int y = FOO(x);

should be highlighted with @function instead of @constant.

This is as simple as moving the query definition for macro functions
after the query definition for constants.
2021-07-18 16:44:40 +00:00
..
folds.scm c(folds): fold on enums 2021-07-14 23:00:14 +02:00
highlights.scm c: don't treat uppercase functions as constants 2021-07-18 16:44:40 +00:00
indents.scm indents(c/cpp): let C++ use the C indents and add class_specifier 2021-05-20 19:37:42 +02:00
injections.scm Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
locals.scm C: add goto to locals 2021-01-22 20:19:43 +01:00