aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorBarrett Ruth <62671086+barrettruth@users.noreply.github.com>2026-07-26 04:36:03 -0500
committerGitHub <noreply@github.com>2026-07-26 05:36:03 -0400
commit3d5de7fd113df5aae395e7fcf23e5105b59e3caf (patch)
tree1ef073692a737e79cf42cec35ce697da229cbd84 /runtime/syntax/python.vim
parent62c2538d77f3a4eaae16e99719a744c3b484eed6 (diff)
downloadrneovim-3d5de7fd113df5aae395e7fcf23e5105b59e3caf.tar.gz
rneovim-3d5de7fd113df5aae395e7fcf23e5105b59e3caf.tar.bz2
rneovim-3d5de7fd113df5aae395e7fcf23e5105b59e3caf.zip
fix(buffer): name becomes empty when it is the cwd #40980
Problem: Shortening the name of a buffer whose full name is the current directory + path sep yields empty string -> buf unnamed. This doesn't interact well with things like `:mksession`, which for example could `:badd` with no arg -> E471. Solution: Keep the full path when shortening yields an empty name, as `path_try_shorten_fname()` already does.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions