diff options
| author | tao <2471314@gmail.com> | 2026-06-15 19:02:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-15 07:02:17 -0400 |
| commit | 6acde1fcf06909100d534de07f3baad67a134c4f (patch) | |
| tree | c8b640ac4a832a03006432242724a27e3f0f9426 /test/functional/vimscript/executable_spec.lua | |
| parent | db0fca2443803969655710f89f3935b5c938c953 (diff) | |
| download | rneovim-6acde1fcf06909100d534de07f3baad67a134c4f.tar.gz rneovim-6acde1fcf06909100d534de07f3baad67a134c4f.tar.bz2 rneovim-6acde1fcf06909100d534de07f3baad67a134c4f.zip | |
fix(shada): prevent case-duplicate :oldfiles #40013
Problem:
On Windows and macOS, entries in `oldfiles` may differ only in case,
but actually refer to the same file.
Solution:
Previously, deduplication used `Set_cstr_t`. We can add a similar `Set_path_t`
that performs path-aware comparisons, ignoring case differences. On Windows, it
could also ignore path separator differences, and treat `C:\foo` and `\foo` as
the same path when the current drive is `C:`.
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions