.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit b8180cb5a64f2bb2701501cd74c1eb4ebfad3c88
parent 8add52df86af1a5b80d7f9fdf4ac0807fb89bae0
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Mon,  4 Jun 2018 10:20:38 -0400

use-package for ac depencies

Diffstat:
Mpartials/autocompletion.el | 30++++++++++++++++++++++++++----
1 file changed, 26 insertions(+), 4 deletions(-)

diff --git a/partials/autocompletion.el b/partials/autocompletion.el @@ -1,14 +1,36 @@ ;; Autocompletion -;; (use-package auto-complete ;; Auto Completion for GNU Emacs. :ensure t :pin melpa - :requires - (ac-html ac-html-csswatcher ac-js2 ac-php ac-php-core) :config (global-auto-complete-mode t)) +(use-package ac-html + ;; auto complete source for html tags and attributes + :ensure t + :pin melpa) + +(use-package ac-html-csswatcher + ;; css/less class/id completion with `ac-html' or `company-web' + :ensure t + :pin melpa) + +(use-package ac-js2 + ;; Auto-complete source for Js2-mode, with navigation + :ensure t + :pin melpa) + +(use-package ac-php + ;; auto-completion source for php + :ensure t + :pin melpa) + +(use-package ac-php-core + ;; gen tags for php + :ensure t + :pin melpa) + (use-package tern ;; Tern-powered JavaScript integration :ensure t @@ -23,7 +45,7 @@ (setq company-tooltip-limit 20) (setq company-tooltip-align-annotations 't) - (setq company-idle-delayq 0.1) + (setq company-idle-delay 0.1) (setq company-begin-commands '(self-insert-command)) (setq company-etags-everywhere '(php-mode html-mode web-mode nxml-mode scss-mode css-mode js2-mode)))