Explorar el Código

Avoid magic number

Marco Hinz hace 7 años
padre
commit
5df5b7478c
Se han modificado 1 ficheros con 1 adiciones y 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