view pixmaps/gen-inline-pixbufs.sh @ 26767:84d56c5b7f2b v8.2.3912

patch 8.2.3912: the ins_complete() function is much too long Commit: https://github.com/vim/vim/commit/bf7ff61af490a2fbc0d9c7d42f3bb7eb7d37127e Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 27 12:52:07 2021 +0000 patch 8.2.3912: the ins_complete() function is much too long Problem: The ins_complete() function is much too long. Solution: Split it up into multiple functions. (Yegappan Lakshmanan, closes #9414)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 14:00:04 +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