diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-09-04 16:37:24 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2022-09-06 07:57:46 +0200 |
commit | 64cc78c9f39b3066b74f01ec7e3f50fd316416e4 (patch) | |
tree | a86e24fca642b4e443219d431e488678c6aae862 /test/functional/treesitter/highlight_spec.lua | |
parent | e85b8aa7681a1870244795cccfbb74b589996eff (diff) | |
download | rneovim-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.lua | 6 |
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:~ }| |