Start updating to Colortemplate v3 syntax.

This commit is contained in:
Lifepillar
2023-04-23 23:54:40 +02:00
parent bcd4e74e98
commit a9e5707be0
17 changed files with 6117 additions and 10858 deletions

View File

@@ -1,6 +1,19 @@
; vim: ft=colortemplate fdm=marker
#let s:t_Co = get(g:, '@optionprefix_use16', 0) ? 16 : s:t_Co
#let s:italics = s:italics && get(g:, '@optionprefix_italics', 1)
#let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running')
; FIXME
; #const t_Co = get(g:, '@prefix_use16', 0) ? 16 : s:t_Co
#const italics = get(g:, '@prefix_italics', 1) && ((&t_ZH != '' && &t_ZH != '') || has('gui_running') || has('nvim'))
#const termtrans = get(g:, '@prefix_termtrans', 0) && !has('gui_running')
#const visibility = get(g:, '@prefix_visibility', 'normal')
#const vismap = {"normal": 0, "high": 1, "low": 2}
; 0 = no transparency, normal visibility
; 1 = transparent, normal visibility
; 2 = no transparency, high visibility
; 3 = transparent, high visibility
; 4 = no transparency, low visibility
; 5 = transparent, low visibility
#const transvis = get(g:, '@prefix_termtrans', 0) + 2 * s:vismap[get(g:, '@prefix_visibility', 'normal')]
#const diffmode = get(g:, '@prefix_diffmode', 'normal')
#const stl = get(g:, '@prefix_statusline', 'normal')
Include: _linked_groups.colortemplate