Fixes SID_PREFIX bug

This commit is contained in:
Yuki Iwanaga 2013-12-01 00:50:17 +09:00
parent f1afc46c5d
commit 728c2601b4
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ function! s:snippets_jump_or_expand(cur_text, col) "{{{
endfunction"}}}
function! s:SID_PREFIX() "{{{
return matchstr(expand('<sfile>'), '<SNR>\d\+_')
return matchstr(expand('<sfile>'), '<SNR>\d\+_\ze\w\+$')
endfunction"}}}
function! s:trigger(function) "{{{