-
Notifications
You must be signed in to change notification settings - Fork 455
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
Ask about formatting #557
Comments
Duplicate of #470. Please change this line:
to return { "-style=file" } |
f.clang_format.with {
extra_args = {
string.format(
"--style=file:%s/.clang-format",
require("user.utils").get_root()
),
},
},
then you can implement the |
thanks! |
It sames failure. My file tree like this: ├── .git
├── src
│ ├── xxx.cpp
├── .clang-format |
Can u provide a complete |
|
ur map keys must be unique: .clang-format:9:1: error: redefinition of 'PointerAlignment' (map keys must be unique)
PointerAlignment: Right
^
.clang-format:1:1: note: previous definition is here
PointerAlignment: Left
^
1 error generated. |
Wow, It works and thanks. |
Suppose I have a .clang-format file in my project directory,will the format match the style of this file for formatting?
The text was updated successfully, but these errors were encountered: