mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.4a.019
Problem: Invalid closing parenthesis in test 62. Command truncated at double quote. Solution: Remove the parenthesis. Change double quote to ''. (ZyX)
This commit is contained in:
@@ -36,7 +36,7 @@ STARTTEST
|
|||||||
:call settabvar(2, 'val_list', ['red', 'blue', 'green'])
|
:call settabvar(2, 'val_list', ['red', 'blue', 'green'])
|
||||||
:"
|
:"
|
||||||
:let test_status = 'gettabvar: fail'
|
:let test_status = 'gettabvar: fail'
|
||||||
:if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green'])
|
:if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green']
|
||||||
: let test_status = 'gettabvar: pass'
|
: let test_status = 'gettabvar: pass'
|
||||||
:endif
|
:endif
|
||||||
:call append(line('$'), test_status)
|
:call append(line('$'), test_status)
|
||||||
@@ -146,7 +146,7 @@ i=a
|
|||||||
:function Test()
|
:function Test()
|
||||||
let hasau=has('autocmd')
|
let hasau=has('autocmd')
|
||||||
if hasau
|
if hasau
|
||||||
autocmd TabEnter * :call add(g:r, 'TabEnter')
|
autocmd TabEnter * :call add(g:r, 'TabEnter')
|
||||||
autocmd WinEnter * :call add(g:r, 'WinEnter')
|
autocmd WinEnter * :call add(g:r, 'WinEnter')
|
||||||
autocmd BufEnter * :call add(g:r, 'BufEnter')
|
autocmd BufEnter * :call add(g:r, 'BufEnter')
|
||||||
autocmd TabLeave * :call add(g:r, 'TabLeave')
|
autocmd TabLeave * :call add(g:r, 'TabLeave')
|
||||||
@@ -161,7 +161,7 @@ i=a
|
|||||||
let t:a='b'
|
let t:a='b'
|
||||||
C tabnew
|
C tabnew
|
||||||
if !hasau
|
if !hasau
|
||||||
let g:r+=['WinLeave', 'TabLeave', 'WinEnter', 'TabEnter', 'BufLeave', 'BufEnter']
|
let g:r+=['WinLeave', 'TabLeave', 'WinEnter', 'TabEnter', 'BufLeave', 'BufEnter']
|
||||||
endif
|
endif
|
||||||
let t:a='c'
|
let t:a='c'
|
||||||
call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
|
call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
|
||||||
|
@@ -31,8 +31,8 @@ TabEnter
|
|||||||
BufLeave
|
BufLeave
|
||||||
BufEnter
|
BufEnter
|
||||||
a b c
|
a b c
|
||||||
=== call map(range(1, tabpagenr('$')), 'settabvar(v:val, ===
|
=== call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)') ===
|
||||||
a b c
|
2 4 6
|
||||||
=== vsplit ===
|
=== vsplit ===
|
||||||
WinLeave
|
WinLeave
|
||||||
WinEnter
|
WinEnter
|
||||||
@@ -44,8 +44,8 @@ WinEnter
|
|||||||
TabEnter
|
TabEnter
|
||||||
BufEnter
|
BufEnter
|
||||||
a a
|
a a
|
||||||
=== call map(copy(winr), 'settabwinvar('.tabn.', v:val, ===
|
=== call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)') ===
|
||||||
a a
|
2 4
|
||||||
=== tabnext 3 ===
|
=== tabnext 3 ===
|
||||||
BufLeave
|
BufLeave
|
||||||
WinLeave
|
WinLeave
|
||||||
|
@@ -727,6 +727,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
19,
|
||||||
/**/
|
/**/
|
||||||
18,
|
18,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user