Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix vi mode indicator when using fish_hybrid_key_bindings #147

Merged

Conversation

ybc37
Copy link
Contributor

@ybc37 ybc37 commented Feb 21, 2019

related: #148


The new vi mode indicator didn't work when using hybrid bindings. The pattern in _pure_get_prompt_symbol.fish only matched "fish_vi_key_bindings". With this patch regex matching is used to match vi and hybrid bindings.

@edouard-lopez edouard-lopez added the 🐛 bug something that doesn't works as expected label Feb 22, 2019
Copy link
Member

@edouard-lopez edouard-lopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks 👍
Played with globbing and thought it was enough.

I added a test case to prove the failing case.

@edouard-lopez edouard-lopez merged commit 6f16530 into pure-fish:master Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug something that doesn't works as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants