vscode-highlight
vscode-highlight copied to clipboard
rgba errors in settings.json
I've got a bunch of Highlight settings I haven't touched in 4ish years and when I checked my setting file I saw they were throwing a bunch of errors:
example selection of one of my regexes:
// Self-closing HTML Tags
"(<(?!\\/p\\!))(.*|\n*|\r)(\\/>)": [
{
"borderWidth": "1px 0 1px 1px",
"borderStyle": "solid",
"borderColor": "rgba(192, 51, 57, .5)",
"borderRadius": "16px 0 0 0",
"backgroundColor": "rgba(26, 18, 26, 0.4)"
},
{
"borderWidth": "0 0 0 0",
"borderStyle": "solid",
"borderColor": "rgba(192, 51, 57, .6)",
"borderRadius": "0px",
"backgroundColor": "rgba(26, 18, 26, 0.4)"
},
{
"borderWidth": "1px 1px 1px 0px ",
"borderStyle": "solid",
"borderColor": "rgba(192, 51, 57, .5)",
"borderRadius": "0 8px 8px 0",
"backgroundColor": "rgba(33, 24, 28, 0.6)",
"color": "#c03339",
"fontStyle": "bold",
"fontWeight": "bold"
}
],
Any idea what I'm doing wrong here or why it's throwing complaints. Overall it seems to be working like normal.
Yeah sometimes the settings complain but then the css works. Happened to me with "fontStyle": "normal" too.
I guess it has to do with https://github.com/fabiospampinato/vscode-highlight/blob/d6a7f8d52817a763b05b1d4a1a2b0eb7bb9ea036/package.json#L117-L118