Add detection for projects that are ansible roles
Ansible roles _often_ have a `tasks/main.yml` file in them, and benefit from some of the nice ansible syntax highlighting.
This commit is contained in:
parent
03b0a834dd
commit
11ff294f7d
1 changed files with 1 additions and 1 deletions
|
@ -30,4 +30,4 @@
|
|||
(def-project-mode! +ansible-yaml-mode
|
||||
:modes '(yaml-mode)
|
||||
:add-hooks '(ansible ansible-auto-decrypt-encrypt ansible-doc-mode)
|
||||
:files ("roles/"))
|
||||
:files (or "roles/" "tasks/main.yml"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue