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