mirror of
https://github.com/dense-analysis/ale
synced 2025-01-26 09:45:34 +00:00
78942df284
When linting an header file in C or C++, `-x c-header` or `-x c++-header` should be used instead of `-x c` or `-x c++`. Using `-x c` or `-x c++` for headers files can lead to unused variables and functions marked as static inlined as seen in #4096. Using `-x c-header` or `-x c++-header` solve these issues. The list of file extensions that are considered as header files can be configured with the variables `g:ale_c_cc_header_exts` and `g:ale_cpp_cc_header_exts`. |
||
---|---|---|
.. | ||
ale | ||
asyncomplete/sources | ||
ale.vim |