mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Indent on "RET" keypress in sh-mode
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
(setq sh-basic-offset 2)
|
||||
(setq sh-indentation 2)
|
||||
(setq highlight-indentation-offset 2)
|
||||
(highlight-indentation-mode))
|
||||
(highlight-indentation-mode)
|
||||
(define-key sh-mode-map (kbd "RET") 'reindent-then-newline-and-indent))
|
||||
|
||||
(add-hook 'sh-mode-hook 'customizations-for-sh-mode)
|
||||
|
||||
Reference in New Issue
Block a user