Open ZelphirKaltstahl opened 8 years ago
This seems to be related to the colorscheme. I'm using molokai and summerfruit256, both display bold+italics correctly when they are loaded before a file is opened (i.e. set in the vimrc, or using first :colorscheme $name
before :edit $file
). However, when I change the colorscheme after a pandoc markdown file has been opened, bold+italics vanish and don't come back, even when changing back to the "original" colorscheme.
edit: reloading the filetype restores bold+italics, i.e. issuing :setf pandoc
after loading the colorscheme. Got this idea from https://github.com/altercation/solarized/issues/102, probably it's a bug in vim.
Regarding your configuration @ZelphirKaltstahl, this line suggests that the conceal settings (that you patched out) also control use of real bold and italics.
Inconsolatas LGC
) and inVIM
has a bold variant.mate-terminal
, but ingnome-terminal
I face the same issue.tput colors
in the terminal emulator returns256
:help bold
page. So VIM is capable of printing things in bold font. – Actually VIM does use bold font in other syntaxes like Python for example.When I write like this:
Nothing is highlighted. I do not like to conceal stuff, so I deactivated that in the syntax file by setting a 0 where there was a 1:
But this is the only change I made to that file. How do I get the proper display of bold and emphasised?
echom exists("g:pandoc#syntax#style#emphases")
reveals that this variable is1
so according to some code in thepandoc.vim
file the highlighting should be active.:verbose :hi pandocEmphasis
results in:I have no idea why.