I use the syntaxhighlighting under RHEL7, and it wasn't usable.
Under Ubuntu it is perfect.
Please change two things.
- Rename the files to dockerfile.vim
- change the ftdetect/Dockerfile vim and set:
" Dockerfile
autocmd BufRead,BufNewFile Dockerfile set ft=Dockerfile
autocmd BufRead,BufNewFile Dockerfile* set ft= Dockerfile
autocmd BufRead,BufNewFile *.dock set ft=Dockerfile
At this way the syntaxhighlithting is usable under RHEL7.
Greets
I use the syntaxhighlighting under RHEL7, and it wasn't usable.
Under Ubuntu it is perfect.
Please change two things.
" Dockerfile
autocmd BufRead,BufNewFile Dockerfile set ft=Dockerfile
autocmd BufRead,BufNewFile Dockerfile* set ft= Dockerfile
autocmd BufRead,BufNewFile *.dock set ft=Dockerfile
At this way the syntaxhighlithting is usable under RHEL7.
Greets