Ah, ok, I see. You're using match on this for the jump to current feature.

Hm, when I read the jump-to-current code yesterday, I was thinking: why not simply match on the ref name?