vimwiki-backup / vimwiki

Automatically exported from code.google.com/p/vimwiki
1 stars 1 forks source link

Broken file:/// links #306

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using r6dad432a64c5
2. Create file link e.g. [[file:///VIMWIKI-HOME/tests/test.py]]

What is the expected output? What do you see instead?

I expect the file to open successfully in vim.  The code indeed runs: 
follow_link() > open_link() > edit_file() > mkdir() ... however, due to line 
262 in base.vim, the leading slash is removed, which causes trouble in mkdir() 
i.e.:

   > Vimwiki: Make new directory: Users/stu/Research/Tools/VimPlugins/vimwiki-master/tests
   >   [Y]es/[N]o ?

Original issue reported on code.google.com by stu.andrews on 9 May 2012 at 4:54

GoogleCodeExporter commented 9 years ago
Thx!

Original comment by habamax on 9 May 2012 at 6:37