From 36ce6a6aea9c311c721a7e3a1df8ae7e51f8e098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 16 Dec 2018 17:00:51 +0800 Subject: [PATCH] 1.3.4 --- CHANGELOG.md | 3 ++- package.json | 2 +- src/html.js | 12 ++++++++++++ themes/color-theme.json | 7 +++++++ 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index beeada3..90e9807 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # 更新日志 -## [1.3.3] 2018-12-16 +## [1.3.4] 2018-12-16 - 支持html模板中mvvm指令高亮 +- 优化html特殊符号的高亮 ## [1.3.2] 2018-12-12 diff --git a/package.json b/package.json index f2f1bce..ffa27c8 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "米白色主题", "description": "🔥 米白色主题", "icon": "logo.png", - "version": "1.3.3", + "version": "1.3.4", "publisher": "yutent", "author": "Yutent [@yutent]", "engines": { diff --git a/src/html.js b/src/html.js index 9074003..e8bce7e 100644 --- a/src/html.js +++ b/src/html.js @@ -45,5 +45,17 @@ module.exports = [ settings: { foreground: vars.magenta1 } + }, + { + name: 'hexadecimal & character', + scope: [ + 'constant.character.entity.named', + 'constant.character.entity.named punctuation.definition.entity.html', + 'constant.character.entity.numeric.hexadecimal.html', + 'constant.character.entity.numeric.hexadecimal.html punctuation.definition.entity.html' + ], + settings: { + foreground: vars.blue1 + } } ] diff --git a/themes/color-theme.json b/themes/color-theme.json index b818e1a..7c93a3c 100644 --- a/themes/color-theme.json +++ b/themes/color-theme.json @@ -496,6 +496,13 @@ "foreground": "#be7ee7" } }, + { + "name": "hexadecimal & character", + "scope": "constant.character.entity.named, constant.character.entity.named punctuation.definition.entity.html, constant.character.entity.numeric.hexadecimal.html, constant.character.entity.numeric.hexadecimal.html punctuation.definition.entity.html", + "settings": { + "foreground": "#70acf7" + } + }, { "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",