Skip to content

Commit f4cf642

Browse files
committed
prepare next commit
1 parent 0ba0e42 commit f4cf642

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

autoload/css_color.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ else
7171
\ [ 0xFF, 0x00, 0xFF, 13 ],
7272
\ [ 0x00, 0xFF, 0xFF, 14 ],
7373
\ [ 0xFF, 0xFF, 0xFF, 15 ]]
74-
" grayscale ramp
75-
let s:xtermcolor += map(range(24),'repeat([10*v:val+8],3) + [v:val+232]')
7674

7775
" the 6 values used in the xterm color cube
7876
" 0 95 135 175 215 255
@@ -91,6 +89,9 @@ else
9189
let s:xvquant[s:cubergb[4]] = 4
9290
let s:xvquant[s:cubergb[5]] = 5
9391

92+
" grayscale ramp
93+
let s:xtermcolor += map(range(24),'repeat([10*v:val+8],3) + [v:val+232]')
94+
9495
" selects the nearest xterm color for a rgb value like #FF0000
9596
function! s:rgb2xterm(color)
9697
let best_match=0

0 commit comments

Comments
 (0)