aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-13 18:19:01 +0200
committerGitHub <noreply@github.com>2023-08-13 18:19:01 +0200
commit11590543ebad593b9f6d1434b71f019d042cb5d5 (patch)
treed04f3ab913d8ef5c1fe5082fda8b5654ed7b777d /test
parent017ff93b020e1915d03d9a2dd9a895613148f181 (diff)
parent3836eeb90182cc610ea15bf6bd83cbc720bb7c64 (diff)
downloadrneovim-11590543ebad593b9f6d1434b71f019d042cb5d5.tar.gz
rneovim-11590543ebad593b9f6d1434b71f019d042cb5d5.tar.bz2
rneovim-11590543ebad593b9f6d1434b71f019d042cb5d5.zip
Merge pull request #24681 from clason/update-c
feat(treesitter): update C parser and queries
Diffstat (limited to 'test')
-rw-r--r--test/functional/treesitter/highlight_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/treesitter/highlight_spec.lua b/test/functional/treesitter/highlight_spec.lua
index dc303c564f..c88c5cd3e5 100644
--- a/test/functional/treesitter/highlight_spec.lua
+++ b/test/functional/treesitter/highlight_spec.lua
@@ -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:~ }|