Mercurial > vim
view src/testdir/test_vim9_fails.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 | a3df1fb28d44 |
children | 744fdb15347d |
line wrap: on
line source
" Test for Vim9 script with failures, causing memory leaks to be reported. " The leaks happen after a fork() and can be ignored. def Test_assignment() if has('channel') var chan1: channel var job1: job var job2: job = job_start('willfail') endif enddef