mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
8f5d0317fc
commit
3578f44294
@ -11,8 +11,8 @@ highlight shyContext ctermfg=red
|
||||
syntax match shyContext "\~[a-z\.]\+"
|
||||
|
||||
highlight shyCommand ctermfg=green
|
||||
syntax match shyCommand "^ \a*"
|
||||
syntax match shyCommand "^\a\+"
|
||||
syntax match shyCommand "^ [a-zA-Z0-9:._]\+"
|
||||
syntax match shyCommand "^[a-zA-Z0-9:._]\+"
|
||||
|
||||
highlight shyConfig ctermfg=yellow
|
||||
syntax match shyConfig "^ config"
|
||||
|
@ -121,6 +121,8 @@ function! Config(type)
|
||||
elseif a:type == "shy"
|
||||
set filetype=shy
|
||||
set commentstring=#%s
|
||||
elseif a:type == "son"
|
||||
set commentstring=#%s
|
||||
elseif a:type == "tmpl"
|
||||
set foldmethod=indent
|
||||
elseif a:type == "conf"
|
||||
@ -157,7 +159,7 @@ autocmd BufNewFile,BufReadPost *.js call Config("js")
|
||||
autocmd BufReadPost * normal `"
|
||||
|
||||
if filereadable(expand("~/.vim_local")) | source ~/.vim_local | endif
|
||||
if filereadable(expand("./etc/miss.vim")) | source ./etc/miss.vim | endif
|
||||
if filereadable(expand("usr/publish/auto.vim")) | source usr/publish/auto.vim | endif
|
||||
|
||||
colorscheme torte
|
||||
highlight Comment ctermfg=cyan ctermbg=darkblue
|
||||
@ -176,3 +178,4 @@ nnoremap <F3> :NERDTreeToggle<CR>
|
||||
" syntax match kitMiss ".*"
|
||||
" syntax match kitMiss "\".*\""
|
||||
|
||||
|
||||
|
@ -33,8 +33,7 @@
|
||||
init
|
||||
|
||||
~web.code.input
|
||||
load usr/wubi-dict/person
|
||||
load
|
||||
# import usr/wubi-dict/person
|
||||
|
||||
# ~web.wiki.alpha
|
||||
# load
|
||||
@ -46,3 +45,4 @@
|
||||
|
||||
~ssh
|
||||
source etc/local.shy
|
||||
target web.code.input.load
|
||||
|
5
hi.sh
5
hi.sh
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
git clone https://github.com/shylinux/toolkits usr/toolkits
|
||||
git clone https://github.com/shylinux/icebergs usr/icebergs
|
||||
git clone https://github.com/shylinux/volcanos usr/volcanos
|
@ -13,6 +13,10 @@ Volcanos("onengine", { river: {
|
||||
"aaa.totp.get",
|
||||
"web.route",
|
||||
]},
|
||||
"性能": {name: "性能", index: [
|
||||
"web.code.bench",
|
||||
"web.code.pprof",
|
||||
]},
|
||||
"trans": {name: "翻译", action: [
|
||||
{name: "english", help: "英文", inputs: [
|
||||
{type: "text", name: "word", value: "miss"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user