Add define-project-type macro
This commit is contained in:
parent
dd3d51e750
commit
988f09365b
8 changed files with 142 additions and 128 deletions
|
@ -1,11 +1,8 @@
|
|||
;;; module-ansible.el
|
||||
|
||||
(after! company-dict
|
||||
(add-to-list 'company-dict-minor-mode-list 'ansible-mode))
|
||||
|
||||
(define-minor-mode ansible-mode
|
||||
:lighter " ans" :keymap (make-sparse-keymap))
|
||||
(associate! ansible-mode :in (yaml-mode) :files ("roles/"))
|
||||
(define-project-type! ansible-mode "ans"
|
||||
:modes (yaml-mode)
|
||||
:files ("roles/"))
|
||||
|
||||
(use-package company-ansible
|
||||
:commands (company-ansible)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue