comparison src/testdir/test_vim9_cmd.vim @ 26199:eaa97adb0732 v8.2.3631

patch 8.2.3631: "syntax enable" does not work properly in Vim9 context Commit: https://github.com/vim/vim/commit/c8a9fe541d3bee36d2760ed156997ddbb0142ee1 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 20 19:50:59 2021 +0000 patch 8.2.3631: "syntax enable" does not work properly in Vim9 context Problem: "syntax enable" does not work properly in Vim9 context. Solution: Also handle Vim9 context. (closes https://github.com/vim/vim/issues/9161)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Nov 2021 21:00:04 +0100
parents 3da380450cce
children 269ecc6d69bc
comparison
equal deleted inserted replaced
26198:6dc2643388d2 26199:eaa97adb0732
1579 assert_match('Xfile', popup_getoptions(id).title) 1579 assert_match('Xfile', popup_getoptions(id).title)
1580 popup_clear() 1580 popup_clear()
1581 set previewpopup& 1581 set previewpopup&
1582 enddef 1582 enddef
1583 1583
1584 def Test_syntax_enable_clear()
1585 syntax clear
1586 syntax enable
1587 highlight clear String
1588 assert_equal(true, hlget('String')->get(0, {})->get('default', false))
1589 syntax clear
1590 enddef
1591
1584 1592
1585 " vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker 1593 " vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker