Skip to content

Commit

Permalink
Merge pull request #4 from s-ol/patch
Browse files Browse the repository at this point in the history
Fix substitute call in s:Function()
  • Loading branch information
djmoch authored Nov 8, 2016
2 parents 481a5e3 + 136aac6 commit 9f73945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/makejob.vim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let s:jobinfo = {}

function! s:Function(name)
return substitute(a:name, '^s:', matchstr(expand('<sfile>'),
\'<SNR>\d\+_\zefunction$'),'')
\'<SNR>\d\+_\ze[fF]unction$'),'')
endfunction

function! s:JobHandler(channel) abort
Expand Down

0 comments on commit 9f73945

Please sign in to comment.