From 7a8ccb6b9cf9634d7b562997ec1817b8b6b3ecdf Mon Sep 17 00:00:00 2001 From: shaoying Date: Fri, 20 Dec 2019 18:47:44 +0800 Subject: [PATCH] opt go.vim --- etc/conf/go.vim | 13 ++++++------- src/plugin/docker/index.shy | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/etc/conf/go.vim b/etc/conf/go.vim index b7055441..552a636a 100644 --- a/etc/conf/go.vim +++ b/etc/conf/go.vim @@ -2,13 +2,12 @@ syntax match Comment "Name: \"[^\"]*\"" syntax match Comment "Help: \"[^\"]*\"" highlight kitConst ctermfg=yellow -syntax match kitConst "kit\.[a-zA-Z_.]*" +syntax match kitConst "kit\.[a-z0-9A-Z_.]*" +syntax match kitConst "app\.[a-z0-9A-Z_.]*" + 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_.]*" - -" highlight iceConst ctermfg=darkgreen -" syntax match iceConst "ice\.[a-zA-Z_.]*" +syntax match msgConst "m\.[a-z0-9A-Z_.]*" +syntax match msgConst "msg\.[a-z0-9A-Z_.]*" +syntax match msgConst "sub\.[a-z0-9A-Z_.]*" diff --git a/src/plugin/docker/index.shy b/src/plugin/docker/index.shy index 858f2ca1..a89422d9 100644 --- a/src/plugin/docker/index.shy +++ b/src/plugin/docker/index.shy @@ -9,7 +9,7 @@ kit dir "目录" private "_:web.code.zsh" "@pod" \ button "返回" cb Last kit clip "粘贴板" private "web.code.tmux" "" "buffer" \ - text "" name tag imports plugin_buffer action auto \ + text "" name buffer action auto \ text "" name txt \ exports buffer buffer \ button "查看" action auto \