Electric-indent on words
This commit is contained in:
parent
3c72351220
commit
28a720e626
4 changed files with 22 additions and 2 deletions
|
@ -16,6 +16,10 @@
|
|||
;; Formatting
|
||||
(setq ruby-deep-indent-paren t)
|
||||
|
||||
(add-hook! ruby-mode
|
||||
(electric-indent-local-mode +1)
|
||||
(setq narf-electric-indent-words '("else" "end" "elseif")))
|
||||
|
||||
;; Don't interfere with my custom RET behavior
|
||||
(define-key ruby-mode-map [?\n] nil)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue