Fix: minor
This commit is contained in:
parent
79833d8bba
commit
6909c73c69
|
@ -826,7 +826,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"meta_missingEOT": {
|
"meta_missingEOT": {
|
||||||
"message": "Expect EOT list",
|
"message": "Expect EOT data",
|
||||||
"description": "Error displayed when the value is expected to be an EOT list"
|
"description": "Error displayed when the value is expected to be an EOT list"
|
||||||
},
|
},
|
||||||
"meta_missingMandatory": {
|
"meta_missingMandatory": {
|
||||||
|
|
|
@ -373,9 +373,7 @@ CodeMirror.hint && (() => {
|
||||||
// USO vars in usercss mode editor
|
// USO vars in usercss mode editor
|
||||||
const vars = editor.getStyle().usercssData.vars;
|
const vars = editor.getStyle().usercssData.vars;
|
||||||
const list = vars ?
|
const list = vars ?
|
||||||
Object.keys(editor.getStyle().usercssData.vars)
|
Object.keys(vars).filter(name => name.startsWith(leftPart)) : [];
|
||||||
.filter(name => name.startsWith(leftPart)) :
|
|
||||||
[];
|
|
||||||
return {
|
return {
|
||||||
list,
|
list,
|
||||||
from: {line, ch: prev},
|
from: {line, ch: prev},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user