插件todohighlight 2代是一个通过正则表达式高亮文字的插件
配置如下:
“todohighlight.isEnable”: true,
“todohighlight.isCaseSensitive”: true,
// “todohighlight.keywordsPattern”: “TODO:|【N】\s*\S+”,// 该行放开后todohighlight.keywords会失效
“todohighlight.keywords”: [
{
“text”: “【N】|【Y】”,
“color”: “#6A9955”,
“isWholeLine”: false,
“backgroundColor”: “transparent”,
“regex”: {
“pattern”: “【N】\s*\S+\r\n|【Y】\s*\S+\r\n”
}
},
{
“text”: “进展:”,
“color”: “#ffbd2a”,
“isWholeLine”: false,
“backgroundColor”: “transparent”,
“regex”: {
“pattern”: “进展:”
}
},
{
“text”: “已完结|已完成”,
“color”: “#6A9955”,
“isWholeLine”: false,
“backgroundColor”: “transparent”,
“regex”: {
“pattern”: “已完结|已完成”
}
},
{
“text”: “办理中”,
“color”: “#FC6F6F”,
“isWholeLine”: false,
“back