Fixes SID_PREFIX bug
This commit is contained in:
parent
f1afc46c5d
commit
728c2601b4
@ -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) "{{{
|
||||
|
Loading…
Reference in New Issue
Block a user