Header files (.h) don't follow config #9555
Unanswered
gruelingpine185
asked this question in
Troubleshooting
Replies: 2 comments 1 reply
-
May I ask why my issue was closed? Nobody gave context or any information regarding any of my questions nor spoke about the underlying issue so I see no reason why it's closed. |
Beta Was this translation helpful? Give feedback.
1 reply
-
We try to determine the indent style from the file contents (see #245). As @pascalkuthe mentioned (#9082 (comment)) this can behave poorly on small files. I've created an enhancement-style issue to improve that here: #9556 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Say I have the following header file for a C program:
However, within a C file (
.c
) nothing out of the ordinary occurs regarding my configuration below. It indents by 4 spaces, which is what I want it to do.My config file:
Beta Was this translation helpful? Give feedback.
All reactions