vim-patch:8.1.1394: not restoring t_F2 in registers test

Problem:    Not restoring t_F2 in registers test.
Solution:   Assign to &t_F2 instead of t_F2. (Andy Massimino, closes vim/vim#4434)
a5e44600eb
This commit is contained in:
Jan Edmund Lazo 2019-07-28 19:59:38 -04:00
parent c53e78e125
commit 00e882e6f6

View File

@ -79,6 +79,6 @@ func Test_recording_esc_sequence()
call assert_equal(['Quirk', 'Test', 'Quirk', 'Test'], getline(1, 4)) call assert_equal(['Quirk', 'Test', 'Quirk', 'Test'], getline(1, 4))
bwipe! bwipe!
if exists('save_F2') if exists('save_F2')
let t_F2 = save_F2 let &t_F2 = save_F2
endif endif
endfunc endfunc