sainnhe / gruvbox-material

Gruvbox with Material Palette
MIT License
1.97k stars 166 forks source link

# %% not recognized as comment #45

Closed roachsinai closed 4 years ago

roachsinai commented 4 years ago

image

Output of hi Comment:

:hi Comment
Comment        xxx term=bold cterm=italic ctermfg=245 gui=italic guifg=#928374
zxYin commented 4 years ago

Which highlight plug did you use? I think it might be its bug.

roachsinai commented 4 years ago
hmanx ~/tt » cat ~/.vimrc                
" 定义快捷键的前缀,即<Leader>
let mapleader=" "
call plug#begin('~/.vim/plugged')
Plug 'nightsense/cosmic_latte' | Plug 'sainnhe/gruvbox-material'
call plug#end()

let g:gruvbox_material_background = 'soft'
set background=dark
colorscheme gruvbox-material

setting above still have this issue.

zxYin commented 4 years ago

I couldn't reproduce your bug. Maybe you can try to add syntax on into your .vimrc or you can install a python syntax highlighting plug, for example, vim-polyglot

roachsinai commented 4 years ago

@zxYin Thanks for reply, add found I have a match for # %% in syntax folder.