Commit b8d3123
committed
wip: allow bg/fg with ctermfg and ctermbg
Slightly modified solution that allows bg, fg, background, foreground to
be used as ctermfg and ctermbg colors, but also handles specific errors
if these are used when the foreground or background colors are unknown.
Note: has('gui') is still necessary as the terminal foreground and
background will never be known while the gui is running.1 parent d0c6385 commit b8d3123
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 78 | | |
83 | | - | |
| 79 | + | |
84 | 80 | | |
85 | 81 | | |
86 | | - | |
| 82 | + | |
87 | 83 | | |
88 | 84 | | |
89 | 85 | | |
| |||
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
0 commit comments