On Sun, Dec 1, 2019 at 9:17 AM Bram Moolenaar <
Br...@moolenaar.net> wrote:
>
>
> Yegappan wrote:
>
> > In the PR 5296, I have added some tests for the register related
> > functionality. One of the test fails in the normal build but passes
> > in the huge build. The test is below:
> >
> > new
> > let @" = 'xyz'
> > set virtualedit=all
> > call append(0, "a\tb")
> > call cursor(1, 2, 6)
> > normal p
> > call assert_equal("a\txyzb", getline(1))
> >
> > It looks like in the normal build, the tab character is expanded
> > when the text is pasted. But this doesn't happen in the huge build.
> >
> > Is this a bug or am I missing something?
> >
> > The passing huge build log is at:
> >
> >
https://travis-ci.org/vim/vim/jobs/619155561
> >
> > The failing normal build log is at:
> >
> >
https://travis-ci.org/vim/vim/jobs/619155568
> >
> > The PR is at:
> >
> >
https://github.com/vim/vim/pull/5296
>
> It's because of the vartabs feature, it computes the tabstop position
> correctly. Code is in do_put(), at line 1679.
>
> I managed to fix the code, I'll include the tests then.
>