diff options
-rw-r--r-- | runtime/doc/options.txt | 2 | ||||
-rw-r--r-- | src/nvim/options.lua | 6 |
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', |