andrew-3kb / atom-clang-format

Format your C++ files with clang-format from inside atom
MIT License
24 stars 19 forks source link

AllowShortIfStatementsOnASingleLine not working #89

Open amankhoza opened 4 years ago

amankhoza commented 4 years ago
clang-format failed with the below error. Consider reporting this by creating an issue here: https://github.com/LiquidHelium/atom-clang-format/issues.
Error message: "YAML:5:38: error: invalid boolean
AllowShortIfStatementsOnASingleLine: Never
                                     ^~~~~
amankhoza commented 4 years ago

Works fine when running clang-format manually from command line.

xipingyan commented 2 years ago

Don't work, even if press (ctrl+k, ctrl+f) manually, still don't work. The error is same: YAML:15:38: error: invalid boolean AllowShortIfStatementsOnASingleLine: Never

Error reading /home/..../.clang-format: Invalid argument

xipingyan commented 2 years ago

What if I change input method from Chinese to default English, it will work fine. Maybe it conflicts with input tool.