From d5e1a678d4cb257bc2cd63d725aba0fc856e4334 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sun, 30 Sep 2012 17:34:34 +0900 Subject: [PATCH] - Fixed errors. --- autoload/neosnippet.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index 6c5f2e9..d91fe00 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -164,7 +164,7 @@ function! neosnippet#expandable()"{{{ endfunction"}}} function! 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. return s:get_cursor_snippet(snippets, cur_text) != '' @@ -843,7 +843,7 @@ function! s:SID_PREFIX()"{{{ endfunction"}}} function! s:trigger(function)"{{{ - let cur_text = neosnippet#util#get_cur_text(1) + let cur_text = neosnippet#util#get_cur_text() let col = col('.') if mode() !=# 'i'