add highlight defaults instead of statically defined jedi syntax, if a colorscheme exists - fixes #142

This commit is contained in:
David Halter
2013-08-28 22:37:22 +04:30
parent b618e5b863
commit d85413feaa

View File

@@ -14,8 +14,14 @@ if g:jedi#show_call_signatures == 1 && has('conceal')
hi def link jediIgnore Ignore hi def link jediIgnore Ignore
hi def link jediFatSymbol Ignore hi def link jediFatSymbol Ignore
hi def link jediSpace Normal hi def link jediSpace Normal
hi jediFat term=bold,underline cterm=bold,underline gui=bold,underline ctermbg=0 guibg=#555555
hi jediFunction term=NONE cterm=NONE ctermfg=6 guifg=Black gui=NONE ctermbg=0 guibg=Grey if exists('g:colors_name')
hi def link jediFunction CursorLine
hi def link jediFat TabLine
else
hi jediFunction term=NONE cterm=NONE ctermfg=6 guifg=Black gui=NONE ctermbg=0 guibg=Grey
hi jediFat term=bold,underline cterm=bold,underline gui=bold,underline ctermbg=0 guibg=#555555
end
" override defaults (add jediFunction to contains) " override defaults (add jediFunction to contains)
syn match pythonComment "#.*$" contains=pythonTodo,@Spell,jediFunction syn match pythonComment "#.*$" contains=pythonTodo,@Spell,jediFunction