diff options
author | KunMing Xie <qqzz014@gmail.com> | 2017-10-08 09:33:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 09:33:20 +0800 |
commit | 4b2592d7b6c295093b07ac2737658767c3e3377b (patch) | |
tree | 7b238e71c98398bb9433f0a48858c3ab3909be39 /test/functional/legacy/003_cindent_spec.lua | |
parent | f97ca6b3339ca04477296c834a159d40d2201ccd (diff) | |
parent | 032b088c848585e60e8dc1a210f240bad6bb3387 (diff) | |
download | rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.tar.gz rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.tar.bz2 rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.zip |
Merge branch 'master' into vim-8.0.0131
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) |