coc-clangd icon indicating copy to clipboard operation
coc-clangd copied to clipboard

Disable code formating on coc-rename

Open markodevv opened this issue 4 years ago • 3 comments

is there a way to turn off code formating when using coc-rename? Or can i change the style of the format?

markodevv avatar Jul 01 '20 18:07 markodevv

is there a way to turn off code formating when using coc-rename

Not yet, but soon - once the config system lands we'd like to add a setting to disable implicit formatting.

Or can i change the style of the format?

.clang-format files should be respected.

sam-mccall avatar Jul 01 '20 20:07 sam-mccall

You can add --fallback-style=none in clangd.arguments

damiandimanov avatar Jan 10 '21 20:01 damiandimanov

Related Clangd issue: https://github.com/clangd/clangd/issues/271

kirillbobyrev avatar Jan 11 '21 09:01 kirillbobyrev

clangd's issue.

fannheyward avatar Dec 03 '22 01:12 fannheyward