aboutsummaryrefslogtreecommitdiff
path: root/test/functional/treesitter/highlight_spec.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-04 16:37:24 +0200
committerChristian Clason <c.clason@uni-graz.at>2022-09-06 07:57:46 +0200
commit64cc78c9f39b3066b74f01ec7e3f50fd316416e4 (patch)
treea86e24fca642b4e443219d431e488678c6aae862 /test/functional/treesitter/highlight_spec.lua
parente85b8aa7681a1870244795cccfbb74b589996eff (diff)
downloadrneovim-64cc78c9f39b3066b74f01ec7e3f50fd316416e4.tar.gz
rneovim-64cc78c9f39b3066b74f01ec7e3f50fd316416e4.tar.bz2
rneovim-64cc78c9f39b3066b74f01ec7e3f50fd316416e4.zip
feat(treesitter): add injections
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 5a1081592e..5e38a8c2df 100644
--- a/test/functional/treesitter/highlight_spec.lua
+++ b/test/functional/treesitter/highlight_spec.lua
@@ -579,9 +579,9 @@ describe('treesitter highlighting', function()
-- expect everything to have Error highlight
screen:expect{grid=[[
{12:int}{8: x = INT_MAX;} |
- {8:#define READ_STRING(x, y) (char_u *)read_string((x), (size_t)(y))}|
- {8:#define foo void main() { \} |
- {8: return 42; \} |
+ {8:#define READ_STRING(x, y) (}{12:char_u}{8: *)read_string((x), (}{12:size_t}{8:)(y))}|
+ {8:#define foo }{12:void}{8: main() { \} |
+ {8: }{12:return}{8: 42; \} |
{8: }} |
^ |
{1:~ }|