Closed GustavoOly closed 5 months ago
For some reason, Sublime's tab width does not generate the effect of indenting a .c file using clangd. When indenting my code (even with tab width with other values) it always indents to the value tab width 2.
You have to configure clangd with a .clang-format file in the root of your project. For example
.clang-format
IndentWidth: 4
For some reason, Sublime's tab width does not generate the effect of indenting a .c file using clangd. When indenting my code (even with tab width with other values) it always indents to the value tab width 2.