mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 15:57:02 +00:00
Clean up templates and rebuild with Colortemplate v3.0.0-alpha0.
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
; vim: ft=colortemplate fdm=marker
|
||||
|
||||
Background: any
|
||||
|
||||
Include: _linked_groups.colortemplate
|
||||
|
||||
#const italics = get(g:, '@prefix_italics', 1) && ((&t_ZH != '' && &t_ZH != '[7m') || has('gui_running') || has('nvim'))
|
||||
#const termtrans = get(g:, '@prefix_termtrans', 0) && !has('gui_running')
|
||||
#const visibility = get(g:, '@prefix_visibility', 'normal')
|
||||
#const diffmode = get(g:, '@prefix_diffmode', 'normal')
|
||||
#const stl = get(g:, '@prefix_statusline', 'normal')
|
||||
#const extra = get(g:, '@prefix_extra_hi_groups', 1)
|
||||
#const vismap = {"normal": 0, "high": 1, "low": 2}
|
||||
|
||||
; 0 = no transparency, normal visibility
|
||||
@@ -11,12 +18,23 @@
|
||||
; 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 transvis = s:termtrans + 2 * get(s:vismap, s:visibility, 'normal')
|
||||
|
||||
#const diffmode = get(g:, '@prefix_diffmode', 'normal')
|
||||
#const stl = get(g:, '@prefix_statusline', 'normal')
|
||||
#const extra = get(g:, '@prefix_extra_hi_groups', 1)
|
||||
#const extra_italic = get(g:, '@prefix_extra_hi_groups', 1) + 2 * (get(g:, '@prefix_italics', 1) && ((&t_ZH != '' && &t_ZH != '[7m') || has('gui_running') || has('nvim')))
|
||||
; 0 = no extra, no italics
|
||||
; 1 = extra, no italics
|
||||
; 2 = no extra, italics
|
||||
; 3 = extra, italics
|
||||
#const extra_italic = s:extra + 2 * s:italics
|
||||
|
||||
Include: _linked_groups.colortemplate
|
||||
Background: dark
|
||||
#const oldcursor = get(g:, '@prefix_old_cursor_style', 0)
|
||||
|
||||
Background: light
|
||||
; 0 = normal visibility, new cursor style (default)
|
||||
; 1 = normal visibility, old cursor style
|
||||
; 2 = high visibility, new cursor style
|
||||
; 3 = high visibility, old cursor style
|
||||
; 4 = low visibility, new cursor style
|
||||
; 5 = low visibility, old cursor style
|
||||
#const viscurs = get(g:, '@prefix_old_cursor_style', 0) + 2 * get(s:vismap, s:visibility, 'normal')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user