From ab1d1d2aa80aa9b1fbf0f7351d84f4517a281777 Mon Sep 17 00:00:00 2001 From: Andrew Pennebaker Date: Sun, 22 Oct 2017 11:13:34 -0500 Subject: [PATCH] support *.Dockerfile Probably a good idea to treat `*.Dockerfile` as dockerfile format as well. In general, it's better to use the `Dockerfile` part as an extension rather than a basename. Signed-off-by: Andrew Pennebaker Upstream-commit: 2f5146ba1d413a7a07943648fd37e73f076361be Component: engine --- components/engine/contrib/syntax/vim/ftdetect/dockerfile.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/contrib/syntax/vim/ftdetect/dockerfile.vim b/components/engine/contrib/syntax/vim/ftdetect/dockerfile.vim index ee10e5d6a0..f7a962e073 100644 --- a/components/engine/contrib/syntax/vim/ftdetect/dockerfile.vim +++ b/components/engine/contrib/syntax/vim/ftdetect/dockerfile.vim @@ -1 +1 @@ -au BufNewFile,BufRead [Dd]ockerfile,Dockerfile.* set filetype=dockerfile +au BufNewFile,BufRead [Dd]ockerfile,Dockerfile.*,*.Dockerfile set filetype=dockerfile