lifepillar / vim-colortemplate

The Toolkit for Vim Color Scheme Designers!
929 stars 29 forks source link

Variant: 0 #53

Closed romainl closed 3 years ago

romainl commented 3 years ago

The lowest supported variant is currently 2 based on the assumption that cterm* are ignored in favor of term when &t_Co <= 2. This is wrong because cterm* are definitely used when &t_Co == 2:

2c

and ignored when &t_Co < 2:

1c

Note that the behavior of 2 is generally the same as that of 8 except for these differences:

There is no difference between 1 and 0.

lifepillar commented 3 years ago

This is addressed by the current master. Now, Variant: 2 generates code that uses cterm attributes; Variant: 1 and Variant: 0 (now supported) generate code that uses term attributes.