ansible: simplify filename matching re
This commit is contained in:
parent
7ec33ba974
commit
c5c63f48ca
|
@ -1081,6 +1081,7 @@ Other:
|
||||||
- Improvements:
|
- Improvements:
|
||||||
- Added support for multiple vault password files, see the layer =README.org=
|
- Added support for multiple vault password files, see the layer =README.org=
|
||||||
(thanks to Sylvain Benner)
|
(thanks to Sylvain Benner)
|
||||||
|
- Simplified filename matching re (thanks to Anatoli Babenia)
|
||||||
- Fixes:
|
- Fixes:
|
||||||
- Fixed ansible-doc-mode error on ~SPC h d k~
|
- Fixed ansible-doc-mode error on ~SPC h d k~
|
||||||
(thanks to Codruț Constantin Gușoi)
|
(thanks to Codruț Constantin Gușoi)
|
||||||
|
|
|
@ -19,4 +19,4 @@ If non-nil then encrypted files are automatically decrypted when opened and
|
||||||
;; detect filenames compatible with Ansible's recommended layout.
|
;; detect filenames compatible with Ansible's recommended layout.
|
||||||
;; http://docs.ansible.com/playbooks_best_practices.html#directory-layout
|
;; http://docs.ansible.com/playbooks_best_practices.html#directory-layout
|
||||||
(setq spacemacs--ansible-filename-re
|
(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/.+\\)")
|
||||||
|
|
Loading…
Reference in a new issue