From c7ad97c641aa9b3fa6af13431381e27539a5985d Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 16 Aug 2017 21:27:10 -0400 Subject: [PATCH] [neovim] use terminal in Windows for v0.2.1+ --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index d3673b3..1565db8 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -385,7 +385,7 @@ try let use_height = has_key(dict, 'down') && \ !(has('nvim') || s:is_win || has('win32unix') || s:present(dict, 'up', 'left', 'right')) && \ executable('tput') && filereadable('/dev/tty') - let use_term = has('nvim') && !s:is_win + let use_term = has('nvim-0.2.1') || (has('nvim') && !s:is_win) let use_tmux = (!use_height && !use_term || prefer_tmux) && !has('win32unix') && s:tmux_enabled() && s:splittable(dict) if prefer_tmux && use_tmux let use_height = 0