Fix lint error

This commit is contained in:
Shougo Matsushita 2018-01-26 08:59:10 +09:00
parent bf3b68aeeb
commit 770ed583cf

View File

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