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

Support fish shell #26

Merged
merged 10 commits into from
Jun 28, 2023
Merged

Support fish shell #26

merged 10 commits into from
Jun 28, 2023

Conversation

lewisacidic
Copy link
Contributor

Hi - thanks for the great library, such a helpful example of the power of treesitter.

I've implemented endwise queries for the fish shell language.

I also added some test cases, but I haven't actually been able to configure my system correctly in order to run them. I think they each passed under manual testing...

Let me know if you need anything else from my end.


test "fish, global function with options", <<~END
-function foo --on-signal WINCH █
+function foo --on-signal WINCH
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
+function foo --on-signal WINCH
+function foo --on-signal WINCH

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ooops I'll fix that.

Copy link
Owner

@RRethy RRethy left a comment

Choose a reason for hiding this comment

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

You can run the tests with ruby ./tests/runner.rb fish, although I should create a Makefile lol. I marked the failing test when I ran it locally.

@lewisacidic
Copy link
Contributor Author

I think I tried that and had problems. Presumably my ruby is dodgy or neovim config is different or something. Would be awesome to set up CI with actions.

@lewisacidic
Copy link
Contributor Author

Fix is in anyway :) Thanks for getting to it so fast!

@RRethy RRethy merged commit 9298b3a into RRethy:master Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants