aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-08-16 11:39:17 -0600
committerGitHub <noreply@github.com>2021-08-16 10:39:17 -0700
commit7215d356949bf07960cc3a3d8b83772635d729d0 (patch)
tree93a25c9ff6982c6333fa198714cc26b8b5d27dd2
parent0aa8128aaa9e6f714372f7ea7299f4115de0a962 (diff)
downloadrneovim-7215d356949bf07960cc3a3d8b83772635d729d0.tar.gz
rneovim-7215d356949bf07960cc3a3d8b83772635d729d0.tar.bz2
rneovim-7215d356949bf07960cc3a3d8b83772635d729d0.zip
feat: defaults: inccommand=nosplit #15395
-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',