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

docs: Add a short sections on helpers #1093

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

traxys
Copy link
Member

@traxys traxys commented Feb 14, 2024

No description provided.

@traxys traxys requested a review from GaetanLepage February 14, 2024 21:07
docs/helpers.md Outdated
Comment on lines 19 to 22
- `helpers.emptyTable`: An empty lua table `{}` that will be included in the final lua configuration.

- `helpers.mkRaw str`: Write the string `str` as raw lua in the final lua configuration.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we could give the equivalence here: .__raw = "value" and __empty = <whatever>.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes!

Copy link
Member

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

Great idea !!!

@traxys traxys merged commit 375453f into nix-community:main Feb 14, 2024
39 checks passed
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