diff --git a/plugin/local/code/inner/syntax.js b/plugin/local/code/inner/syntax.js index 0f14a933..b87b3d6a 100644 --- a/plugin/local/code/inner/syntax.js +++ b/plugin/local/code/inner/syntax.js @@ -148,6 +148,10 @@ Volcanos(chat.ONSYNTAX, { "product": code.KEYWORD, "material": code.KEYWORD, "publish": code.KEYWORD, + + "username": code.FUNCTION, "usernick": code.FUNCTION, + "repos": code.FUNCTION, "binary": code.FUNCTION, + "language": code.FUNCTION, "avatar": code.FUNCTION, }, func: function(can, push, text, indent, opts) { var ls = can.core.Split(text, "\t ") opts.chapter = opts.chapter||0 diff --git a/plugin/story/spides.js b/plugin/story/spides.js index c4002eac..2948b313 100644 --- a/plugin/story/spides.js +++ b/plugin/story/spides.js @@ -1,6 +1,7 @@ Volcanos(chat.ONIMPORT, { _init: function(can, msg, cb) { can.page.requireDraw(can, function() { msg.append && can.ConfDefault({field: msg.append[0], split: nfs.PS}) can.db.count = msg.Length() + can.onmotion.toggle(can, can._action, true) can.dir_root = can.Conf(nfs.DIR_ROOT)||msg.Option(nfs.DIR_ROOT), can._tree = can.onimport._tree(can, msg.Table(), can.Conf(mdb.FIELD), can.Conf(lex.SPLIT)) can.onaction.list = [], can.base.isFunc(cb) && cb(msg), can.onappend._status(can, msg.Option(ice.MSG_STATUS)), can.onimport.layout(can) can.onappend.style(can, "spides")