-
Notifications
You must be signed in to change notification settings - Fork 119
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
There's a problem with formatting #116
Comments
I posted solution on #111 I found solution to this issue. Reason: Solution:
Then you can copy example config from official website.
I recommend configuring things yourself but you can just use example config. After that check for any error in .clang-format file by typing given command in terminal. Edit: Also you should keep .clang-format in home directory so that its globally accessable. Checkout clang-format documentation here. |
this is .vimrc file
let g:clang_format#command = 'clang-format'
autocmd FileType c,cpp ClangFormatAutoEnable
I edit and format the .cc file first,Then edit the proto file and send an error when saving it。
Error detected while processing function clang_format#replace[6]..105_error_message:
line 1:
The text was updated successfully, but these errors were encountered: