Skip to content

Commit

Permalink
Allow forcing use of NeoVim terminal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmiffy128 committed Jul 2, 2017
1 parent 07ef2b0 commit 9d9229d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/fzf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,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 = exists('g:fzf_use_term') || (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
Expand Down

0 comments on commit 9d9229d

Please sign in to comment.