- Deleted neocomplcache depends.

This commit is contained in:
Shougo Matsushita
2012-09-30 17:21:47 +09:00
parent 2a0d6f18ad
commit 50cabbdce7
2 changed files with 9 additions and 13 deletions

View File

@@ -73,6 +73,14 @@ function! neosnippet#util#set_dictionary_helper(...)"{{{
return call(s:V.set_dictionary_helper, a:000)
endfunction"}}}
function! neosnippet#util#get_cur_text()"{{{
return
\ (mode() ==# 'i' ? (col('.')-1) : col('.')) >= len(getline('.')) ?
\ getline('.') :
\ matchstr(getline('.'),
\ '^.*\%' . col('.') . 'c' . (mode() ==# 'i' ? '' : '.'))
endfunction"}}}
let &cpo = s:save_cpo
unlet s:save_cpo