chore(lang): Set RET key for sh-mode-map with use-package

This commit is contained in:
2020-03-16 01:03:10 +00:00
parent c6f919dfe1
commit faa82907d9

View File

@@ -15,6 +15,10 @@
"zshenv\\'"
"zshrc\\'"
:bind
(:map sh-mode-map
("RET" . newline-and-indent))
:hook
(sh-mode . siren-sh-mode-setup)
@@ -25,8 +29,7 @@
sh-indentation 2
whitespace-action '(auto-cleanup))
(subword-mode +1)
(define-key sh-mode-map (kbd "RET") 'newline-and-indent)))
(subword-mode +1)x))
(provide 'siren-sh)
;;; siren-sh.el ends here