2018-07-02 14:08:47 +08:00
|
|
|
"=============================================================================
|
|
|
|
" SpaceVimTabsManager.vim --- syntax file for SpaceVim's tabmanger
|
2023-03-26 13:44:47 +08:00
|
|
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
2022-03-27 13:38:54 +08:00
|
|
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
2018-07-02 14:08:47 +08:00
|
|
|
" URL: https://spacevim.org
|
|
|
|
" License: GPLv3
|
|
|
|
"=============================================================================
|
|
|
|
|
|
|
|
|
2017-05-13 23:14:15 +08:00
|
|
|
scriptencoding utf-8
|
2018-07-02 14:08:47 +08:00
|
|
|
sy match TabManTName '^[▷▼] Tab \d\+'
|
|
|
|
sy match TabManCurTName '^[▷▼] \*Tab \d\+'
|
|
|
|
sy match TabManTNr /\(^[▷▼] [ *]Tab \d\+\)\@<=.*/
|
|
|
|
sy match TabManWNr /^ \+\d\+/
|
2017-05-12 21:56:04 +08:00
|
|
|
sy match TabManAtv '\*$'
|
|
|
|
sy match TabManLead '[|`]-'
|
|
|
|
sy match TabManTag '+$'
|
|
|
|
sy match TabManHKey '" \zs[^:]*\ze[:,]'
|
|
|
|
sy match TabManHSpecial '\[[^ ]\+\]'
|
|
|
|
sy match TabManHelp '^".*' contains=TabManHKey,TabManTName,TabManHSpecial
|
|
|
|
|
|
|
|
hi def link TabManTName Directory
|
2018-07-02 14:08:47 +08:00
|
|
|
hi def link TabManTNr String
|
|
|
|
hi def link TabManWNr Number
|
2017-05-12 21:56:04 +08:00
|
|
|
hi def link TabManCurTName Identifier
|
|
|
|
hi def link TabManAtv Title
|
|
|
|
hi def link TabManLead Special
|
|
|
|
hi def link TabManTag Title
|
|
|
|
hi def link TabManHKey Identifier
|
|
|
|
hi def link TabManHSpecial Special
|
|
|
|
hi def link TabManHelp String
|