parent
db34633c36
commit
1aa0fc4cea
|
@ -1,5 +1,8 @@
|
|||
# 更新日志
|
||||
|
||||
## [1.3.3] 2018-12-16
|
||||
- 支持html模板中mvvm指令高亮
|
||||
|
||||
|
||||
## [1.3.2] 2018-12-12
|
||||
- 移除ts的异常语法高亮
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"displayName": "米白色主题",
|
||||
"description": "🔥 米白色主题",
|
||||
"icon": "logo.png",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"publisher": "yutent",
|
||||
"author": "Yutent [@yutent]",
|
||||
"engines": {
|
||||
|
|
20
src/html.js
20
src/html.js
|
@ -1,3 +1,5 @@
|
|||
const vars = require('./var')
|
||||
|
||||
module.exports = [
|
||||
{
|
||||
name: 'HTML Attributes',
|
||||
|
@ -25,5 +27,23 @@ module.exports = [
|
|||
settings: {
|
||||
foreground: '#6182B8'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'directive',
|
||||
scope: [
|
||||
'text.html.derivative meta.attribute.unrecognized entity.other.attribute-name.html'
|
||||
],
|
||||
settings: {
|
||||
foreground: vars.yellow1
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "directive's value",
|
||||
scope: [
|
||||
'text.html.derivative meta.attribute.unrecognized string.quoted.double.html'
|
||||
],
|
||||
settings: {
|
||||
foreground: vars.magenta1
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -482,6 +482,20 @@
|
|||
"foreground": "#6182B8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "directive",
|
||||
"scope": "text.html.derivative meta.attribute.unrecognized entity.other.attribute-name.html",
|
||||
"settings": {
|
||||
"foreground": "#f39c12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "directive's value",
|
||||
"scope": "text.html.derivative meta.attribute.unrecognized string.quoted.double.html",
|
||||
"settings": {
|
||||
"foreground": "#be7ee7"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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",
|
||||
|
|
Loading…
Reference in New Issue