I'm relatively new to spacemacs. I am editing a coffee-script file, so am using coffee-mode

The indents keeps doubling... so 4, 8, 16, 32 .... the further I nest...

Example what's wrong: (When I press RET after left bracket (right bracket auto-inserted)

what happens

Expected behavior:

enter image description here

When I do C-h m, I notice this: I am not sure what shadowed binding does, maybe that has something to do with it?

key             binding                                                                
---             -------                                                                

RET             coffee-newline-and-indent                                              
  (that binding is currently shadowed by another mode)  


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.