1
0
forked from aniani/vim

patch 8.2.4149: test override not restored, autocommand left behind

Problem:    Test override not restored, autocommand left behind.
Solution:   Correct restoring test override.  Delete autocommand afterwards.
This commit is contained in:
Bram Moolenaar
2022-01-20 11:17:18 +00:00
parent f61c89d2e6
commit ca34db3bde
3 changed files with 4 additions and 1 deletions

View File

@@ -1453,6 +1453,7 @@ func Test_map_script_cmd_survives_unmap()
nunmap <F3>
unlet b:result
autocmd! CmdlineEnter
endfunc
" Test for using <script> with a map to remap characters in rhs