diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2018-08-20 22:41:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-20 22:41:24 +0200 |
| commit | 751c35d41b9ead471518938aeddbc98f0def65f2 (patch) | |
| tree | d87134769682b8f517ef735b8bfbc14da85caa31 /test/functional/legacy/003_cindent_spec.lua | |
| parent | 768bc68d7eebbdb63a80c6cc3d81152cce755111 (diff) | |
| parent | 96035a8343eadd2aa09284b58ee8147070e8d571 (diff) | |
| download | rneovim-751c35d41b9ead471518938aeddbc98f0def65f2.tar.gz rneovim-751c35d41b9ead471518938aeddbc98f0def65f2.tar.bz2 rneovim-751c35d41b9ead471518938aeddbc98f0def65f2.zip | |
Merge #8872 from janlazo/vim-8.0.0762
Diffstat (limited to 'test/functional/legacy/003_cindent_spec.lua')
| -rw-r--r-- | test/functional/legacy/003_cindent_spec.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/functional/legacy/003_cindent_spec.lua b/test/functional/legacy/003_cindent_spec.lua index 1cede8a7d7..061904c42f 100644 --- a/test/functional/legacy/003_cindent_spec.lua +++ b/test/functional/legacy/003_cindent_spec.lua @@ -4754,4 +4754,21 @@ describe('cindent', function() 4 /* end of define */]=]) end) + + it('* immediately follows comment / vim-patch 8.0.1291', function() + insert_([=[ + { + a = second/*bug*/*line; + }]=]) + + feed_command('set cin cino&') + feed_command('/a = second') + feed('ox') + + expect([=[ + { + a = second/*bug*/*line; + x + }]=]) + end) end) |
