2014-03-25 09:23:12 +01:00
|
|
|
;; Lua
|
|
|
|
|
2014-10-24 14:58:38 +02:00
|
|
|
(defvaralias 'lua-indent-level 'tab-width)
|
|
|
|
|
2014-03-25 09:23:12 +01:00
|
|
|
(add-hook-and-eval
|
|
|
|
'lua-mode-hook
|
|
|
|
(lambda ()
|
2015-04-19 13:25:29 +02:00
|
|
|
(set (make-local-variable 'compile-command) (concat "lua " (shell-quote-argument buffer-file-name)))))
|
2014-03-25 09:23:12 +01:00
|
|
|
|
|
|
|
(provide 'mode-lua)
|