diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 45d41772..160cccbf 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -34,6 +34,15 @@ augroup fireplace \ endfor augroup END +" Keep Fireplace :Last previews out of buffer pickers +augroup fireplace_preview_enforce + autocmd! + autocmd BufWinEnter,WinEnter,BufEnter * + \ if &previewwindow && &filetype =~# '^clojure' | + \ setlocal nobuflisted bufhidden=wipe | + \ endif +augroup END + command! -bar -bang -complete=customlist,fireplace#ConnectComplete -nargs=* FireplaceConnect \ exe fireplace#ConnectCommand(, , +'', 0, , , []) command! -bang -range -complete=customlist,fireplace#CljEvalComplete -nargs=* CljEval