Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 25370:d52504ef26ed v8.2.3222
patch 8.2.3222: Vim9: cannot used loop variable later as lambda argument
Commit: https://github.com/vim/vim/commit/3c77b6a1ce1d4a06c60bb9fae7eec2775f547d55
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 25 18:07:00 2021 +0200
patch 8.2.3222: Vim9: cannot used loop variable later as lambda argument
Problem: Vim9: cannot used loop variable later as lambda argument.
Solution: When not in function context check the current block ID.
(closes #8637)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 25 Jul 2021 18:15:02 +0200 |
parents | 3fc0f57ecb91 |
children | d4faa2c5211b |
line wrap: on
line source
#! /bin/sh prefix=stock_ list= for file in "$@" do name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'` list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list