1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00

opt order.js

This commit is contained in:
shaoying 2020-05-28 22:59:47 +08:00
parent e6516bbf21
commit c1ade069bb
2 changed files with 27 additions and 1 deletions

View File

@ -9,10 +9,12 @@ syntax match canConst "\<sub\>"
syntax match canConst "\<sup\>"
syntax match canConst "\<you\>"
syntax match canConst "\<msg\>"
syntax match canConst "\<res\>"
highlight msgConst ctermfg=cyan
syntax match msgConst "\<m\.[a-z0-9A-Z_.]*"
syntax match msgConst "\<msg\.[a-z0-9A-Z_.]*"
syntax match msgConst "\<res\.[a-z0-9A-Z_.]*"
syntax match msgConst "\<can\.[a-z0-9A-Z_]*"
syntax match msgConst "\<sub\.[a-z0-9A-Z_.]*"
syntax match msgConst "\<sup\.[a-z0-9A-Z_.]*"

View File

@ -1,6 +1,31 @@
Volcanos("onengine", { river: {
"main": {name: "main", storm: {
"IDE": {name: "IDE", action: [
{name: "editor", help: "编辑器", inputs: [
{type: "text", name: "path", value: "hi.go", action: "auto"},
{type: "button", name: "打开", action: "auto"},
{type: "button", name: "返回"},
], index: "web.wiki.inner", feature: {display: "/plugin/inner.js"}},
{name: "golang", help: "编译器", inputs: [
{type: "text", name: "path", value: "go"},
{type: "text", name: "path", value: "run"},
{type: "text", name: "path", value: "hi.go"},
{type: "button", name: "执行"},
], index: "cli.system", feature: {}},
{name: "story", help: "故事会", inputs: [
{type: "text", name: "story", value: "hi.go", action: "auto"},
{type: "text", name: "key", action: "auto"},
{type: "button", name: "查看", action: "auto"},
{type: "button", name: "返回", action: "auto"},
], index: "web.story", feature: {}},
]},
"main": {name: "main", action: [
{name: "editor", help: "编辑器", inputs: [
{type: "text", name: "path", action: "auto"},
{type: "button", name: "打开", action: "auto"},
{type: "button", name: "返回"},
], index: "web.wiki.inner", feature: {display: "/plugin/inner.js"}},
{name: "route", help: "路由", index: "route"},
{name: "status", help: "源码", index: "web.code.git.status"},
]},
@ -11,7 +36,6 @@ Volcanos("onengine", { river: {
{type: "button", name: "翻译"},
], group: "web.wiki.alpha", index: "trans"},
]},
"hello": {name: "应用1", action: [
{name: "some", help: "some", inputs: [
{type: "text", name: "one"},