On Thursday, 5 October 2017 at 04:57:09 UTC, John Gabriele wrote:
I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4 spaces instead?

Add below snippet to your .emacs file

(add-hook 'd-mode-hook
          (lambda ()
            (setq c-basic-offset 4)
            (setq tab-width 4)))

Reply via email to