I am not even sure how to ask this. It feels like anytime I misindent one place in Emacs for a bigger CoffeeScript file, I end up spending a long time looking for the misindentation. Is there a better coffeescript.el
mode file that can solve this? Anybody running into similar problem? What is the best practice on that? It gets to a point I am kind of afraid to make change to that CoffeeScript file.
The README on the coffee-mode author page describes how indentation works. In short, create a global variable tab-width
either by putting (setq tab-width 4)
in your .emacs
, or by executing extended command M-x set-variable RET tab-width RET 4
.
If this is still not the desirable behavior, then file a bug on the author's issues page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With