Skip to content
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

.clang-format file in root of repo #87

Open
ldelossa opened this issue Jul 12, 2019 · 3 comments
Open

.clang-format file in root of repo #87

ldelossa opened this issue Jul 12, 2019 · 3 comments

Comments

@ldelossa
Copy link

Hello,

Will vim-clang-format obey a .clang-format file at the root of the repository even if directives in vimrc are set otherwise?

@kdurant
Copy link

kdurant commented Aug 14, 2019

I also want to know use g:clang_format#style_options or .clang-format file

@ldelossa
Copy link
Author

@kdurant it does do what i asked above. .clang-format in repository will override defaults in vim config

@0v3rt1r3d
Copy link

What if the working directory does not correspond to the project root? May I set the path to .clang-format explicitly by a variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants