S
ssecorp
emacs indents 2 chars only by defualt in ruby-mode.
how can I change to 4?
how can I change to 4?
^^^^^^^^^add line followed to the ruby-mode-hook:
as a sample:
(add-hook 'ruby-mode-hook
(lambda()
(set (make-local-variable 'tab-width) 4)))
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.