[vim/vim] runtime(netrw): normalize bookmark paths to prevent duplicates (PR #20194)

0 views
Skip to first unread message

J. Paulo Seibt

unread,
10:23 AM (2 hours ago) 10:23 AM
to vim/vim, Subscribed

Problem: the bookmarks list can have duplicate entries, more often
in win32 (due to mixed slashes and capitalization) and when
g:netrw_keepdir=0 (which could introduce relative paths).
Duplicate entries could be: C:\foo\BAR\baz.file
c:\foo\bar\baz.file
c:/foo\BAR/baz.file
BAR/baz.file
Solution: normalize the paths and make sure they are always absolute.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20194

Commit Summary

  • e70f0e5 runtime(netrw): normalize bookmark paths to prevent duplicates

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20194@github.com>

Reply all
Reply to author
Forward
0 new messages