-
Notifications
You must be signed in to change notification settings - Fork 123
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
Overriding an option from .clang-format #109
Comments
I am having the same trouble. I have different .clang-format in my different projects and I wanted to overwrite the .clang-format from the parent directory of the open buffer. let g:clang_format#code_style='google' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
Is there a way to specify an option that overrides the one found in .clang-format in the directory tree? I notice the
let g:clang_format#style_options = {
variable, but it isn't clear if specifying options there is additive to the ones found in .clang-format or a replacement, and if it's the former, as to which one overwrites the other. This perhaps depends on the behavior of clang-format itself but could this be clarified under https://github.com/rhysd/vim-clang-format#customization ?Thanks.
The text was updated successfully, but these errors were encountered: