" ft=coffee includes javascript, but mostly sets up own syntax groups
" so until it has specific support there's no point in loading anyway
" and for some reason the W3C syntax color keywords break its highlighting
" (this refers to the https://github.com/kchmck/vim-coffee-script plugin)
if &syntax =~# '\(^\|\.\)coffee\($\|\.\)' | finish | endif

" javaScriptX = default Vim syntax
" jsX         = https://github.com/pangloss/vim-javascript
" javascriptX = https://github.com/othree/yajs.vim
call css_color#init('hex', 'extended'
	\,  'javaScriptComment,javaScriptLineComment,javaScriptStringS,javaScriptStringD,javaScriptStringT'
	\. ',jsComment,jsString,jsTemplateString,jsObjectKeyString,jsObjectStringKey,jsClassStringKey'
	\. ',javascriptComment,javascriptLineComment,javascriptLineComment,javascriptString,javascriptTemplate'
	\)
