Add company-mode hook for lua

This commit is contained in:
mike-work 2015-05-28 19:06:50 +01:00 committed by syl20bnr
parent 43acc9314f
commit 872b26e0ed

View file

@ -1,5 +1,6 @@
(setq lua-packages
'(
company
flycheck
lua-mode
))
@ -21,3 +22,6 @@
(evil-leader/set-key-for-mode 'lua-mode "msf" 'lua-send-defun)
(evil-leader/set-key-for-mode 'lua-mode "msl" 'lua-send-current-line)
(evil-leader/set-key-for-mode 'lua-mode "msr" 'lua-send-region))))
(defun lua/post-init-company ()
(add-hook 'lua-mode-hook 'company-mode))