Aidan Shafran wrote:
> I posted issue #3072 on the GitHub issue tracker: > > https://github.com/vim/vim/issues/3072 > > I created a patch to fix the issue, although I'm not sure if it will > work on all systems (specifically Windows). I also created a test for it > in test_expand.vim. [...] > Hopefully this is helpful, and let me know if I've made any mistakes in > submitting this patch. This solution has a problem: expand('~') will result in "./~" instead of "~". I'll make a similar patch, but instead of changing the file name, pass a flag to indicate that "~" is used as a file name. -- You had connectors? Eeee, when I were a lad we 'ad to carry the bits between the computer and the terminal with a spoon... /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
