diff options
author | Sam Bingner <sam@bingner.com> | 2019-11-15 18:11:36 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-11-15 18:11:36 -1000 |
commit | 978d9cd248490cda55c924e66a407bb793aff400 (patch) | |
tree | f14836ff8440840ad821abe8fc86148ec2ea7f5c /data/vim/patches/8.1.0116 | |
parent | bbc833a503b148701c64ed5be79f298b7911e340 (diff) |
Update to vim_8.1.1948 and stop using patches
I mean... 1948...
Diffstat (limited to 'data/vim/patches/8.1.0116')
-rw-r--r-- | data/vim/patches/8.1.0116 | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/data/vim/patches/8.1.0116 b/data/vim/patches/8.1.0116 deleted file mode 100644 index c1fdabebf..000000000 --- a/data/vim/patches/8.1.0116 +++ /dev/null @@ -1,95 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 8.1.0116 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 8.1.0116 -Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca - Fuentes) -Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076) -Files: src/screen.c, src/testdir/test_vartabs.vim - - -*** ../vim-8.1.0115/src/screen.c 2018-06-24 19:23:59.989047923 +0200 ---- src/screen.c 2018-06-25 21:21:42.002042548 +0200 -*************** -*** 4753,4760 **** ---- 4753,4765 ---- - n_extra = win_lbr_chartabsize(wp, line, p, (colnr_T)vcol, - NULL) - 1; - if (c == TAB && n_extra + col > wp->w_width) -+ #ifdef FEAT_VARTABS -+ n_extra = tabstop_padding(vcol, wp->w_buffer->b_p_ts, -+ wp->w_buffer->b_p_vts_array) - 1; -+ #else - n_extra = (int)wp->w_buffer->b_p_ts - - vcol % (int)wp->w_buffer->b_p_ts - 1; -+ #endif - - # ifdef FEAT_MBYTE - c_extra = mb_off > 0 ? MB_FILLER_CHAR : ' '; -*** ../vim-8.1.0115/src/testdir/test_vartabs.vim 2018-06-23 19:22:45.618486231 +0200 ---- src/testdir/test_vartabs.vim 2018-06-25 21:22:50.237671137 +0200 -*************** -*** 4,9 **** ---- 4,14 ---- - finish - endif - -+ source view_util.vim -+ function! s:compare_lines(expect, actual) -+ call assert_equal(join(a:expect, "\n"), join(a:actual, "\n")) -+ endfunction -+ - func! Test_vartabs() - new - %d -*************** -*** 255,257 **** ---- 260,282 ---- - - bwipeout! - endfunc -+ -+ func! Test_vartabs_linebreak() -+ if winwidth(0) < 80 -+ return -+ endif -+ new -+ 70vnew -+ %d -+ setl linebreak vartabstop=10,15,20,40 -+ call setline(1, "\tx\tx\tx\tx") -+ -+ let lines = ScreenLines([1, 2], winwidth(0)) -+ let expect = [' x x x ', -+ \ ' x '] -+ call s:compare_lines(expect, lines) -+ -+ " cleanup -+ bw! -+ bw! -+ endfunc -*** ../vim-8.1.0115/src/version.c 2018-06-25 00:05:55.901799630 +0200 ---- src/version.c 2018-06-25 21:24:22.389089360 +0200 -*************** -*** 791,792 **** ---- 791,794 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 116, - /**/ - --- -hundred-and-one symptoms of being an internet addict: -115. You are late picking up your kid from school and try to explain - to the teacher you were stuck in Web traffic. - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ an exciting new programming language -- http://www.Zimbu.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |