diff options
author | ckelsel <ckelsel@hotmail.com> | 2017-10-09 21:17:15 +0800 |
---|---|---|
committer | ckelsel <ckelsel@hotmail.com> | 2017-10-09 21:17:15 +0800 |
commit | 2abd939daeb550e745ba3e6572fae24aff105ef9 (patch) | |
tree | 9850ffe239203a5b980ef16a41e2dd9669b0f2a1 /test/functional/legacy/003_cindent_spec.lua | |
parent | 5d369ad3843bbc0a3541827284f55430ec4f46e4 (diff) | |
parent | ceb40c0411843b35005f019bf2c61f22572afcdf (diff) | |
download | rneovim-2abd939daeb550e745ba3e6572fae24aff105ef9.tar.gz rneovim-2abd939daeb550e745ba3e6572fae24aff105ef9.tar.bz2 rneovim-2abd939daeb550e745ba3e6572fae24aff105ef9.zip |
Merge branch 'master' of github.com:ckelsel/neovim into vim-8.0.0101
Diffstat (limited to 'test/functional/legacy/003_cindent_spec.lua')
-rw-r--r-- | test/functional/legacy/003_cindent_spec.lua | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/functional/legacy/003_cindent_spec.lua b/test/functional/legacy/003_cindent_spec.lua index 202baadd4c..58e87354fb 100644 --- a/test/functional/legacy/003_cindent_spec.lua +++ b/test/functional/legacy/003_cindent_spec.lua @@ -4718,4 +4718,38 @@ describe('cindent', function() JSEND ]=]) end) + + it('line continuations in macros / vim-patch 8.0.0148', function() + insert_([=[ + /* start of define */ + { + } + #define AAA \ + BBB\ + CCC + + #define CNT \ + 1 + \ + 2 + \ + 4 + /* end of define */]=]) + + feed_command('set cino&') + feed_command('/start of define') + feed('=/end of define<cr>') + + expect([=[ + /* start of define */ + { + } + #define AAA \ + BBB\ + CCC + + #define CNT \ + 1 + \ + 2 + \ + 4 + /* end of define */]=]) + end) end) |