aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-11-28 09:02:10 +0800
committerGitHub <noreply@github.com>2024-11-28 09:02:10 +0800
commit5897994cb75b5b64a34017873119c87a75c42375 (patch)
tree7f579a1eebcd3e3487ebe5e58f33a94dc803b80d /runtime/doc/options.txt
parent76dcc7029b200e1d85024d7ba4a34c602e730dbe (diff)
downloadrneovim-5897994cb75b5b64a34017873119c87a75c42375.tar.gz
rneovim-5897994cb75b5b64a34017873119c87a75c42375.tar.bz2
rneovim-5897994cb75b5b64a34017873119c87a75c42375.zip
vim-patch:9.1.0890: %! item not allowed for 'rulerformat' (#31369)
Problem: %! item not allowed for 'rulerformat' (yatinlala) Solution: also allow to use %! for rulerformat option (Yegappan Lakshmanan) fixes: vim/vim#16091 closes: vim/vim#16118 https://github.com/vim/vim/commit/ac023e8baae65584537aa3c11494dad6f71770af Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index ea56633c77..c5f21c64a2 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5917,6 +5917,7 @@ A jump table for the options with a short description can be found at |Q_op|.
All fields except the {item} are optional. A single percent sign can
be given as "%%".
+ *stl-%!*
When the option starts with "%!" then it is used as an expression,
evaluated and the result is used as the option value. Example: >vim
set statusline=%!MyStatusLine()