• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisãoecf0a8d6d4df05f34aee8f3e7c12496731ef681c (tree)
Hora2020-10-26 00:30:03
AutorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Mensagem de Log

patch 8.2.1903: buffer test fails with normal features

Commit: https://github.com/vim/vim/commit/37e4e03c67dacfc4a065e95492ffc4c7f490b44b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 25 16:18:26 2020 +0100

patch 8.2.1903: buffer test fails with normal features
Problem: Buffer test fails with normal features.
Solution: Use 'numberwidth' instead of 'conceallevel' in the test.

Mudança Sumário

Diff

diff -r ccca10ddb762 -r ecf0a8d6d4df src/testdir/test_buffer.vim
--- a/src/testdir/test_buffer.vim Sun Oct 25 15:15:04 2020 +0100
+++ b/src/testdir/test_buffer.vim Sun Oct 25 16:30:03 2020 +0100
@@ -364,11 +364,11 @@
364364
365365 func Test_badd_options()
366366 new SomeNewBuffer
367- setlocal cole=3
367+ setlocal numberwidth=3
368368 wincmd p
369369 badd SomeNewBuffer
370370 new SomeNewBuffer
371- call assert_equal(3, &cole)
371+ call assert_equal(3, &numberwidth)
372372 close
373373 close
374374 bwipe! SomeNewBuffer
diff -r ccca10ddb762 -r ecf0a8d6d4df src/version.c
--- a/src/version.c Sun Oct 25 15:15:04 2020 +0100
+++ b/src/version.c Sun Oct 25 16:30:03 2020 +0100
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 1903,
755+/**/
754756 1902,
755757 /**/
756758 1901,
Show on old repository browser