Merge pull request #117 from buztard/nvim-colors

Make sure to use the cterm color attribute
This commit is contained in:
Junegunn Choi 2016-04-12 21:40:06 +09:00
commit 757ab1cca2

View file

@ -58,7 +58,7 @@ endif
function! s:get_color(attr, ...)
for group in a:000
let code = synIDattr(synIDtrans(hlID(group)), a:attr)
let code = synIDattr(synIDtrans(hlID(group)), a:attr, 'cterm')
if code =~ '^[0-9]\+$'
return code
endif