Skip to content

Commit

Permalink
Merge pull request #228 from wellle/227-strict-seek-ranges
Browse files Browse the repository at this point in the history
227 Only consider targets with matching seek range
  • Loading branch information
wellle authored Apr 24, 2019
2 parents 5915a1a + 9c6fb73 commit 53a5adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/targets/multigen.vim
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ function! s:rangeScore(range)
let s:rangeScores[ranges[i]] = rangesN - i
endfor
endif
return get(s:rangeScores, a:range)
return get(s:rangeScores, a:range, -1)
endfunction

0 comments on commit 53a5adc

Please sign in to comment.