diff options
author | Christian Clason <c.clason@uni-graz.at> | 2021-12-27 11:12:44 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2021-12-27 12:52:17 +0100 |
commit | 5743b0345c3d5ccc2a7dd63b47e7ccf9fd517018 (patch) | |
tree | e3aa1ab51a96c5d45e11ea202350d76d2bd23d5f /runtime/filetype.vim | |
parent | 06ca0667a1719c7e105fd7e0844ff73cc90af0e4 (diff) | |
download | rneovim-5743b0345c3d5ccc2a7dd63b47e7ccf9fd517018.tar.gz rneovim-5743b0345c3d5ccc2a7dd63b47e7ccf9fd517018.tar.bz2 rneovim-5743b0345c3d5ccc2a7dd63b47e7ccf9fd517018.zip |
vim-patch:8.2.3905: Dockerfile using prefix name not recognized
Problem: Dockerfile using prefix name not recognized.
Solution: Recognize Dockerfile.*. (closes vim/vim#9410)
https://github.com/vim/vim/commit/c88ac94a0bdc70012558813404821fe077f1de20
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 2c5064489b..8071002566 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -392,7 +392,8 @@ au BufNewFile,BufRead configure.in,configure.ac setf config " CUDA Compute Unified Device Architecture au BufNewFile,BufRead *.cu,*.cuh setf cuda -" Dockerfilb; Podman uses the same syntax with name Containerfile +" Dockerfile; Podman uses the same syntax with name Containerfile +" Also see Dockerfile.* below. au BufNewFile,BufRead Containerfile,Dockerfile,*.Dockerfile setf dockerfile " WildPackets EtherPeek Decoder @@ -2237,6 +2238,9 @@ au BufNewFile,BufRead crontab,crontab.*,*/etc/cron.d/* call s:StarSetf('crontab " dnsmasq(8) configuration au BufNewFile,BufRead */etc/dnsmasq.d/* call s:StarSetf('dnsmasq') +" Dockerfile +au BufNewFile,BufRead Dockerfile.* call s:StarSetf('dockerfile') + " Dracula au BufNewFile,BufRead drac.* call s:StarSetf('dracula') |