Mercurial > vim
view pixmaps/tb_minimize.xpm @ 23249:43532077b5ff v8.2.2170
patch 8.2.2170: Vim9: a global function defined in a :def function fails
Commit: https://github.com/vim/vim/commit/f112f30a82f17114d8b08a0fb90928cd19440581
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 20 17:47:52 2020 +0100
patch 8.2.2170: Vim9: a global function defined in a :def function fails
Problem: Vim9: a global function defined in a :def function fails if it
uses the context.
Solution: Create a partial to store the closure context. (see #7410)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Dec 2020 18:00:06 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_minimize_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s topShadowColor m none c #DCDEE5", "o s iconColor2 m none c #FFFFFF", "O s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ..... ", " ... ", " . ", " ", " X............. ", " X.XXXXXXXXXXo. ", " X.XXoXXXXXXXo.O ", " X.XXXXXXXXXXo.O ", " X.XXXXXXXXXoo.O ", " X.ooooooooooo.O ", " X.............O ", " OOOOOOOOOOOO ", " ", " . ", " ... ", " ..... ", " "};