xolox / vim-notes

Easy note taking in Vim
http://peterodding.com/code/vim/notes/
1.6k stars 110 forks source link

Bold and Italicised words not rendering #31

Open neitony opened 11 years ago

neitony commented 11 years ago

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

jonuts commented 11 years ago

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

neitony commented 11 years ago

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 notifications@github.comwrote:

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 .

xolox commented 11 years ago

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 commented 11 years ago

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.

neitony commented 11 years ago

Thanks Jonah I will provide you with the output shortly

On Sun, May 12, 2013 at 7:38 AM, Peter Odding notifications@github.comwrote:

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 commented 11 years ago

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 neitony@gmail.com wrote:

Thanks Jonah I will provide you with the output shortly

On Sun, May 12, 2013 at 7:38 AM, Peter Odding notifications@github.comwrote:

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 .

xolox commented 11 years ago

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?

tarunnurat commented 9 years ago

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.

marksibrahim commented 9 years ago

Likewise, the asterisks surrounding the word "bold" image

don't render bold image

These screenshots are in macvim.

chemzqm commented 9 years ago

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 commented 9 years ago

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.