Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 27593:8c7836f8668d v8.2.4323
patch 8.2.4323: Vim9: nested function name can start with "_"
Commit: https://github.com/vim/vim/commit/f681cfb90b972cb347b3d707c87e48f8accd0e2a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 7 20:30:57 2022 +0000
patch 8.2.4323: Vim9: nested function name can start with "_"
Problem: Vim9: nested function name can start with "_".
Solution: Use same rule for function name for nested functions.
(closes #9713)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Feb 2022 21:45:02 +0100 |
parents | d4faa2c5211b |
children |
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