Files
.emacs.d/modules/siren-lua.el
Jim Myhrberg 671c924716 Remove use of highlight-indentation-mode
It effects performance quite badly in large files with lots of
indentation levels. I still use
highlight-indentation-current-column-mode though as it doesn't have such
a bad impact on performance.
2016-04-04 09:24:03 +01:00

28 lines
628 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-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