Procházet zdrojové kódy

Merge pull request #81 from ZeroKnight/patch-1

Fix skiplist matching on Windows
Marco Hinz před 12 roky
rodič
revize
3698187c54
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      autoload/startify.vim

+ 2 - 2
autoload/startify.vim

@@ -280,7 +280,7 @@ function! s:show_dir(cnt) abort
     endif
     endif
 
 
     for fname in files
     for fname in files
-      let fullpath = resolve(fnamemodify(fname, ':p'))
+      let fullpath = resolve(fnamemodify(glob(fname), ':p'))
 
 
       " filter duplicates, bookmarks and entries from the skiplist
       " filter duplicates, bookmarks and entries from the skiplist
       if has_key(entries, fullpath)
       if has_key(entries, fullpath)
@@ -326,7 +326,7 @@ function! s:show_files(cnt) abort
   let entries = {}
   let entries = {}
 
 
   for fname in v:oldfiles
   for fname in v:oldfiles
-    let fullpath = resolve(fnamemodify(fname, ':p'))
+    let fullpath = resolve(fnamemodify(glob(fname), ':p'))
 
 
     " filter duplicates, bookmarks and entries from the skiplist
     " filter duplicates, bookmarks and entries from the skiplist
     if has_key(entries, fullpath)
     if has_key(entries, fullpath)