From 67078e0c34721178d2194de7677407f9fa146d1d Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 19 May 2014 19:26:13 -0400 Subject: [PATCH] Clarify projectionist requirement Closes #153. --- plugin/fireplace.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 29425d4..29ca3ef 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -1471,7 +1471,7 @@ augroup END " }}}1 " Legacy {{{1 -if !empty(findfile('plugin/leiningen.vim', escape(&rtp, ' '))) +if !empty(findfile('plugin/leiningen.vim', escape(&rtp, ' '))) && !empty(findfile('plugin/projectionist.vim', escape(&rtp, ' '))) finish endif @@ -1484,10 +1484,10 @@ function! s:define_alternates() abort if exists(':A') == 2 return endif - command! -buffer -bar -bang A echoerr 'Install leiningen.vim to continue using :A' - command! -buffer -bar -bang AS echoerr 'Install leiningen.vim to continue using :A' - command! -buffer -bar -bang AV echoerr 'Install leiningen.vim to continue using :A' - command! -buffer -bar -bang AT echoerr 'Install leiningen.vim to continue using :A' + command! -buffer -bar -bang A echoerr 'Install leiningen.vim and projectionist.vim to continue using :A' + command! -buffer -bar -bang AS echoerr 'Install leiningen.vim and projectionist.vim to continue using :A' + command! -buffer -bar -bang AV echoerr 'Install leiningen.vim and projectionist.vim to continue using :A' + command! -buffer -bar -bang AT echoerr 'Install leiningen.vim and projectionist.vim to continue using :A' endfunction " }}}1