mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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"))
|
||||
|
Reference in New Issue
Block a user