diff --git a/etc/init.shy b/etc/init.shy index 48c5c309..f86a9862 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -51,8 +51,8 @@ config inner meta.show.plug "" config vimer meta.show.tabs "" - config vimer meta.show.plug "web.code.favor,web.code.xterm" - config vimer meta.show.plug "" + config vimer meta.show.plug "can.debug,web.code.favor,web.code.xterm" + # config vimer meta.show.plug "" ~web.code.input # wubi load file usr/wubi-dict/wubi86 @@ -66,6 +66,5 @@ event listen event user.create cmd aaa.sess ~ssh - # target web.code.chrome - target web.chat.lark + target web.code source local.shy diff --git a/src/h2/h2.go b/src/h2/h2.go new file mode 100644 index 00000000..31182c61 --- /dev/null +++ b/src/h2/h2.go @@ -0,0 +1,17 @@ +package h2 + +import ( + "shylinux.com/x/ice" +) + +type h2 struct { + ice.Zone + + list string `name:"list zone id auto insert" help:"示例"` +} + +func (s h2) List(m *ice.Message, arg ...string) { + s.Zone.List(m, arg...) +} + +func init() { ice.Cmd("web.code.h2.h2", h2{}) } diff --git a/src/h2/h2.shy b/src/h2/h2.shy new file mode 100644 index 00000000..e4e97694 --- /dev/null +++ b/src/h2/h2.shy @@ -0,0 +1,3 @@ +chapter "h2" + +field web.code.h2.h2 diff --git a/src/main.shy b/src/main.shy index 0d8cefca..0c127c3d 100644 --- a/src/main.shy +++ b/src/main.shy @@ -3,10 +3,10 @@ refer ` 官网 https://contexts.com.cn 文档 https://contexts.com.cn/help/ 源码 https://shylinux.com/x/contexts -颜色 https://www.cnblogs.com/cl1234/p/5545290.html ` section "color" refer ` +颜色 https://www.cnblogs.com/cl1234/p/5545290.html https://www.w3.org/TR/?tag=css https://www.w3schools.com/colors/colors_names.asp https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors