- Fixed print_error().
This commit is contained in:
parent
e44c9d6562
commit
fdc6880600
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user