Hello,
I’m new to C, and I’m currently setting up my environment.
I would like to know if there’s a way to use a global .clang-format
, without having to set up a format file (and potentially synchronize them) for each project?
Thank you
Hello,
I’m new to C, and I’m currently setting up my environment.
I would like to know if there’s a way to use a global .clang-format
, without having to set up a format file (and potentially synchronize them) for each project?
Thank you
I just realized that, because all of my projects are in ~/repos
, putting a .clang-format
in the home directory would actually make it the fallback!
I didn’t realize this earlier, hope this information helps someone who’s looking for the same thing