view pixmaps/gen-inline-pixbufs.sh @ 35099:05c99aa1c455 v9.1.0389

patch 9.1.0389: filetype: templ files are not recognized Commit: https://github.com/vim/vim/commit/54e79157c536c631b2f9b3dfefec30b9b966ed97 Author: tris203 <admin@snappeh.com> Date: Thu May 2 13:08:25 2024 +0200 patch 9.1.0389: filetype: templ files are not recognized Problem: filetype: templ files are not recognized Solution: Detect '*.templ' files as filetype templ (Tristan Knight) See: - https://github.com/a-h/templ - https://templ.guide/ closes: #14697 Signed-off-by: tris203 <admin@snappeh.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 02 May 2024 13:15:19 +0200
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