Mercurial > vim
view src/testdir/test_join.vim @ 11069:814126a34c9d v8.0.0423
patch 8.0.0423: changing 'cinoptions' does not always work
commit https://github.com/vim/vim/commit/6b64394f346594404cffb9591d71ac693040679f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 19:44:06 2017 +0100
patch 8.0.0423: changing 'cinoptions' does not always work
Problem: The effect of adding "#" to 'cinoptions' is not always removed.
(David Briscoe)
Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Mar 2017 19:45:04 +0100 |
parents | dd2e2bd69d0e |
children | 15f0f9f16cd9 |
line wrap: on
line source
" Test for joining lines. func Test_join_with_count() new call setline(1, ['one', 'two', 'three', 'four']) normal J call assert_equal('one two', getline(1)) %del call setline(1, ['one', 'two', 'three', 'four']) normal 10J call assert_equal('one two three four', getline(1)) quit! endfunc