mirror of
https://github.com/neovim/neovim.git
synced 2026-06-16 08:41:15 +00:00
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>