prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
19 lines (18 loc) • 493 B
JavaScript
import { l as languages } from "../../index-C1_GGQ8y.js";
languages.npmignore = languages.hgignore = languages.gitignore = languages.ignore = {
// https://git-scm.com/docs/gitignore
"comment": /^#.*/m,
"entry": {
pattern: /\S(?:.*(?:(?:\\ )|\S))?/,
alias: "string",
inside: {
"operator": /^!|\*\*?|\?/,
"regex": {
pattern: /(^|[^\\])\[[^[\]]*\]/,
lookbehind: true
},
"punctuation": /\//
}
}
};
//# sourceMappingURL=ignore.js.map