aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--src/nvim/options.lua2
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',