Replies: 1 comment 4 replies
-
The file is
|
Beta Was this translation helpful? Give feedback.
4 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.
-
I am working with a C codebase, and I have
clangd
installed - the autocompletion works just fine.However, it seems that formatting doesn't, at least no the way I would like it to.
I have a
language.toml
file, that looks like this:I always want the indentation to be 4 spaces in my code - ideally automatically whenever I save.
As of now, it doesn't. The indentation stays at 2 spaces (which I believe is the default of helix).
Running
:format
manually also doesn't change the indentation to 4 spaces - am I missing something?EDIT: It seems like the configuration doesn't have any affect at all? Changing the unit to e.g. two spaces also doesn't change anything?
Beta Was this translation helpful? Give feedback.
All reactions