Mercurial > vim
view pixmaps/tb_cut.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_cut_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 3 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s bottomShadowColor m black c #5D6069", /* pixels */ " ", " . .X ", " .X .X ", " . .X ", " .X .X ", " . .X ", " .X.X ", " .X ", " ...X ", " X.X .X ", " ...X ... ", " .XX.X .X . ", " . .X .X .X ", " . .X .X .X ", " ..XX ..X ", " XX XX ", " ", " "};