Commits

ZyX_I committed f713f49

Fixed abspath: it was not expanding ~

Comments (0)

Files changed (1)

plugin/frawor/os.vim

 let s:os.path={}
 "▶3 os.path.abspath   :: path + FS → path
 function s:os.path.abspath(path)
-    let components=s:os.path.split(a:path)
+    let components=s:os.path.split(expand(fnameescape(a:path)))
     if components[0] is# '.'
         let components[:0]=[fnamemodify('.', ':p')]
         if len(components[0])>1