You can use no-compatible mode but you can do :echo v:oldfiles.
And it refer NULL pointer.

On Monday, December 16, 2013 12:12:12 PM UTC+9, mattn wrote:
> Hi.
> 
> $ vim
> :echo v:oldfiles
> ['/path/to/oldfile.txt', ....snip....]
> 
> $ vim -u NONE
> $ echo v:oldfiles
> 
> This return empty because VV_OLDFILES isn't initialized with allocated list.
> 
> 
> diff -r 7818ca6de3d0 src/main.c
> --- a/src/main.c      Wed Dec 11 18:53:29 2013 +0100
> +++ b/src/main.c      Mon Dec 16 12:05:52 2013 +0900
> @@ -701,6 +701,10 @@
>       read_viminfo(NULL, VIF_WANT_INFO | VIF_GET_OLDFILES);
>       TIME_MSG("reading viminfo");
>      }
> +# ifdef FEAT_EVAL
> +    if (get_vim_var_list(VV_OLDFILES) == NULL)
> +     set_vim_var_list(VV_OLDFILES, list_alloc());
> +# endif
>  #endif
>  
>  #ifdef FEAT_QUICKFIX
> 
> - Yasuhiro Matsumoto

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui