Merge pull request #195 from creasty/sid_prefix

Fixes SID_PREFIX bug
This commit is contained in:
Shougo 2013-11-30 10:52:19 -08:00
commit f43b9a7197
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) "{{{