aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-08-17 12:12:09 -0600
committerGregory Anders <greg@gpanders.com>2021-08-17 16:38:39 -0600
commitf6c72b745cfbaaba80555de9a5d4b25f30f17ab2 (patch)
treebc1875b3751034df8635e7209d83762f06fbf050 /runtime
parent15b736d6e88dba114294b84a21e463b77a0b2857 (diff)
downloadrneovim-f6c72b745cfbaaba80555de9a5d4b25f30f17ab2.tar.gz
rneovim-f6c72b745cfbaaba80555de9a5d4b25f30f17ab2.tar.bz2
rneovim-f6c72b745cfbaaba80555de9a5d4b25f30f17ab2.zip
feat(defaults): set hidden
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/vim_diff.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c3618328aa..555d4fd37b 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3078,7 +3078,7 @@ A jump table for the options with a short description can be found at |Q_op|.
See |help-translated|.
*'hidden'* *'hid'* *'nohidden'* *'nohid'*
-'hidden' 'hid' boolean (default off)
+'hidden' 'hid' boolean (default on)
global
When off a buffer is unloaded when it is |abandon|ed. When on a
buffer becomes hidden when it is |abandon|ed. If the buffer is still
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 7e1bd3e087..49996fd8b3 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -41,6 +41,7 @@ the differences.
- 'fillchars' defaults (in effect) to "vert:│,fold:·,sep:│"
- 'formatoptions' defaults to "tcqj"
- 'fsync' is disabled
+- 'hidden' is enabled
- 'history' defaults to 10000 (the maximum)
- 'hlsearch' is enabled
- 'incsearch' is enabled