ansible: simplify filename matching re

This commit is contained in:
Anatoli Babenia 2019-08-28 14:06:06 +03:00 committed by duianto
parent 7ec33ba974
commit c5c63f48ca
2 changed files with 2 additions and 1 deletions

View File

@ -1081,6 +1081,7 @@ Other:
- Improvements:
- Added support for multiple vault password files, see the layer =README.org=
(thanks to Sylvain Benner)
- Simplified filename matching re (thanks to Anatoli Babenia)
- Fixes:
- Fixed ansible-doc-mode error on ~SPC h d k~
(thanks to Codruț Constantin Gușoi)

View File

@ -19,4 +19,4 @@ If non-nil then encrypted files are automatically decrypted when opened and
;; detect filenames compatible with Ansible's recommended layout.
;; http://docs.ansible.com/playbooks_best_practices.html#directory-layout
(setq spacemacs--ansible-filename-re
".*\\(main\.yml\\|site\.yml\\|encrypted\.yml\\|roles/.+\.yml\\|group_vars/.+\\|host_vars/.+\\)")
".*\\(\\(main\\|site\\|encrypted\\|roles/.+\\)\.yml\\|group_vars/.+\\|host_vars/.+\\)")