pechorin / any-jump.vim

Jump to any definition and references 👁 IDE madness without overhead 🚀
1.08k stars 40 forks source link

Fails with fish shell #50

Closed cschneid closed 4 years ago

cschneid commented 4 years ago

I use fish shell normally, and launch nvim through it. When calling :AnyJump, I get:

Error detected while processing function <SNR>83_Jump[30]..search#SearchDefinitions[28]..<SNR>246
_RunRgDefinitionSearch[8]..<SNR>246_ParseRgResults:
line    7:
E474: Expected false: fish: $) is not a valid variable in fish.
E474: Failed to parse fish: $) is not a valid variable in fish.
Press ENTER or type command to continue
pechorin commented 4 years ago

Okay, thanks for report, will check it out.

michalvalasek commented 4 years ago

I'm having the same problem.

It looks like the problem might be on Fish's side since this wasn't happening last week and I haven't updated my any-jump clone in the meantime.

cschneid commented 4 years ago

data point: I switched to bash, launched and still got the same error. So reproducing may require you to change your default shell (globally or vim? unsure) to fish.

pechorin commented 4 years ago

Fixed in https://github.com/pechorin/any-jump.vim/commit/e5ecc73fb00a50097250106118a4b3414809497c, please report if it helps or not.

michalvalasek commented 4 years ago

So I updated any-jump locally and tried it again.

pechorin commented 4 years ago

@cschneid is it fixed for you?

cschneid commented 4 years ago

A quick check appears to be working. I haven't comprehensively tested, but a few lookups and jumps worked as expected.

Thank you!

pechorin commented 4 years ago

Thanks, i will close it. Please report if any issue with fish shell, it should work fine.