Refactor modules to optimize autoloads + startup

This commit is contained in:
Henrik Lissner 2016-05-01 01:10:30 -04:00
parent 8769c3187b
commit 0a78922471
18 changed files with 103 additions and 90 deletions

View file

@ -1,6 +1,8 @@
;;; module-data.el
(associate! nxml-mode :match "\\.plist$")
(after! nxml-mode
(def-company-backend! nxml-mode (nxml yasnippet)))
(use-package toml-mode :mode "\\.toml$")
@ -20,11 +22,9 @@
;;
(def-project-type! ansible-mode "ans"
:modes (yaml-mode)
:files ("roles/"))
(use-package company-ansible
:commands (company-ansible)
:init (def-company-backend! ansible-mode (ansible)))
:files ("roles/")
(def-company-backend! ansible-mode (ansible)))
(use-package company-ansible :commands (company-ansible))
(def-project-type! vagrant "vagrant"
:files ("Vagrantfile"))