-
Notifications
You must be signed in to change notification settings - Fork 50
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
insert license: support for using tabs instead of spaces #24
Comments
Hi @benthevining! |
If I want the comment prefix in C++ multiline comments to be blank, ie: - repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10
hooks:
- id: insert-license
name: "Insert license header in C++ source files"
args: [--license-filepath=util/lemons_header.txt,
'--comment-style=/*| | */',
--detect-license-in-X-top-lines=16] then the license header seems to be indented using space characters. This isn't a super pressing issue, though, I can live with using |
Thank you!!! |
Released in v1.1.11 |
This was referenced Jan 31, 2022
Merged
Closed
1 task
Merged
1 task
1 task
1 task
1 task
Merged
1 task
Merged
1 task
Merged
1 task
This was referenced Jan 31, 2022
chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.1.11
haraldkoch/kochhaus-home#329
Merged
1 task
1 task
Merged
1 task
This was referenced Mar 11, 2022
Merged
This was referenced Apr 2, 2022
Merged
1 task
This was referenced May 13, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the insert-license hook, it would be great if these was an option for using tabs to indent instead of spaces.
Thanks!
The text was updated successfully, but these errors were encountered: