Avoid magic number
This commit is contained in:
parent
5425dd3e84
commit
5df5b7478c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue