瀏覽代碼

Fix type mismatch for heterogenous lists in older Vims

Fixes #293
Marco Hinz 7 年之前
父節點
當前提交
50d4c51607
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      autoload/startify.vim

+ 1 - 0
autoload/startify.vim

@@ -441,6 +441,7 @@ function! s:get_lists() abort
           let lists += [{ 'type': item }]
         endif
       endif
+      unlet item
     endfor
     return lists
   else