Commits

ZyX_I committed bf13aba

@/os: Made os.path.split return non-empty list for the empty argument

Comments (0)

Files changed (1)

plugin/frawor/os.vim

 function s:os.path.split(path)
     let r=[]
     let path=a:path
-    let oldpath=''
+    let oldpath=0
     while oldpath isnot# path
         call insert(r, s:os.path.basename(path))
         let oldpath=path