Mercurial > vim
comparison src/testdir/test_vim9_cmd.vim @ 26145:3da380450cce v8.2.3605
patch 8.2.3605: cannot clear and unlinke a highlight group with hlset()
Commit: https://github.com/vim/vim/commit/2a16dc6613368c54d526850bcbcd03c3fec1be67
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Tue Nov 16 17:19:30 2021 +0000
patch 8.2.3605: cannot clear and unlinke a highlight group with hlset()
Problem: Cannot clear and unlinke a highlight group with hlset() in a
single call.
Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Nov 2021 18:30:04 +0100 |
parents | 80e69293217c |
children | eaa97adb0732 |
comparison
equal
deleted
inserted
replaced
26144:18cbc3a4d8b9 | 26145:3da380450cce |
---|---|
1568 s# pat#repl | 1568 s# pat#repl |
1569 END | 1569 END |
1570 CheckDefExecAndScriptFailure(lines, 'E486:', 1) | 1570 CheckDefExecAndScriptFailure(lines, 'E486:', 1) |
1571 enddef | 1571 enddef |
1572 | 1572 |
1573 " Test for the 'popuppreview' option | 1573 " Test for the 'previewpopup' option |
1574 def Test_popuppreview() | 1574 def Test_previewpopup() |
1575 set previewpopup=height:10,width:60 | 1575 set previewpopup=height:10,width:60 |
1576 pedit Xfile | 1576 pedit Xfile |
1577 var id = popup_findpreview() | 1577 var id = popup_findpreview() |
1578 assert_notequal(id, 0) | 1578 assert_notequal(id, 0) |
1579 assert_match('Xfile', popup_getoptions(id).title) | 1579 assert_match('Xfile', popup_getoptions(id).title) |