*.h files recognized as C++ filetype but I am working on a C project. #3932
Answered
by
hsanson
ubaldot
asked this question in
Q&A - Ask for help with problems
-
I am working on a
Here is my
|
Beta Was this translation helpful? Give feedback.
Answered by
hsanson
Oct 9, 2021
Replies: 1 comment 2 replies
-
ALE does not recognizes filetypes, it follows whatever vim sets as filetype. Simplest way is to create an auto command in you config:
Check :h filetype-overrule for more in deep details. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ubaldot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ALE does not recognizes filetypes, it follows whatever vim sets as filetype.
You will have to configure vim to set filetype=c for header files if you want ALE to treat them as c files.
Simplest way is to create an auto command in you config:
Check :h filetype-overrule for more in deep details.