Skip to content
New issue

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

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

Already on GitHub? # to your account

Use single underscore for function/variables #113

Merged
merged 3 commits into from
Sep 29, 2021
Merged

Use single underscore for function/variables #113

merged 3 commits into from
Sep 29, 2021

Conversation

kidonng
Copy link
Contributor

@kidonng kidonng commented Jul 25, 2021

Recently I've been thinking that most Fish plugins agree on using a single underscore for their "private" functions, while Fish exclusively uses two (except for _validate_int, which is being tackled with fish-shell/fish-shell#8168).

IMO it's worth it to be consistent with most Fish plugins out there.

Copy link
Owner

@franciscolourenco franciscolourenco left a comment

Choose a reason for hiding this comment

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

Thank you @kidonng 👍

@franciscolourenco
Copy link
Owner

@kidonng there is a small conflict which needs to be fixed before merging.

@franciscolourenco franciscolourenco merged commit f3f66e1 into franciscolourenco:master Sep 29, 2021
franciscolourenco added a commit that referenced this pull request Oct 3, 2021
This reverts commit f3f66e1, reversing
changes made to 0ed0e3d.
franciscolourenco added a commit that referenced this pull request Oct 3, 2021
Changing `__done` to `_done` broke the configuration of existing users.
It was decided to revert to original.

Futher changes to this need to be backwards compatible.

This reverts commit f3f66e1, reversing
changes made to 0ed0e3d.

Fix #119
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants