aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-09-12 08:51:06 +0800
committerGitHub <noreply@github.com>2026-09-12 08:51:06 +0800
commitc5edb0e33e6e64623723474d9e98734d131388e1 (patch)
tree0b693688b22b9a67ecdaf3de4edadbc73b75e6a2 /runtime/lua/vim/provider/python.lua
parent54a21b3a4b554d0a5c00707acc1e15e699fdc3e4 (diff)
downloadrneovim-c5edb0e33e6e64623723474d9e98734d131388e1.tar.gz
rneovim-c5edb0e33e6e64623723474d9e98734d131388e1.tar.bz2
rneovim-c5edb0e33e6e64623723474d9e98734d131388e1.zip
vim-patch:9.2.1075: :write fails when a BufWritePre autocmd changes directory (#41873)
Problem: :write fails with E212 when a BufWritePre autocmd changes to a directory that does not contain the file. The directory change drops the buffer's short name, and buf_write() uses that NULL short name when it re-reads the buffer's names after the autocommands. Solution: Use b_fname, which is the short name when there is one and the full name otherwise (Shantanu Raj). fixes: vim/vim#21275 closes: vim/vim#21276 https://github.com/vim/vim/commit/e4410181387e7941fac9f75d3c3002243b5394d4 Co-authored-by: Shantanu Raj <s@sraj.me>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions