mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt go.vim
This commit is contained in:
parent
c88021ab35
commit
afa5ee76e1
@ -1,13 +1,13 @@
|
|||||||
syntax match Comment "#.*$"
|
syntax match Comment "#.*$"
|
||||||
syntax match Comment "Name: \"[^\"]*\""
|
syntax match Comment "\<Name: \"[^\"]*\""
|
||||||
syntax match Comment "Help: \"[^\"]*\""
|
syntax match Comment "\<Help: \"[^\"]*\""
|
||||||
|
|
||||||
highlight kitConst ctermfg=yellow
|
highlight kitConst ctermfg=yellow
|
||||||
syntax match kitConst "kit\.[a-z0-9A-Z_.]*"
|
syntax match kitConst "\<kit\.[a-z0-9A-Z_.]*"
|
||||||
syntax match kitConst "app\.[a-z0-9A-Z_.]*"
|
syntax match kitConst "\<app\.[a-z0-9A-Z_.]*"
|
||||||
|
|
||||||
highlight msgConst ctermfg=cyan
|
highlight msgConst ctermfg=cyan
|
||||||
syntax match msgConst "\Am\.[a-z0-9A-Z_.]*"
|
syntax match msgConst "\<m\.[a-z0-9A-Z_.]*"
|
||||||
syntax match msgConst "\Amsg\.[a-z0-9A-Z_.]*"
|
syntax match msgConst "\<msg\.[a-z0-9A-Z_.]*"
|
||||||
syntax match msgConst "\Asub\.[a-z0-9A-Z_.]*"
|
syntax match msgConst "\<sub\.[a-z0-9A-Z_.]*"
|
||||||
|
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
highlight canConst ctermfg=yellow
|
|
||||||
syntax match canConst "can"
|
|
||||||
syntax match canConst "can\.base"
|
|
||||||
syntax match canConst "can\.core"
|
|
||||||
syntax match canConst "can\.misc"
|
|
||||||
syntax match canConst "can\.page"
|
|
||||||
syntax match canConst "can\.user"
|
|
||||||
|
|
||||||
highlight msgConst ctermfg=cyan
|
|
||||||
syntax match msgConst "m\.[a-zA-Z_.]*"
|
|
||||||
syntax match msgConst "msg\.[a-zA-Z_.]*"
|
|
||||||
syntax match msgConst "sub\.[a-zA-Z_.]*"
|
|
||||||
|
|
@ -136,6 +136,8 @@ function! Config(type)
|
|||||||
elseif a:type == "txt"
|
elseif a:type == "txt"
|
||||||
set noexpandtab
|
set noexpandtab
|
||||||
elseif a:type == "js"
|
elseif a:type == "js"
|
||||||
|
set filetype=javascript
|
||||||
|
source ~/.vim/syntax/javascript.vim
|
||||||
set foldmethod=marker
|
set foldmethod=marker
|
||||||
set foldmarker={,}
|
set foldmarker={,}
|
||||||
endif
|
endif
|
||||||
|
@ -7,8 +7,6 @@ import (
|
|||||||
_ "github.com/shylinux/icebergs/misc"
|
_ "github.com/shylinux/icebergs/misc"
|
||||||
|
|
||||||
_ "github.com/shylinux/icebergs/misc/alpha"
|
_ "github.com/shylinux/icebergs/misc/alpha"
|
||||||
_ "github.com/shylinux/icebergs/misc/chrome"
|
|
||||||
_ "github.com/shylinux/icebergs/misc/input"
|
|
||||||
_ "github.com/shylinux/icebergs/misc/lark"
|
_ "github.com/shylinux/icebergs/misc/lark"
|
||||||
_ "github.com/shylinux/icebergs/misc/mp"
|
_ "github.com/shylinux/icebergs/misc/mp"
|
||||||
_ "github.com/shylinux/icebergs/misc/pi"
|
_ "github.com/shylinux/icebergs/misc/pi"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user