sequences: move things around

This commit is contained in:
Dylan Araps 2017-07-31 14:56:12 +10:00
parent 38918d0ce8
commit b3596e65dd

View File

@ -34,6 +34,10 @@ def create_sequences(colors, vte):
sequences = [set_color(num, col) for num, col in sequences = [set_color(num, col) for num, col in
enumerate(colors["colors"].values())] enumerate(colors["colors"].values())]
# Set a blank color that isn't affected by bold highlighting.
# Used in wal.vim's airline theme.
sequences.append(set_color(66, colors["special"]["background"]))
# Special colors. # Special colors.
# Source: https://goo.gl/KcoQgP # Source: https://goo.gl/KcoQgP
# 10 = foreground, 11 = background, 12 = cursor foregound # 10 = foreground, 11 = background, 12 = cursor foregound
@ -43,10 +47,6 @@ def create_sequences(colors, vte):
sequences.append(set_special(12, colors["special"]["cursor"], "l")) sequences.append(set_special(12, colors["special"]["cursor"], "l"))
sequences.append(set_special(13, colors["special"]["cursor"], "l")) sequences.append(set_special(13, colors["special"]["cursor"], "l"))
# Set a blank color that isn't affected by bold highlighting.
# Used in wal.vim's airline theme.
sequences.append(set_color(66, colors["special"]["background"]))
# This escape sequence doesn"t work in VTE terminals. # This escape sequence doesn"t work in VTE terminals.
if not vte: if not vte:
sequences.append(set_special(708, colors["special"]["background"])) sequences.append(set_special(708, colors["special"]["background"]))