Christian Brabandt於 2014年10月30日星期四UTC+8下午3時06分40秒寫道:
> Am 2014-10-30 07:35, schrieb cs86661:
> 
> What you are seeing here is the local initial undolevel value.
> (which basically means, that the global value will be used).
> 
> Best,
> Christian

oh, I found the undolevels is global-local option since patch-7.4.073.

The real problem is coming from "LargeFile" plugin (Author: Charles Campbell), 
it try to backup the l:undolevels value first, then set g:undolevels value to 
-1.

It will restoring the wrong value(-123456) back to g:undolevels when run 
command 'Unlarge'.

Because it's global-local option, I think l:undolevels should has same value 
with g:undolevels at beginning...

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui