feat(treesitter): update C queries from upstream

This commit is contained in:
Christian Clason
2023-08-12 18:12:49 +02:00
parent c3dd84e76f
commit 3836eeb901
3 changed files with 68 additions and 7 deletions

View File

@@ -580,9 +580,9 @@ describe('treesitter highlighting (C)', function()
-- expect everything to have Constant highlight
screen:expect{grid=[[
{12:int}{8: x = INT_MAX;} |
{8:#define READ_STRING(x, y) (char *)read_string((x), (size_t)(y))} |
{8:#define foo void main() { \} |
{8: return 42; \} |
{8:#define READ_STRING(x, y) (}{12:char}{8: *)read_string((x), (}{12:size_t}{8:)(y))} |
{8:#define foo }{12:void}{8: main() { \} |
{8: }{12:return}{8: 42; \} |
{8: }} |
^ |
{1:~ }|