Formatter not using environment path #8582
Unanswered
GNITOAHC
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
Same thing as #5538 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
formatter = { command = "clang-format", args = ["--style=file:~/.clang_format"] }
andformatter = { command = "clang-format", args = ["--style=file:/$HOME/.clang_format"] }
both don't works but if I use the full path i.e.
--style=file:/Users/username/.clang_format
it does works.How can I config this
languages.toml
so that this config can be more portable ?BTW,
--style=file:~/.clang_format
works quite well in my Neovim config so I have no idea why this don't work.Beta Was this translation helpful? Give feedback.
All reactions