2

Brand new to emacs and spacemacs. Hoping to learn the ropes.

I have added the following lines to my .spacemacs file:

(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq-default c-basic-offset 2)
(setq indent-line-function 'insert-tab)

;; Coffeescript specific tabbing requirements
(custom-set-variables '(coffee-tab-width 2))

It seems to work on every file but coffeescript files. For some reason, even with these settings, coffeescript files are still forced into tab-width 4.

Is there something I’m missing here? Not even sure how to debug this. The .spacemacs file loads fine.

Giacomo1968
  • 58,727
Steve
  • 21
  • 1
  • 2

0 Answers0