pearofducks / ansible-vim

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

Make ansible_yaml_filetype_name customizable #69

Closed ix5 closed 5 years ago

ix5 commented 5 years ago

Introduce variable g:ansible_yaml_filetype_name = 'yaml.ansible'

Accepts a string which will match the detected filetype for ansible yaml files. Useful in conjunction with ctags and tagbar, which expect ansible.yaml instead of yaml.ansible

pearofducks commented 5 years ago

This sounds more like a malfunction with those plugins than something this plugin should support. I'm not interested in supporting errors caused by people setting their own filetype.

Something like #57 might also solve this, by simply improving user overrides?

Regardless I'm closing this and will point anyone else to this PR who needs similar functionality, but don't feel it's worth merging.