Hi

ping wrote:
> I know vim is an "pure text" editor, not word or rendering system.
> but currently I have it displaying the bold, italic, underline with an 
> asciidoc syntax highlight file.
> https://github.com/dagwieers/asciidoc-vim
> 
> it is surprisingly good in terms of displaying effect and asciidoc 
> syntax compliance.
> 
> only thing is it is VERY slow sometime when you jump back and forth. but 
> that is another issue.
> here I'm talking about the word displaying effect -- I'm still curious 
> how can this pure text editor display the a underline under each 
> charactor, but it works.
> 
> anyway, if the underline is OK, how about a "cross-through" line?

as others have already written there is no general way (e.g., by means
of a pre-defined attribute for :highlight), but at least on Windows you
could use the font attribute of :highlight

  :hi asciidocDeleted font=Consolas:s

in the GUI version.

Note the ":s" after the font name. Something similar might be possible
with X11 font names, too, but I am absolutely clueless in this area.

If you define the font this way, make sure it matches the font set with
the 'guifont' option. Otherwise you might run into display problems
because of different character widths.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to