Skip to content

Overriding an option from .clang-format #109

@uday-cb

Description

@uday-cb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions