vim-notes icon indicating copy to clipboard operation
vim-notes copied to clipboard

Bold and Italicised words not rendering

Open neitony opened this issue 13 years ago • 11 comments

Strings between the '_' and '*' characters do not render italic or bold respectively.

neitony avatar Jan 21 '13 06:01 neitony

Are you using console vim or gvim? I found that in the console most formatting does not work but in gvim it does.

jonuts avatar Mar 05 '13 20:03 jonuts

I'm actually using macvim. The asterisk and underscore characters still render despite placing them before and after words - no italic, no bold. Do you have any suggestions as to what else I could try?

On Tue, Mar 5, 2013 at 3:09 PM, jonah honeyman [email protected]:

Are you using console vim or gvim? I found that in the console most formatting does not work but in gvim it does.

— Reply to this email directly or view it on GitHubhttps://github.com/xolox/vim-notes/issues/31#issuecomment-14462258 .

neitony avatar Mar 05 '13 21:03 neitony

Hey neitony,

Do any of the other syntax items work? Or do all of them work except for italic and bold? What version of Vim are you using? (you can use :version to find it)

xolox avatar Apr 21 '13 09:04 xolox

The only possible cause for this that I can think of is a non-default value for the iskeyword option. Please execute :verbose set iskeyword? and post the output here if you are still having this issue.

xolox avatar May 12 '13 11:05 xolox

Thanks Jonah I will provide you with the output shortly

On Sun, May 12, 2013 at 7:38 AM, Peter Odding [email protected]:

The only possible cause for this that I can think of is a non-default value for the iskeywordhttp://vimdoc.sourceforge.net/htmldoc/options.html#'iskeyword'option. Please execute :verbose set iskeyword? and post the output here if you are still having this issue.

— Reply to this email directly or view it on GitHubhttps://github.com/xolox/vim-notes/issues/31#issuecomment-17776618 .

neitony avatar May 12 '13 12:05 neitony

As requested, please find below the ouput:

iskeyword=@,48-57,,192-255_ Last set from ~/.vim/bundle/bundles/bundles.vim

On Sun, May 12, 2013 at 8:24 AM, Neil Francis [email protected] wrote:

Thanks Jonah I will provide you with the output shortly

On Sun, May 12, 2013 at 7:38 AM, Peter Odding [email protected]:

The only possible cause for this that I can think of is a non-default value for the iskeywordhttp://vimdoc.sourceforge.net/htmldoc/options.html#'iskeyword'option. Please execute :verbose set iskeyword? and post the output here if you are still having this issue.

— Reply to this email directly or view it on GitHubhttps://github.com/xolox/vim-notes/issues/31#issuecomment-17776618 .

neitony avatar May 12 '13 12:05 neitony

I just tried to reproduce this with your value of iskeyword but it works fine for me. Apparently there are other differences between our two setups... Can you provide an example of a note where you expected italic and/or bold rendering but it won't show up?

xolox avatar May 12 '13 15:05 xolox

Hi. I have the same problem. Bold and italiscised words don't work. I'm also using macvim. This is the output when I run :verbose set iskeyword?

iskeyword=@,48-57,_,192-255,- Last set from ~/.vim/bundle/vim-notes/ftplugin/notes.vim

I've attached a sceenshot of the issue.

screenshot 2014-12-13 21 38 01

Otherwise this is a great plugin!

Thanks.

tarunnurat avatar Dec 14 '14 03:12 tarunnurat

Likewise, the asterisks surrounding the word "bold" image

don't render bold image

These screenshots are in macvim.

marksibrahim avatar Sep 11 '15 22:09 marksibrahim

Looks like it's a font problem, when I comment the line set guifont=Source\ Code\ Pro\ for\ Powerline:h13 I can get bold and Italic text rendering on macvim

chemzqm avatar Oct 04 '15 09:10 chemzqm

The font I've used lacks support for bold and Italic, so I download another font [https://github.com/adobe-fonts/source-code-pro] after import all the otf file with font book and change the guifont setting to set guifont=Source\ Code\ Pro:h13, it works perfectly now.

chemzqm avatar Oct 04 '15 10:10 chemzqm