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

Feat: Preserve style and comments in Config object #33

Open
LucasDedieu opened this issue Feb 4, 2025 · 0 comments
Open

Feat: Preserve style and comments in Config object #33

LucasDedieu opened this issue Feb 4, 2025 · 0 comments

Comments

@LucasDedieu
Copy link
Contributor

Description

Currently, the confit library does not preserve comments, formatting, or other stylistic elements when reading, modifying, and rewriting configuration files. This results in a loss of valuable metadata and readability in the saved files.

An ideal solution would be to store style-related information (e.g., comments, indentation, etc.) within the confit.Config object. This would allow the library to reconstruct the original document with only the modified values, preserving the original structure and style.

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

No branches or pull requests

1 participant