From 5fffcbc0a5ea9540d90d2480a6114a49028197ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Tue, 9 Nov 2021 12:01:14 +0800 Subject: [PATCH] update --- fork | 0 package.json | 2 +- src/base.js | 8 +++----- src/es.js | 9 +++++---- themes/color-theme.json | 13 +++++++------ 5 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 fork diff --git a/fork b/fork new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index e4ad28f..a6fe342 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "one plain", "description": "🔥 米白色主题", "icon": "logo.png", - "version": "1.5.0", + "version": "1.6.0", "publisher": "yutent", "author": "Yutent [@yutent]", "engines": { diff --git a/src/base.js b/src/base.js index 452f51d..f340306 100644 --- a/src/base.js +++ b/src/base.js @@ -58,6 +58,7 @@ module.exports = [ scope: [ 'keyword.control', 'meta.tag', + 'punctuation.accessor.js', 'punctuation.definition.tag', 'punctuation.separator.inheritance.php', 'punctuation.definition.tag.html', @@ -92,7 +93,7 @@ module.exports = [ 'entity.name.function', 'meta.function-call', 'variable.function', - 'support.function', + 'support.function.js', 'keyword.other.special-method', 'meta.block-level' ], @@ -283,10 +284,7 @@ module.exports = [ }, { name: 'meta.method.js', - scope: [ - 'meta.class-method.js entity.name.function.js', - 'variable.function.constructor' - ], + scope: ['meta.class-method.js entity.name.function.js', 'variable.function.constructor'], settings: { foreground: '#6182B8' } diff --git a/src/es.js b/src/es.js index 6a02464..9c1c449 100644 --- a/src/es.js +++ b/src/es.js @@ -8,6 +8,7 @@ module.exports = [ 'support.type.object.module.js', 'support.type.object.dom.js', 'support.constant.math', + 'support.constant.json', 'meta.class.extends.js variable.other.readwrite.js', 'meta.function-call.static.without-arguments.js variable.other.class.js', 'meta.function-call.static.with-arguments.js variable.other.class.js', @@ -42,9 +43,7 @@ module.exports = [ { name: 'js/ts doc email', - scope: [ - 'comment.block.documentation constant.other.email.link.underline.jsdoc' - ], + scope: ['comment.block.documentation constant.other.email.link.underline.jsdoc'], settings: { fontStyle: 'italic underline' } @@ -68,6 +67,7 @@ module.exports = [ 'source.js support.function.node.js', 'meta.group.braces.curly.js support.function', 'meta.function-call.ts support.function.ts', + 'meta.function-call.js support.function.js', 'support.function.builtin.js' ], settings: { @@ -123,7 +123,8 @@ module.exports = [ name: 'object keys', scope: [ 'constant.other.object.key.js string.unquoted.label.js', - 'constant.other.object.key.js string.quoted.label.js' + 'constant.other.object.key.js string.quoted.label.js', + 'meta.objectliteral.js meta.object.member.js meta.object-literal.key.js' ], settings: { fontStyle: 'italic bold', diff --git a/themes/color-theme.json b/themes/color-theme.json index 3672aee..a6d5b91 100644 --- a/themes/color-theme.json +++ b/themes/color-theme.json @@ -229,7 +229,7 @@ }, { "name": "Operator, Misc", - "scope": "keyword.control, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution", + "scope": "keyword.control, meta.tag, punctuation.accessor.js, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution", "settings": { "foreground": "#ff5370" } @@ -250,7 +250,7 @@ }, { "name": "Function, Special Method, Block Level", - "scope": "entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, meta.block-level", + "scope": "entity.name.function, meta.function-call, variable.function, support.function.js, keyword.other.special-method, meta.block-level", "settings": { "foreground": "#0096ff" } @@ -514,7 +514,7 @@ }, { "name": "Class extends, build-in, dom", - "scope": "support.type.object.console.js, support.type.object.module.js, support.type.object.dom.js, support.constant.math, meta.class.extends.js variable.other.readwrite.js, meta.function-call.static.without-arguments.js variable.other.class.js, meta.function-call.static.with-arguments.js variable.other.class.js, meta.property.class.js variable.other.class.js", + "scope": "support.type.object.console.js, support.type.object.module.js, support.type.object.dom.js, support.constant.math, support.constant.json, meta.var.expr.js variable.other.object.js, meta.class.extends.js variable.other.readwrite.js, meta.function-call.static.without-arguments.js variable.other.class.js, meta.function-call.static.with-arguments.js variable.other.class.js, meta.property.class.js variable.other.class.js", "settings": { "fontStyle": "bold italic", "foreground": "#ffb62c" @@ -553,7 +553,7 @@ }, { "name": "build-in function", - "scope": "source.js support.function.node.js, meta.group.braces.curly.js support.function, meta.function-call.ts support.function.ts, support.function.builtin.js", + "scope": "source.js support.function.node.js, meta.group.braces.curly.js support.function, meta.function-call.ts support.function.ts, meta.function-call.js support.function.js, support.function.builtin.js", "settings": { "fontStyle": "italic", "foreground": "#be7ee7" @@ -584,7 +584,7 @@ }, { "name": "object keys", - "scope": "constant.other.object.key.js string.unquoted.label.js, constant.other.object.key.js string.quoted.label.js", + "scope": "constant.other.object.key.js string.unquoted.label.js, constant.other.object.key.js string.quoted.label.js, meta.objectliteral.js meta.object.member.js meta.object-literal.key.js", "settings": { "fontStyle": "italic bold", "foreground": "#90a4ae" @@ -898,5 +898,6 @@ "foreground": "#91B859" } } - ] + ], + "DOO": 2334 } \ No newline at end of file