clang-format ignores my .clang-format file #98
Unanswered
samuel-garmany
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was going to make this an issue but I couldn't get the minimal config to work.
I'm using Fedora Silverblue but running neovim with NvChad in a toolbox. When I format through saving or fm none-ls only formats to default LLVM style when my .clang-format is set to microsoft. The same config works on Mac so I'm not sure why linux isn't happy. I've tried in a Fedora and an Arch container.
It also works to call clang-format with the file:
The problem could be with my configs but that doesn't really explain why Mac works when Linux doesn't.
Relevant config snippets:
mappings.lua
plugins.lua
null-ls.lua
How can I make clang-format use my .clang-format file?
Beta Was this translation helpful? Give feedback.
All reactions