Mercurial > vim
annotate runtime/syntax/hitest.vim @ 33899:a9ccbadecda1 v9.0.2155
patch 9.0.2155: Vim9: type not kept when assigning vars
Commit: https://github.com/vim/vim/commit/d33518522a84b5625e663c1b608e1c68f9f58003
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Fri Dec 8 21:41:23 2023 +0100
patch 9.0.2155: Vim9: type not kept when assigning vars
Problem: Vim9: type not kept when assigning vars
Solution: When assigning a List or a Dict value to a variable of type
'any', keep the type
closes: #13639
closes: #13646
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 10 Dec 2023 15:16:34 +0100 |
parents | 50e447c67247 |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: none; used to see highlighting | |
32136
50e447c67247
patch 9.0.1399: highlight test script has a few problems
Bram Moolenaar <Bram@vim.org>
parents:
16944
diff
changeset
|
3 " Maintainer: github user lacygoill |
50e447c67247
patch 9.0.1399: highlight test script has a few problems
Bram Moolenaar <Bram@vim.org>
parents:
16944
diff
changeset
|
4 " Last Change: 2023 Mar 08 |
7 | 5 |
6 " To see your current highlight settings, do | |
7 " :so $VIMRUNTIME/syntax/hitest.vim | |
8 | |
32136
50e447c67247
patch 9.0.1399: highlight test script has a few problems
Bram Moolenaar <Bram@vim.org>
parents:
16944
diff
changeset
|
9 import 'dist/vimhighlight.vim' |
50e447c67247
patch 9.0.1399: highlight test script has a few problems
Bram Moolenaar <Bram@vim.org>
parents:
16944
diff
changeset
|
10 call vimhighlight.HighlightTest() |