I installed the c-c++ layers in Spacemacs. When I invoke indent-region, Spacemacs splits lines that are longer than 80 characters. How can I prevent this behavior?

auto-fill-mode is not enabled and setting fill-column to an higher value does not work.

For the moment I am using clang-format instead of indent-region as a workaround, but I would like indent-region to behave as I described.

  • auto-fill-mode shouldn't be related to this at all, as it's normally used only for comments in code. – DoMiNeLa10 Nov 1 '18 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.