diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-06-19 08:57:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-19 08:57:03 +0800 |
| commit | 1cfbf104f509854a66a12ca070d388b7374632bc (patch) | |
| tree | e889b2b72ae1383521b8066fa394978d74f3ee7b /test/functional/vimscript/executable_spec.lua | |
| parent | 2370fc1d9171033508dc12935224ba422669556e (diff) | |
| download | rneovim-1cfbf104f509854a66a12ca070d388b7374632bc.tar.gz rneovim-1cfbf104f509854a66a12ca070d388b7374632bc.tar.bz2 rneovim-1cfbf104f509854a66a12ca070d388b7374632bc.zip | |
vim-patch:9.2.0676: MS-Windows: cannot switch to a buffer with '%' in its name (#40315)
Problem: On MS-Windows it is not possible to switch to a buffer by name
with ":b" (including via command-line completion) when the
buffer name contains '%'.
Solution: Do not escape '%' and '#' for the ":buffer" command on
MS-Windows. Since ":buffer" has no EX_XFILE these are not
expanded, and escaping them as "\%"/"\#" makes buffer name
matching fail when '%'/'#' is in 'isfname' (the backslash is
treated as a path separator).
fixes: vim/vim#20529
closes: vim/vim#20548
https://github.com/vim/vim/commit/1a96e07bf6ba46f4b6f50a861d755d0fbc89dabb
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions