diff options
author | zshuzh <40901142+zshuzh@users.noreply.github.com> | 2024-11-20 22:01:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-20 14:01:59 -0800 |
commit | cedf155fb5c4d687747e59f5d3fdad76a40aa069 (patch) | |
tree | decd41a937852b4428d43b4fccb49e6376a43956 /runtime/doc/vim_diff.txt | |
parent | 629483e24eed3f2c07e55e0540c553361e0345a2 (diff) | |
download | rneovim-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/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 8fa94a2601..50075c3bde 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -616,6 +616,11 @@ Autocommands: - |TermResponse| is fired for any OSC sequence received from the terminal, instead of the Primary Device Attributes response. |v:termresponse| +Options: +- 'titlestring' uses printf-style '%' items (see: 'statusline') to implement + the default behaviour. The implementation is equivalent to setting + 'titlestring' to `%t%(\ %M%)%(\ \(%{expand(\"%:~:h\")}\)%)%a\ -\ Nvim`. + ============================================================================== Missing features *nvim-missing* |