Skip to content

Commit 6cb794c

Browse files
committed
hack for 24 bit vim
1 parent 5a39db4 commit 6cb794c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/css_color.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ for i in range(0, 255)
4242
let s:hex[ printf( '%02x', i ) ] = i
4343
endfor
4444

45-
if has('gui_running')
45+
if has('gui_running') || (has("termtruecolor") && &guicolors == 1)
4646
let s:is_gui = 1
4747
else
4848
let s:is_gui = 0

0 commit comments

Comments
 (0)