Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the xolox#misc#path#* functions
- xolox#misc#path#absolute() was completely rewritten. It no longer uses fnamemodify() which doesn't work on non-existing pathnames. It's now written on top of xolox#misc#path#split() and xolox#misc#path#join(). It should now properly normalize directory separators as suggested in this pull request: xolox/vim-session#29 - xolox#misc#path#split() and xolox#misc#path#join() were enhanced with proper handling of UNC paths and respect for the 'shellslash' option on Windows (tested on Windows XP SP2, the only Windows I have available)
- Loading branch information
Showing
2 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters