forked from VimPlug/jedi-vim
add highlight defaults instead of statically defined jedi syntax, if a colorscheme exists - fixes #142
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user