From 11db046fc7bf1288b3237a7649441dfec6c19ab9 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 27 Jun 2015 14:23:51 +0900 Subject: [PATCH] [neovim] Fix #281 - Properly close window with winnr 1 --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index cc463de..a149e79 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -249,7 +249,7 @@ function! s:calc_size(max, val) endfunction function! s:getpos() - return {'tab': tabpagenr(), 'win': winnr()} + return {'tab': tabpagenr(), 'win': winnr(), 'cnt': winnr('$')} endfunction function! s:split(dict)