Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Change indent width in scad-mode
+2
−0
MWE
translate()
square();
Problem
I'd like to set the number of spaces per indent in scad-mode to 2.
When I press tab on the second line in the MWE, it should result in:
translate()
square();
Tried
Tried setting tab-width, c-basic-offset, standard-indent using customize-variable.
I also tried this answer, changing text-mode to scad-mode and putting it in my dotspacemacs/user-init.
Notes
I am using spacemacs.

0 comment threads