diff src/eval.c @ 7289:32efe489afc5 v7.4.950

commit https://github.com/vim/vim/commit/4649ded2877508fe343cbcf6f7e7fd277be0aab3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 3 14:55:55 2015 +0100 patch 7.4.950 Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca)
author Christian Brabandt <cb@256bit.org>
date Thu, 03 Dec 2015 15:00:05 +0100
parents a34232b17763
children 6ffc75d807bd
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -900,6 +900,7 @@ eval_init()
     set_vim_var_nr(VV_SEARCHFORWARD, 1L);
     set_vim_var_nr(VV_HLSEARCH, 1L);
     set_vim_var_dict(VV_COMPLETED_ITEM, dict_alloc());
+    set_vim_var_list(VV_ERRORS, list_alloc());
     set_reg_var(0);  /* default for v:register is not 0 but '"' */
 
 #ifdef EBCDIC