mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
29 lines
659 B
EmacsLisp
29 lines
659 B
EmacsLisp
;;; siren-lua.el --- jimeh's Emacs Siren: lua-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for lua-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-programming)
|
|
|
|
(siren-require-packages '(lua-mode))
|
|
|
|
(defun siren-lua-mode-defaults ()
|
|
(siren-prog-mode-defaults)
|
|
|
|
(highlight-indentation-mode)
|
|
(highlight-indentation-current-column-mode)
|
|
(setq whitespace-action (quote (auto-cleanup)))
|
|
;; (define-key lua-mode-map (kbd "RET") 'newline-and-indent)
|
|
)
|
|
|
|
(setq siren-lua-mode-hook 'siren-lua-mode-defaults)
|
|
|
|
(add-hook 'lua-mode-hook (lambda ()
|
|
(run-hooks 'siren-lua-mode-hook)))
|
|
|
|
(provide 'siren-lua)
|
|
;;; siren-lua.el ends here
|