浏览代码

Avoid magic number

Marco Hinz 7 年之前
父节点
当前提交
5df5b7478c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -119,7 +119,7 @@ function! startify#insane_in_the_membrane() abort
         \ ])
 
   for item in s:lists
-    if type(item) == 1
+    if type(item) == type('')
       call s:show_{item}()
     else
       let s:last_message = item