We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5966bb5 commit d01b808Copy full SHA for d01b808
autoload/speeddating.vim
@@ -18,7 +18,7 @@ let s:install_dir = expand("<sfile>:p:h:h")
18
" Utility Functions {{{1
19
20
function! s:function(name)
21
- return function(substitute(a:name,'^s:',matchstr(expand('<sfile>'), '<SNR>\d\+_'),''))
+ return function(substitute(a:name,'^s:',matchstr(expand('<sfile>'), '.*\zs<SNR>\d\+_'),''))
22
endfunction
23
24
" In Vim, -4 % 3 == -1. Let's return 2 instead.
0 commit comments