How to set indentation while using coc-format-select? #4668
-
I am writting C program with nvim installed coc. When i use coc-format-selected to format my code, indentation becom 2 spaces, however i need 4 spaces. |
Beta Was this translation helpful? Give feedback.
Answered by
fannheyward
Jun 6, 2023
Replies: 1 comment
-
clangd embeds |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CQUPTLei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
clangd embeds
clang-format
to format codes, you can set the indent with.clang-format
. https://clangd.llvm.org/features#formatting