Skip to content

Commit

Permalink
added company-mode hook for lua-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mijoharas committed May 28, 2015
1 parent 509812c commit 5a19a09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/!lang/lua/packages.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(setq lua-packages
'(
company
flycheck
lua-mode
))
Expand All @@ -21,3 +22,7 @@
(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 ()
(message "foobar")
(add-hook 'lua-mode-hook 'company-mode))

0 comments on commit 5a19a09

Please sign in to comment.