diff options
| author | Nick Krichevsky <njk828@gmail.com> | 2026-04-22 05:56:23 -0400 |
|---|---|---|
| committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2026-04-22 11:52:02 +0000 |
| commit | 4d4e196447481d552a7dffeeee9ddf72c3bb2ec1 (patch) | |
| tree | 3b5f2eeccdbb34eaf570526f5dc17a8f616434f6 /runtime/lua/vim/_meta/options.gen.lua | |
| parent | b3b5674ac7d690f63998e30663b29c7c90c098c7 (diff) | |
fix(options): default 'titlestring' shows CWD #39233
Problem:
In the default 'titlestring', if the containing directory is the CWD, it renders as "."
Solution:
Add `:p` to the titlestring.
(cherry picked from commit e68e76935267afbf84bff9fffa69f963ebce0f5a)
Diffstat (limited to 'runtime/lua/vim/_meta/options.gen.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/options.gen.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/options.gen.lua b/runtime/lua/vim/_meta/options.gen.lua index fb9f5415eb..b3293059b0 100644 --- a/runtime/lua/vim/_meta/options.gen.lua +++ b/runtime/lua/vim/_meta/options.gen.lua @@ -7462,7 +7462,7 @@ vim.go.titleold = vim.o.titleold --- The default (empty) behaviour is equivalent to: --- --- ```vim ---- set titlestring=%t%(\ %M%)%(\ \(%{expand(\"%:~:h\")}\)%)%a\ -\ Nvim +--- set titlestring=%t%(\ %M%)%(\ \(%{expand('%:p:~:h')}\)%)%a\ -\ Nvim --- ``` --- --- Example: |
