- Fixed errors.
This commit is contained in:
parent
9b4b9e6a02
commit
d5e1a678d4
@ -164,7 +164,7 @@ function! neosnippet#expandable()"{{{
|
|||||||
endfunction"}}}
|
endfunction"}}}
|
||||||
function! neosnippet#force_expandable()"{{{
|
function! neosnippet#force_expandable()"{{{
|
||||||
let snippets = neosnippet#force_expandable()
|
let snippets = neosnippet#force_expandable()
|
||||||
let cur_text = neosnippet#util#get_cur_text(1)
|
let cur_text = neosnippet#util#get_cur_text()
|
||||||
|
|
||||||
" Found snippet trigger.
|
" Found snippet trigger.
|
||||||
return s:get_cursor_snippet(snippets, cur_text) != ''
|
return s:get_cursor_snippet(snippets, cur_text) != ''
|
||||||
@ -843,7 +843,7 @@ function! s:SID_PREFIX()"{{{
|
|||||||
endfunction"}}}
|
endfunction"}}}
|
||||||
|
|
||||||
function! s:trigger(function)"{{{
|
function! s:trigger(function)"{{{
|
||||||
let cur_text = neosnippet#util#get_cur_text(1)
|
let cur_text = neosnippet#util#get_cur_text()
|
||||||
|
|
||||||
let col = col('.')
|
let col = col('.')
|
||||||
if mode() !=# 'i'
|
if mode() !=# 'i'
|
||||||
|
Loading…
Reference in New Issue
Block a user