Open celia-vytrac opened 1 year ago
The comma after bracket breaks it! This one shall work:
"Mini-Linting": {
"class": "Mini-Linting",
"color": "#A70F0F38",
"regex": true,
"query": " {2,}(?!\\|| |$)|- - |^\\s*- \\n|^ +(?![0-9-`])",
"mark": [
"match"
],
"css": ".cm-line .Mini-Linting {\n background: none;\n}\n\n.cm-line:not(.cm-active) .Mini-Linting {\n outline: 1px solid var(--text-error);\n}"
}
}
Plugin version 0.3.1
I tried importing the examples from the readme. But for Mini-Linting I am receiving an error.