ambevar-dotfiles/.emacs.d/lisp/init-lua.el

11 lines
286 B
EmacsLisp

;;; Lua
(with-no-warnings (defvaralias 'lua-indent-level 'tab-width))
(defun ambrevar/lua-set-compiler ()
(setq compile-command (concat lua-default-application " " (shell-quote-argument buffer-file-name))))
(add-hook 'lua-mode-hook 'ambrevar/lua-set-compiler)
(provide 'init-lua)