Fix Docker Compose ftdetect #40

Merged
merged 1 commit into from Dec 29, 2016

Projects

None yet

2 participants

@eligundry
Contributor

This upgrade simplifies the Docker Compose file type detection down to
one regex. It also prevents that ftdetect from detecting itself.
Finally, it adds support for .yaml extensions and drops support for
docker-compose files without an extension, as that is madness.

I also changed all the setfs to set ft because it wasn't working in
Neovim for some reason.

@eligundry eligundry Fix Docker Compose ftdetect
This upgrade simplifies the Docker Compose file type detection down to
one regex. It also prevents that ftdetect from detecting itself.
Finally, it adds support for .yaml extensions and drops support for
docker-compose files without an extension, as that is madness.

I also changed all the `setf`s to `set ft` because it wasn't working in
Neovim for some reason.
71c8773
@ekalinin ekalinin merged commit cc32498 into ekalinin:master Dec 29, 2016
@ekalinin
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment