Fix lint error

This commit is contained in:
Shougo Matsushita 2018-01-26 08:59:10 +09:00
parent bf3b68aeeb
commit 770ed583cf
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@ function! neosnippet#parser#_parse_snippets(filename) abort
endif
if neosnippet#util#is_sudo()
let [snippets, sourced] = s:parse(a:filename)
return snippets
return s:parse(a:filename)[0]
endif
let cache_dir = neosnippet#variables#data_dir()