diff --git a/etc/soft/nvim/ftdetect/detect.vim b/etc/soft/nvim/ftdetect/detect.vim index a5de4f0..83df7d3 100644 --- a/etc/soft/nvim/ftdetect/detect.vim +++ b/etc/soft/nvim/ftdetect/detect.vim @@ -62,6 +62,8 @@ au BufNewFile,BufRead *.tf setlocal filetype=terraform au BufNewFile,BufRead *.tfvars setlocal filetype=terraform au BufNewFile,BufRead *.tfstate setlocal filetype=json +au BufNewFile,BufRead Containerfile setlocal filetype=dockerfile + " Открывать справку в вертикальном окне au! BufEnter * if &ft ==# 'help' | wincmd L | endif