[autohotkey] Enable auto-completion

This commit is contained in:
syl20bnr 2021-03-03 22:38:58 -05:00
parent a8aa24af45
commit 0a0d623c19

View file

@ -10,7 +10,11 @@
;;
;;; License: GPLv3
(setq autohotkey-packages '(ahk-mode))
(setq autohotkey-packages
'(
company
ahk-mode
))
(defun autohotkey/init-ahk-mode ()
(use-package ahk-mode
@ -30,3 +34,9 @@
"eb" 'ahk-run-script
"hh" 'ahk-lookup-web
"hH" 'ahk-lookup-chm))))
(defun autohotkey/post-init-company ()
(spacemacs|add-company-backends
:backends company-capf
:modes ahk-mode
:variables company-tooltip-align-annotations t))