From f2917a018a59def2c01ecb044b3830e641a31903 Mon Sep 17 00:00:00 2001 From: Prabir Shrestha Date: Wed, 30 Dec 2020 18:32:48 +0000 Subject: [PATCH] set nonumber for neovim term to match vim term settings --- autoload/fz.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fz.vim b/autoload/fz.vim index 974dadc..01a2302 100644 --- a/autoload/fz.vim +++ b/autoload/fz.vim @@ -174,7 +174,7 @@ function! fz#run(...) botright new let l:ctx['buf'] = bufnr('%') if s:is_nvim - call termopen(l:cmd, {'on_exit': function('s:exit_cb', [l:ctx]), 'cwd': l:ctx['basepath']}) | startinsert + call termopen(l:cmd, {'on_exit': function('s:exit_cb', [l:ctx]), 'cwd': l:ctx['basepath']}) | startinsert | set nonumber else call term_start(l:cmd, {'term_name': 'Fz', 'curwin': l:ctx['buf'] > 0, 'exit_cb': function('s:exit_cb', [l:ctx]), 'tty_type': 'conpty', 'cwd': l:ctx['basepath']}) endif