Split view functions

This commit is contained in:
Shougo Matsushita
2013-11-21 18:54:04 +09:00
parent e295f190dc
commit 3003f6078d
7 changed files with 588 additions and 554 deletions

View File

@@ -87,7 +87,7 @@ function! s:action_table.expand.func(candidate) "{{{
let cur_text = neosnippet#util#get_cur_text()
let cur_keyword_str = matchstr(cur_text, '\S\+$')
let context = unite#get_context()
call neosnippet#expand(
call neosnippet#view#_expand(
\ cur_text . a:candidate.action__complete_word[len(cur_keyword_str)],
\ context.col, a:candidate.action__complete_word)
endfunction"}}}

View File

@@ -82,7 +82,7 @@ function! s:source.action_table.select.func(candidate) "{{{
return
endif
call neosnippet#expand_target_trigger(a:candidate.source__trigger)
call neosnippet#mappings#_expand_target_trigger(a:candidate.source__trigger)
endfunction"}}}
"}}}