From 7215d356949bf07960cc3a3d8b83772635d729d0 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Mon, 16 Aug 2021 11:39:17 -0600 Subject: [PATCH] feat: defaults: inccommand=nosplit #15395 --- runtime/doc/options.txt | 2 +- src/nvim/options.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index f0ce15ac0f..484ea4465f 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3213,7 +3213,7 @@ A jump table for the options with a short description can be found at |Q_op|. option to a valid keymap name. *'inccommand'* *'icm'* -'inccommand' 'icm' string (default "") +'inccommand' 'icm' string (default "nosplit") global "nosplit": Shows the effects of a command incrementally, as you type. diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 8a45cb69fa..7e4609d2ce 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1181,7 +1181,7 @@ return { type='string', scope={'global'}, redraw={'all_windows'}, varname='p_icm', - defaults={if_true={vi=""}} + defaults={if_true={vi="nosplit"}} }, { full_name='include', abbreviation='inc',