aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Schnitzer <mail@jakobschnitzer.de>2015-09-17 17:29:02 +0200
committerJakob Schnitzer <mail@jakobschnitzer.de>2015-09-17 19:38:24 +0200
commitfcd314223d117c5ea21eec2b0556b17b3b7bf2b4 (patch)
treedc29b9b245d288384824ab16e4f7ae193cf2ad70
parente3289e53540e6163128bec8865f433cc8c1b1d06 (diff)
downloadrneovim-fcd314223d117c5ea21eec2b0556b17b3b7bf2b4.tar.gz
rneovim-fcd314223d117c5ea21eec2b0556b17b3b7bf2b4.tar.bz2
rneovim-fcd314223d117c5ea21eec2b0556b17b3b7bf2b4.zip
options: unify undolevels default
Considering Nvim's supported platforms, having a different default for (!Unix and !Windows) doesn't seem very useful.
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--src/nvim/options.lua6
2 files changed, 2 insertions, 6 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index f591db3250..410e116064 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6557,7 +6557,7 @@ A jump table for the options with a short description can be found at |Q_op|.
When 'undofile' is turned off the undo file is NOT deleted.
*'undolevels'* *'ul'*
-'undolevels' 'ul' number (default 100, 1000 for Unix and Win32)
+'undolevels' 'ul' number (default 1000)
global or local to buffer |global-local|
Maximum number of changes that can be undone. Since undo information
is kept in memory, higher numbers will cause more memory to be used
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 472f1bf7ac..14f912f9e8 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2525,11 +2525,7 @@ return {
type='number', scope={'global', 'buffer'},
vi_def=true,
varname='p_ul',
- defaults={
- condition={'!UNIX', '!WIN3264'},
- if_true={vi=100},
- if_false={vi=1000},
- }
+ defaults={if_true={vi=1000}}
},
{
full_name='undoreload', abbreviation='ur',