Lua: Defvar and make byte compiler happy
This commit is contained in:
parent
3fa749ac49
commit
7a35806560
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue