Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Expand script paths that vim shortens in scriptnames report #3
I'm not sure when in the console version of vim this started happening since I regularly use MacVim.
The output of scriptnames in the console version (7.3.237) has started to shorten the part of the path to the home directory as
I've reviewed the problem and cehoffman's commit. I'll upload fixed version to www.vim.org soon.
@cehoffman: Your commit is almost right, but there is a minor problem. What we really should do is to normalize script paths before comparison. But expand() is not proper for normalization because it is to expand wildcards, environment variables and others. We should use fnamemodify() instead.