From 3f4c5dcfedd755c937f5c70b86b898878616325d Mon Sep 17 00:00:00 2001 From: Lifepillar Date: Thu, 6 Jun 2019 15:10:41 +0200 Subject: [PATCH] Factor out linked groups. --- templates/_linked_groups.colortemplate | 30 ++++++++++++++++++++++++ templates/solarized8.colortemplate | 31 +------------------------ templates/solarized8_flat.colortemplate | 31 +------------------------ templates/solarized8_high.colortemplate | 31 +------------------------ templates/solarized8_low.colortemplate | 31 +------------------------ 5 files changed, 34 insertions(+), 120 deletions(-) create mode 100644 templates/_linked_groups.colortemplate diff --git a/templates/_linked_groups.colortemplate b/templates/_linked_groups.colortemplate new file mode 100644 index 0000000..c85575c --- /dev/null +++ b/templates/_linked_groups.colortemplate @@ -0,0 +1,30 @@ +# vim: ft=colortemplate fdm=marker +Boolean -> Constant +Character -> Constant +Conditional -> Statement +Debug -> Special +Define -> PreProc +Delimiter -> Special +Exception -> Statement +Float -> Constant +Function -> Identifier +Include -> PreProc +Keyword -> Statement +Label -> Statement +Macro -> PreProc +Number -> Constant +Operator -> Statement +PreCondit -> PreProc +QuickFixLine -> Search +Repeat -> Statement +SpecialChar -> Special +SpecialComment -> Special +StatusLineTerm -> StatusLine +StatusLineTermNC -> StatusLineNC +StorageClass -> Type +String -> Constant +Structure -> Type +Tag -> Special +Typedef -> Type +lCursor -> Cursor + diff --git a/templates/solarized8.colortemplate b/templates/solarized8.colortemplate index 58c8479..80c1e48 100644 --- a/templates/solarized8.colortemplate +++ b/templates/solarized8.colortemplate @@ -18,36 +18,7 @@ Include: _help.colortemplate #let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) #let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') -# Common linked groups {{{ -Boolean -> Constant -Character -> Constant -Conditional -> Statement -Debug -> Special -Define -> PreProc -Delimiter -> Special -Exception -> Statement -Float -> Constant -Function -> Identifier -Include -> PreProc -Keyword -> Statement -Label -> Statement -Macro -> PreProc -Number -> Constant -Operator -> Statement -PreCondit -> PreProc -QuickFixLine -> Search -Repeat -> Statement -SpecialChar -> Special -SpecialComment -> Special -StatusLineTerm -> StatusLine -StatusLineTermNC -> StatusLineNC -StorageClass -> Type -String -> Constant -Structure -> Type -Tag -> Special -Typedef -> Type -lCursor -> Cursor -# }}} +Include: _linked_groups.colortemplate Variant: gui 256 16 diff --git a/templates/solarized8_flat.colortemplate b/templates/solarized8_flat.colortemplate index 6ea24c0..c584691 100644 --- a/templates/solarized8_flat.colortemplate +++ b/templates/solarized8_flat.colortemplate @@ -15,36 +15,7 @@ Neovim: yes #let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) #let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') -# Common linked groups {{{ -QuickFixLine -> Search -StatusLineTerm -> StatusLine -StatusLineTermNC -> StatusLineNC -Boolean -> Constant -Character -> Constant -Conditional -> Statement -Define -> PreProc -Debug -> Special -Delimiter -> Special -Exception -> Statement -Float -> Constant -Function -> Identifier -Include -> PreProc -Keyword -> Statement -Label -> Statement -Macro -> PreProc -Number -> Constant -Operator -> Statement -PreCondit -> PreProc -Repeat -> Statement -SpecialChar -> Special -SpecialComment -> Special -StorageClass -> Type -String -> Constant -Structure -> Type -Tag -> Special -Typedef -> Type -lCursor -> Cursor -# }}} +Include: _linked_groups.colortemplate Variant: gui 256 16 diff --git a/templates/solarized8_high.colortemplate b/templates/solarized8_high.colortemplate index 053fe69..4e02c81 100644 --- a/templates/solarized8_high.colortemplate +++ b/templates/solarized8_high.colortemplate @@ -14,36 +14,7 @@ License: OSI approved MIT license #let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) #let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') -# Common linked groups {{{ -QuickFixLine -> Search -StatusLineTerm -> StatusLine -StatusLineTermNC -> StatusLineNC -Boolean -> Constant -Character -> Constant -Conditional -> Statement -Define -> PreProc -Debug -> Special -Delimiter -> Special -Exception -> Statement -Float -> Constant -Function -> Identifier -Include -> PreProc -Keyword -> Statement -Label -> Statement -Macro -> PreProc -Number -> Constant -Operator -> Statement -PreCondit -> PreProc -Repeat -> Statement -SpecialChar -> Special -SpecialComment -> Special -StorageClass -> Type -String -> Constant -Structure -> Type -Tag -> Special -Typedef -> Type -lCursor -> Cursor -# }}} +Include: _linked_groups.colortemplate Variant: gui 256 16 diff --git a/templates/solarized8_low.colortemplate b/templates/solarized8_low.colortemplate index 2da7572..21a7100 100644 --- a/templates/solarized8_low.colortemplate +++ b/templates/solarized8_low.colortemplate @@ -14,36 +14,7 @@ License: OSI approved MIT license #let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) #let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') -# Common linked groups {{{ -Boolean -> Constant -Character -> Constant -Conditional -> Statement -Debug -> Special -Define -> PreProc -Delimiter -> Special -Exception -> Statement -Float -> Constant -Function -> Identifier -Include -> PreProc -Keyword -> Statement -Label -> Statement -Macro -> PreProc -Number -> Constant -Operator -> Statement -PreCondit -> PreProc -QuickFixLine -> Search -Repeat -> Statement -SpecialChar -> Special -SpecialComment -> Special -StatusLineTerm -> StatusLine -StatusLineTermNC -> StatusLineNC -StorageClass -> Type -String -> Constant -Structure -> Type -Tag -> Special -Typedef -> Type -lCursor -> Cursor -# }}} +Include: _linked_groups.colortemplate Variant: 256 gui 16