Fixes SID_PREFIX bug

This commit is contained in:
Yuki Iwanaga 2013-12-01 00:50:17 +09:00
parent f1afc46c5d
commit 728c2601b4

View File

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