Skip to content

Commit 1c3411c

Browse files
committed
check for +syntax feature before loading
1 parent b862a16 commit 1c3411c

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
@@ -3,7 +3,7 @@
33
" Commit: $Format:%H$
44
" Licence: The MIT License (MIT)
55

6-
if v:version < 700 || !( has('gui_running') || has('nvim') || &t_Co==256 )
6+
if v:version < 700 || !( has('syntax') || has('gui_running') || has('nvim') || &t_Co==256 )
77
function! css_color#init(type, keywords, groups)
88
endfunction
99
function! css_color#extend(groups)

0 commit comments

Comments
 (0)