aboutsummaryrefslogtreecommitdiff
path: root/test/functional/treesitter/highlight_spec.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-12 18:12:49 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-08-13 12:30:47 +0200
commit3836eeb90182cc610ea15bf6bd83cbc720bb7c64 (patch)
treecec3d59f115c5f90d2932a5d18a105395d55d8cb /test/functional/treesitter/highlight_spec.lua
parentc3dd84e76fd80032f0076b0cb17090bd8f21d2fb (diff)
downloadrneovim-3836eeb90182cc610ea15bf6bd83cbc720bb7c64.tar.gz
rneovim-3836eeb90182cc610ea15bf6bd83cbc720bb7c64.tar.bz2
rneovim-3836eeb90182cc610ea15bf6bd83cbc720bb7c64.zip
feat(treesitter): update C queries from upstream
Diffstat (limited to 'test/functional/treesitter/highlight_spec.lua')
-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:~ }|