pearofducks / ansible-vim

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

Recognize filenames containing @ #53

Closed poppyschmo closed 6 years ago

poppyschmo commented 6 years ago

Description: Previously, commands like :normal gf wouldn't work for files like myunit@.service.j2. See systemd.unit(5).

Rationale: Flimsy. Users could just as well keep stuff like this in after/ftplugin. Just figured, this being Ansible, that messing with systemd units is common enough to warrant this.

pearofducks commented 6 years ago

I agree this is a common enough use-case, and a harmless enough change to make that it's worthwhile. I highly doubt this will break someone's setup and fixes something that should work.

pearofducks commented 6 years ago

👍 Thanks for the PR!