Skip to content

Commit 7b5e52d

Browse files
msaherchrisbra
authored andcommitted
runtime(doc): add preview flag to statusline example
Problem: The standard statusline example is missing the preview flag "%w" Solution: Add the preview flag "%w" closes: #15874 Signed-off-by: saher <msaher.shair@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 7d755d8 commit 7b5e52d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runtime/doc/options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Oct 06
1+
*options.txt* For Vim version 9.1. Last change: 2024 Oct 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7969,7 +7969,7 @@ A jump table for the options with a short description can be found at |Q_op|.
79697969

79707970
Examples:
79717971
Emulate standard status line with 'ruler' set >
7972-
:set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
7972+
:set statusline=%<%f\ %h%w%m%r%=%-14.(%l,%c%V%)\ %P
79737973
< Similar, but add ASCII value of char under the cursor (like "ga") >
79747974
:set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
79757975
< Display byte count and byte value, modified flag in red. >

0 commit comments

Comments
 (0)