options: unify undolevels default

Considering Nvim's supported platforms, having a different default for
(!Unix and !Windows) doesn't seem very useful.
This commit is contained in:
Jakob Schnitzer 2015-09-17 17:29:02 +02:00
parent e3289e5354
commit fcd314223d
2 changed files with 2 additions and 6 deletions

View File

@ -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. When 'undofile' is turned off the undo file is NOT deleted.
*'undolevels'* *'ul'* *'undolevels'* *'ul'*
'undolevels' 'ul' number (default 100, 1000 for Unix and Win32) 'undolevels' 'ul' number (default 1000)
global or local to buffer |global-local| global or local to buffer |global-local|
Maximum number of changes that can be undone. Since undo information Maximum number of changes that can be undone. Since undo information
is kept in memory, higher numbers will cause more memory to be used is kept in memory, higher numbers will cause more memory to be used

View File

@ -2525,11 +2525,7 @@ return {
type='number', scope={'global', 'buffer'}, type='number', scope={'global', 'buffer'},
vi_def=true, vi_def=true,
varname='p_ul', varname='p_ul',
defaults={ defaults={if_true={vi=1000}}
condition={'!UNIX', '!WIN3264'},
if_true={vi=100},
if_false={vi=1000},
}
}, },
{ {
full_name='undoreload', abbreviation='ur', full_name='undoreload', abbreviation='ur',