pearofducks / ansible-vim

A vim plugin for syntax highlighting Ansible's common filetypes
MIT License
800 stars 98 forks source link

Ftdetect control filenames #125

Closed henrik-farre closed 3 years ago

henrik-farre commented 3 years ago

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

pearofducks commented 3 years ago

Great idea, thanks for the PR!