- Fixed print_error().

This commit is contained in:
Shougo Matsushita 2012-10-21 21:07:57 +09:00
parent e44c9d6562
commit fdc6880600

View File

@ -389,7 +389,7 @@ function! s:load_snippets(snippet, snippets_file)"{{{
\ '^options\s\+\zs.*$'), '[,[:space:]]\+') \ '^options\s\+\zs.*$'), '[,[:space:]]\+')
if !has_key(snippet_pattern.options, option) if !has_key(snippet_pattern.options, option)
call neosnippet#util#print_error( call neosnippet#util#print_error(
\ printf('invalid option name : %s is detected.', option) \ printf('invalid option name : %s is detected.', option))
else else
let snippet_pattern.options[option] = 1 let snippet_pattern.options[option] = 1
endif endif