mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 18:28:17 +08:00
42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
|
import {
|
||
|
__commonJS
|
||
|
} from "./chunk-2TUXWMP5.js";
|
||
|
|
||
|
// node_modules/refractor/lang/ignore.js
|
||
|
var require_ignore = __commonJS({
|
||
|
"node_modules/refractor/lang/ignore.js"(exports, module) {
|
||
|
module.exports = ignore;
|
||
|
ignore.displayName = "ignore";
|
||
|
ignore.aliases = ["gitignore", "hgignore", "npmignore"];
|
||
|
function ignore(Prism) {
|
||
|
;
|
||
|
(function(Prism2) {
|
||
|
Prism2.languages.ignore = {
|
||
|
// https://git-scm.com/docs/gitignore
|
||
|
comment: /^#.*/m,
|
||
|
entry: {
|
||
|
pattern: /\S(?:.*(?:(?:\\ )|\S))?/,
|
||
|
alias: "string",
|
||
|
inside: {
|
||
|
operator: /^!|\*\*?|\?/,
|
||
|
regex: {
|
||
|
pattern: /(^|[^\\])\[[^\[\]]*\]/,
|
||
|
lookbehind: true
|
||
|
},
|
||
|
punctuation: /\//
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
Prism2.languages.gitignore = Prism2.languages.ignore;
|
||
|
Prism2.languages.hgignore = Prism2.languages.ignore;
|
||
|
Prism2.languages.npmignore = Prism2.languages.ignore;
|
||
|
})(Prism);
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
export {
|
||
|
require_ignore
|
||
|
};
|
||
|
//# sourceMappingURL=chunk-CUGNAT3I.js.map
|