Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile*.java is detected as dockerfile #74

Closed
yaohui-wyh opened this issue Sep 6, 2021 · 0 comments
Closed

Dockerfile*.java is detected as dockerfile #74

yaohui-wyh opened this issue Sep 6, 2021 · 0 comments

Comments

@yaohui-wyh
Copy link
Contributor

Repro case:

For a Java file (e.g. DockerfileConfig.java from OpenJDK), vim (with Dockerfile.vim plugin) would detect the filetype as dockerfile

Screenshot
https://github.com/openjdk/jdk/blob/master/test/lib/jdk/test/lib/containers/docker/DockerfileConfig.java
image

Expected behavior:

For [Dd]ockerfile* files, Dockerfile.vim wouldn't override filetype as dockerfile

ekalinin added a commit that referenced this issue Sep 6, 2021
fix #74: using setfiletype to avoid override filetype
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

No branches or pull requests

1 participant