forked from x/ContextOS
opt some
This commit is contained in:
parent
308dc3e9a4
commit
4ffb1cc003
@ -6,10 +6,9 @@ syntax match Comment "\<help: \"[^\"]*\""
|
||||
highlight canConst ctermfg=yellow
|
||||
syntax match canConst "\<can\>"
|
||||
syntax match canConst "\<sub\>"
|
||||
syntax match canConst "\<sup\>"
|
||||
syntax match canConst "\<you\>"
|
||||
syntax match canConst "\<msg\>"
|
||||
syntax match canConst "\<res\>"
|
||||
syntax match canConst "\<target\>"
|
||||
|
||||
highlight msgConst ctermfg=cyan
|
||||
syntax match msgConst "\<m\.[a-z0-9A-Z_.]*"
|
||||
@ -17,8 +16,7 @@ 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_.]*"
|
||||
syntax match msgConst "\<you\.[a-z0-9A-Z_]*"
|
||||
syntax match msgConst "\<cb\>"
|
||||
|
||||
syntax match canConst "\<can\.base"
|
||||
syntax match canConst "\<can\.core"
|
||||
@ -26,4 +24,3 @@ syntax match canConst "\<can\.misc"
|
||||
syntax match canConst "\<can\.page"
|
||||
syntax match canConst "\<can\.user"
|
||||
|
||||
|
||||
|
@ -24,4 +24,11 @@ ish_miss_prepare nginx-story
|
||||
ish_miss_prepare golang-story
|
||||
ish_miss_prepare redis-story
|
||||
|
||||
ish_miss_prepare_vim() {
|
||||
[ -f ~/.vim/syntax/sh.vim ] || ln etc/conf/sh.vim ~/.vim/syntax/sh.vim
|
||||
[ -f ~/.vim/syntax/shy.vim ] || ln etc/conf/shy.vim ~/.vim/syntax/shy.vim
|
||||
[ -f ~/.vim/syntax/go.vim ] || ln etc/conf/go.vim ~/.vim/syntax/go.vim
|
||||
[ -f ~/.vim/syntax/javascript.vim ] || ln etc/conf/javascript.vim ~/.vim/syntax/javascript.vim
|
||||
}
|
||||
|
||||
ish_miss_prepare_vim
|
||||
|
@ -22,7 +22,12 @@ Volcanos("onengine", { river: {
|
||||
{type: "button", name: "查看", value: "auto"},
|
||||
], index: "web.wiki.alpha.find", feature: {}},
|
||||
{name: "wubi", help: "五笔", inputs: [
|
||||
{type: "text", name: "word", value: "shwq"},
|
||||
{type: "text", name: "word", value: "wqvb"},
|
||||
{type: "button", name: "查看", value: "auto"},
|
||||
], index: "web.code.input.find", feature: {}},
|
||||
{name: "wubi", help: "五笔", inputs: [
|
||||
{type: "text", name: "word", value: "你好"},
|
||||
{type: "text", name: "method", value: "line"},
|
||||
{type: "button", name: "查看", value: "auto"},
|
||||
], index: "web.code.input.find", feature: {}},
|
||||
]},
|
||||
@ -65,6 +70,12 @@ Volcanos("onengine", { river: {
|
||||
{type: "button", name: "返回"},
|
||||
], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js"}},
|
||||
]},
|
||||
"context": {name: "context", action: [
|
||||
{name: "context", help: "编程", inputs: [
|
||||
{type: "text", name: "path", value: "learning/自然/编程/hi.shy"},
|
||||
{type: "button", name: "查看", value: "auto"},
|
||||
], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js"}},
|
||||
]},
|
||||
}},
|
||||
"profile": {name: "测试群", storm: {
|
||||
"pprof": {name: "pprof", index: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user