clang-format: file style not working since 25.07.1 #14015
Unanswered
PierreBhs
asked this question in
Troubleshooting
Replies: 1 comment
-
From the docs it looks like you only need to set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
After upgrading to the latest Helix version on Arch
I tried to run
:fmt
on a .hpp file inside helix and got this error from the logs:helix_view::document [ERROR] Formatter error: Error reading .clang-format: No such file or directory
even though there is indeed a .clang-format file in my current directory (from where helix was executed).
I downgraded to 24.07-2 and the same command worked with the exact same environment.
Here is my language config:
and cpp related stuff:
Running on fish 4.0.2, with kitty 0.42.2
Reproduction Steps
Running :fmt inside a .hpp/.cpp file with clang-format configured to use --style=file:.clang-format'
Platform
Linux
Terminal Emulator
kitty 0.42.2
Installation Method
AUR
Helix Version
25.07.1-1.1
Beta Was this translation helpful? Give feedback.
All reactions