Skip to content

Commit e341681

Browse files
committed
maint(pat-syntax-highlight): The trigger should be a static property.
1 parent 4f0bb0f commit e341681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/syntax-highlight/syntax-highlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ parser.addArgument("features", null, ["line-highlight", "line-numbers"], true);
1111
class Pattern extends BasePattern {
1212
static name = "syntax-highlight";
1313
static trigger = ".pat-syntax-highlight";
14-
parser = parser;
14+
static parser = parser;
1515

1616
async init() {
1717
let _el = this.el;

0 commit comments

Comments
 (0)