If you do the following in emac's clay-mode, it won't indent correctly.
// happens with any braces
void main() {
}
After you put this in, if you go to the center and press tab, it will not indent. It only happens when you close the brace before typing. If you tab and type a line of code into the middle area then it will work. It only doesn't work if the closing brace is there before indenting.
It's annoying when your coding style is "function, braces, close braces, then type body".
If you do the following in emac's clay-mode, it won't indent correctly.
// happens with any braces
void main() {
}
After you put this in, if you go to the center and press tab, it will not indent. It only happens when you close the brace before typing. If you tab and type a line of code into the middle area then it will work. It only doesn't work if the closing brace is there before indenting.
It's annoying when your coding style is "function, braces, close braces, then type body".