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

[FEATURE] allow opting-out of templating for a setting #298

Open
ibotty opened this issue Oct 25, 2024 · 0 comments
Open

[FEATURE] allow opting-out of templating for a setting #298

ibotty opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ibotty
Copy link

ibotty commented Oct 25, 2024

Is your feature request related to a problem? Please describe.
Some files should just not be templated (think bash scripts). I know I can add {% raw %} ... {% endraw %} to every file.

Describe the solution you'd like
Maybe add another option to settings, like

bashrc_d = { source = "bashrc", target = ".config/bashrc.d", templating = false }

Defaulting that option to true is the right approach for backwards compat and feels right.

Describe alternatives you've considered
none.

@ibotty ibotty added the enhancement New feature or request label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants