From 58fbcea3c415e27aee7f2645b8f7b69fe7ae8fab Mon Sep 17 00:00:00 2001 From: Jorden Kreps Date: Thu, 21 Jul 2022 12:02:28 -0700 Subject: [PATCH] fix: add new g:gotests_template to plugin definition Relates to https://github.com/buoto/gotests-vim/issues/9 --- plugin/vim-gotests.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/vim-gotests.vim b/plugin/vim-gotests.vim index c2d3045..a626366 100644 --- a/plugin/vim-gotests.vim +++ b/plugin/vim-gotests.vim @@ -14,5 +14,9 @@ if !exists('g:gotests_template_dir') let g:gotests_template_dir = '' endif +if !exists('g:gotests_template') + let g:gotests_template = '' +endif + command! -range GoTests ,call gotests#tests() command! GoTestsAll call gotests#alltests()