mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Electric-indent on words
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user