- Fixed neosnippet#jump() error.

This commit is contained in:
Shougo Matsushita 2012-10-30 18:54:07 +09:00
parent c380f83bbd
commit 00d2c7ed52
1 changed files with 2 additions and 1 deletions

View File

@ -458,6 +458,7 @@ function! s:get_cursor_snippet(snippets, cur_text)"{{{
return cur_word return cur_word
endfunction"}}} endfunction"}}}
function! s:snippets_expand(cur_text, col)"{{{ function! s:snippets_expand(cur_text, col)"{{{
let cur_word = s:get_cursor_snippet( let cur_word = s:get_cursor_snippet(
\ neosnippet#get_snippets(), \ neosnippet#get_snippets(),
@ -1195,7 +1196,7 @@ function! neosnippet#expand_impl()
return s:trigger(s:SID_PREFIX().'snippets_expand') return s:trigger(s:SID_PREFIX().'snippets_expand')
endfunction endfunction
function! neosnippet#jump_impl() function! neosnippet#jump_impl()
return s:trigger(s:SID_PREFIX().'snippets_jump') return s:trigger('neosnippet#jump')
endfunction endfunction
if !exists('s:snippets') if !exists('s:snippets')