aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-15 08:16:56 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-10-15 08:19:46 +0800
commit9701cbf036aecf18e7d88681040c07d61c314ca6 (patch)
tree752a2765125914402a0babdf6b658492f2ad84a0 /runtime/lua/vim/_meta/options.lua
parent4846bf05dc639592c73135fb6f1a69f410c1c40f (diff)
downloadrneovim-9701cbf036aecf18e7d88681040c07d61c314ca6.tar.gz
rneovim-9701cbf036aecf18e7d88681040c07d61c314ca6.tar.bz2
rneovim-9701cbf036aecf18e7d88681040c07d61c314ca6.zip
vim-patch:7b5e52d: 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: vim/vim#15874 https://github.com/vim/vim/commit/7b5e52d16fb457c90cc44340a6190712aab7e03b Co-authored-by: saher <msaher.shair@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index ce3ff4f861..1270ad2519 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -6695,7 +6695,7 @@ vim.wo.stc = vim.wo.statuscolumn
--- Emulate standard status line with 'ruler' set
---
--- ```vim
---- set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
+--- set statusline=%<%f\ %h%w%m%r%=%-14.(%l,%c%V%)\ %P
--- ```
--- Similar, but add ASCII value of char under the cursor (like "ga")
---