Skip to content

Conversation

henrik-farre
Copy link
Contributor

This allows the regex used to identify if a file should have the Ansible filetype to be configured.

This makes it possible to avoid clashes with other yaml files that use the same names - e.g. .github/workflows/main.yaml

* Introduce g:ansible_ftdetect_filename_regex as configuration option
@pearofducks
Copy link
Owner

Great idea, thanks for the PR!

@pearofducks pearofducks merged commit c84f8bb into pearofducks:master Oct 7, 2021
@henrik-farre henrik-farre deleted the ftdetect_control_filenames branch October 8, 2021 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants