I'm using vim in ConEmu (with cmder) on Windows, and for some reason all the text is displayed in bold.
It's only happening in vim, just in ConEmu the text is regular.
The boldness started when I added the following section to my .vimrc
in order to get color schemes working under ConEmu (based on the docs):
if !has("gui_running")
set term=xterm
set t_Co=256
let &t_AB="\e[48;5;%dm"
let &t_AF="\e[38;5;%dm"
endif
If I remove this section, then the text is not bold any more (but the color schemes are not working).
The color scheme I'm using does not matter, the text is bold no matter which one I use.
Update: I just noticed by running :version
that some text is actually not bold, when the version info is printed:
It seems to be pretty random what is bold and what isn't, and it even changes if I resize the window.
Update 2: @Maximus mentioned that I can log the raw ANSI input ConEmu receives, and I tried to do that.
I opened a test file which contains the text "This is a dummy text.", which is displayed in bold:
And this is the input I see in the logs: [48;5;0mThis is a dummy text.
I'm not sure how to interpret this. I'm looking at the description here, based on which 5
should mean "Blink on", but the text is not blinking, it's just bold, which should be the code 1
. Anyone knows better how to interpret this?
I'm using PowerShell
ConEmu version: 161206 [64] stable (and I also tried it with the latest alpha, 171217)
VIM version: 8.0 (2016 Sep 12, compiled Nov 11 2017 23:02:03), MS-Windows 64-bit console version, Included patches: 1-1290