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

Tab indentation #418

Open
MrAlias opened this issue Oct 18, 2024 · 4 comments
Open

Tab indentation #418

MrAlias opened this issue Oct 18, 2024 · 4 comments

Comments

@MrAlias
Copy link

MrAlias commented Oct 18, 2024

How can I have weaver render my comments with tab indentation?

Currently it will only output as far as I can tell.

Am I missing something?

@lquerel
Copy link
Contributor

lquerel commented Oct 18, 2024

You should be able to add one or several tab indentations in the weaver config for the header, prefix, footer.

@MrAlias
Copy link
Author

MrAlias commented Oct 18, 2024

Would that mean that all comments are at a static indentation level then?

@MrAlias
Copy link
Author

MrAlias commented Oct 18, 2024

I guess I could have multiple comment format configurations (i.e. go_1tab, go_2tab, go_3tab). That just seems a bit egregious.

@MrAlias
Copy link
Author

MrAlias commented Oct 18, 2024

I guess I could have multiple comment format configurations (i.e. go_1tab, go_2tab, go_3tab). That just seems a bit egregious.

I've given this a try and the rendered file still expands tabs into spaces. Is there a way to preserve tabs?

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

2 participants