Explorar o código

Avoid magic number

Marco Hinz %!s(int64=7) %!d(string=hai) anos
pai
achega
5df5b7478c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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