We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df069ee commit 4014e2cCopy full SHA for 4014e2c
2 files changed
src/testdir/test_statusline.vim
@@ -64,7 +64,17 @@ endfunc
64
func Test_statusline()
65
CheckFeature quickfix
66
67
- new Xstatusline
+ " %a: Argument list ({current} of {max})
68
+ set statusline=%a
69
+ call assert_match('^\s*$', s:get_statusline())
70
+ arglocal a1 a2
71
+ rewind
72
+ call assert_match('^ (1 of 2)\s*$', s:get_statusline())
73
+ next
74
+ call assert_match('^ (2 of 2)\s*$', s:get_statusline())
75
+ e Xstatusline
76
+ call assert_match('^ ((2) of 2)\s*$', s:get_statusline())
77
+
78
only
79
set laststatus=2
80
set splitbelow
src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
754
755
static int included_patches[] =
756
{ /* Add new patch number below this line */
757
+/**/
758
+ 1043,
759
/**/
760
1042,
761
0 commit comments