From c7a9d21d6ffb47491c2e12fa394a00543a9903c5 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Tue, 3 Apr 2018 21:35:45 +0200 Subject: [PATCH] Add a dockerfile for quick, manual testing. --- Dockerfile.repro | 8 ++++++++ doc/minimal_vimrc.vim | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Dockerfile.repro create mode 100644 doc/minimal_vimrc.vim diff --git a/Dockerfile.repro b/Dockerfile.repro new file mode 100644 index 0000000..3f8da29 --- /dev/null +++ b/Dockerfile.repro @@ -0,0 +1,8 @@ +FROM ultisnips + +RUN curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + +ADD doc/minimal_vimrc.vim /root/.vimrc + +RUN vim -c 'PlugInstall | qa' diff --git a/doc/minimal_vimrc.vim b/doc/minimal_vimrc.vim new file mode 100644 index 0000000..9dee397 --- /dev/null +++ b/doc/minimal_vimrc.vim @@ -0,0 +1,11 @@ +call plug#begin('~/.vim/plugged') + +Plug 'SirVer/ultisnips' +Plug 'honza/vim-snippets' + +let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" +let g:UltiSnipsEditSplit="vertical" + +call plug#end()