You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am learning C/C++ so I have many folders to store my codes. Thus I wander if I can use one .clang-format file to format all my codes to avoid copying all my .clang-format into every folder.
The text was updated successfully, but these errors were encountered:
Maybe you already have reached a solution to this.
If you are using g:clang_format#detect_style_file, one way is to define your .clang-format file in the parent directory.
Another way is to have no specific .clang-format, but using g:clang_format#style_options, but depending on how many you have, it might not be feasible.
I am learning C/C++ so I have many folders to store my codes. Thus I wander if I can use one .clang-format file to format all my codes to avoid copying all my .clang-format into every folder.
The text was updated successfully, but these errors were encountered: