vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
71 lines (70 loc) • 1.67 kB
JavaScript
var n, a;
function l() {
if (a) return n;
a = 1;
function r(e) {
const i = {
className: "variable",
variants: [
{
begin: "\\$\\(" + e.UNDERSCORE_IDENT_RE + "\\)",
contains: [e.BACKSLASH_ESCAPE]
},
{ begin: /\$[@%<?\^\+\*]/ }
]
}, s = {
className: "string",
begin: /"/,
end: /"/,
contains: [
e.BACKSLASH_ESCAPE,
i
]
}, t = {
className: "variable",
begin: /\$\([\w-]+\s/,
end: /\)/,
keywords: { built_in: "subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value" },
contains: [i]
}, o = { begin: "^" + e.UNDERSCORE_IDENT_RE + "\\s*(?=[:+?]?=)" }, d = {
className: "meta",
begin: /^\.PHONY:/,
end: /$/,
keywords: {
$pattern: /[\.\w]+/,
keyword: ".PHONY"
}
}, f = {
className: "section",
begin: /^[^\s]+:/,
end: /$/,
contains: [i]
};
return {
name: "Makefile",
aliases: [
"mk",
"mak",
"make"
],
keywords: {
$pattern: /[\w-]+/,
keyword: "define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"
},
contains: [
e.HASH_COMMENT_MODE,
i,
s,
t,
o,
d,
f
]
};
}
return n = r, n;
}
export {
l as __require
};
//# sourceMappingURL=makefile.mjs.map