Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 27070:b353bd9faec8 v8.2.4064
patch 8.2.4064: foam files are not detected
Commit: https://github.com/vim/vim/commit/2284f6cca384e0ccc352bfec7277dc26386cac3d
Author: Elwardi <elwardifadeli@gmail.com>
Date: Tue Jan 11 18:14:23 2022 +0000
patch 8.2.4064: foam files are not detected
Problem: Foam files are not detected.
Solution: Detect the foam filetype by the path and file contents. (Mohammed
Elwardi Fadeli, closes #9501)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 11 Jan 2022 19:15: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