-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is a noop. Returns (clang-format: success) in mini buffer #8
Comments
Yes, same for me. Worked for years, but currently it seems to be broken (just doesn't do anything) |
I had the same issue, and managed to fix the problem by replacing clang-format.el from melpa with the one in the newest clang installation. |
Finally, I figured it out. It only works if you have a .clang-format file: https://emacs.stackexchange.com/a/55650/8261 Otherwise, it will use the fallback style. I changed it now to:
By default, it is |
Thanks @philipp-classen , i-t works for me. |
Copy from the stackexchange: (*) To generate a .clang-format file, you can use:
|
Steps to reproduce open any file with extension
.cpp
. and runclang-format-buffer
.expected behaviour:
file changes
actual behaviour
noop.
The text was updated successfully, but these errors were encountered: