aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorzshuzh <40901142+zshuzh@users.noreply.github.com>2024-11-20 22:01:59 +0000
committerGitHub <noreply@github.com>2024-11-20 14:01:59 -0800
commitcedf155fb5c4d687747e59f5d3fdad76a40aa069 (patch)
treedecd41a937852b4428d43b4fccb49e6376a43956 /runtime/doc/options.txt
parent629483e24eed3f2c07e55e0540c553361e0345a2 (diff)
downloadrneovim-cedf155fb5c4d687747e59f5d3fdad76a40aa069.tar.gz
rneovim-cedf155fb5c4d687747e59f5d3fdad76a40aa069.tar.bz2
rneovim-cedf155fb5c4d687747e59f5d3fdad76a40aa069.zip
refactor(options): impl default 'titlestring' by format flags #30843
Problem: Unnecessary C impl of default 'titlestring'. Solutin: Define it using format flags.
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c972a05c4d..64ad2d2956 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6590,6 +6590,10 @@ A jump table for the options with a short description can be found at |Q_op|.
expanded according to the rules used for 'statusline'. If it contains
an invalid '%' format, the value is used as-is and no error or warning
will be given when the value is set.
+
+ The default behaviour is equivalent to: >vim
+ set titlestring=%t%(\ %M%)%(\ \(%{expand(\"%:~:h\")}\)%)%a\ -\ Nvim
+<
This option cannot be set in a modeline when 'modelineexpr' is off.
Example: >vim