Mercurial > vim
annotate src/testdir/test_vim9_fails.vim @ 23638:062caef90f7f v8.2.2361
patch 8.2.2361: Vim9: no highlight for "s///gc" when using 'opfunc'
Commit: https://github.com/vim/vim/commit/7c886db915035bc064ca307f02c34ae9d99cc733
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 16 14:34:45 2021 +0100
patch 8.2.2361: Vim9: no highlight for "s///gc" when using 'opfunc'
Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
Solution: Reset 'lazyredraw' temporarily. (closes https://github.com/vim/vim/issues/7687)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Jan 2021 14:45:04 +0100 |
parents | a3df1fb28d44 |
children | 744fdb15347d |
rev | line source |
---|---|
22582
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 " Test for Vim9 script with failures, causing memory leaks to be reported. |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 " The leaks happen after a fork() and can be ignored. |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 def Test_assignment() |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 if has('channel') |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 var chan1: channel |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 var job1: job |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 var job2: job = job_start('willfail') |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 endif |
a3df1fb28d44
patch 8.2.1839: Vim9: memory leaks reported in assign test
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 enddef |