Mercurial > vim
annotate pixmaps/tb_save.xpm @ 26302:7351926fbe9e v8.2.3682
patch 8.2.3682: Vim9: assigning to a script variable drops the type
Commit: https://github.com/vim/vim/commit/7824fc80f675b8098e6483ce082e287aad14b6da
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 26 17:36:51 2021 +0000
patch 8.2.3682: Vim9: assigning to a script variable drops the type
Problem: Vim9: assigning to a script variable drops the required type.
Solution: Lookup the type of the variable and use it. (closes https://github.com/vim/vim/issues/9219)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Nov 2021 18:45:03 +0100 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_save_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 5 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s iconColor1 m black c #000000", | |
8 "X s iconGray2 m none c #bdbdbd", | |
9 "o s iconColor2 m none c #FFFFFF", | |
10 "O s bottomShadowColor m black c #5D6069", | |
11 /* pixels */ | |
12 " ", | |
13 " .............. ", | |
14 " .X.oooooooo.o. ", | |
15 " .X.oooooooo...O ", | |
16 " .X.oooooooo.X.O ", | |
17 " .X.oooooooo.X.O ", | |
18 " .X.oooooooo.X.O ", | |
19 " .X.oooooooo.X.O ", | |
20 " .XX........XX.O ", | |
21 " .XXXXXXXXXXXX.O ", | |
22 " .XX.........X.O ", | |
23 " .XX......oo.X.O ", | |
24 " .XX......oo.X.O ", | |
25 " .XX......oo.X.O ", | |
26 " .............O ", | |
27 " OOOOOOOOOOOOO ", | |
28 " ", | |
29 " "}; |