Lua: Defvar and make byte compiler happy

This commit is contained in:
James Nguyen 2018-01-06 09:54:36 -08:00
parent 3fa749ac49
commit 7a35806560
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@
(require 'evil)
(require 'lua-mode nil t)
(defvar lua-indent-level)
(defun evil-collection-lua-mode-set-evil-shift-width ()
"Set `evil-shift-width' according to `lua-indent-level'."
(setq evil-shift-width lua-indent-level))