On Feb 13, 1:24 pm, Matt Wozniski <[email protected]> wrote:
> On Fri, Feb 13, 2009 at 7:43 AM, Stahlman Family wrote:
> > One of the classic uses of Ignore is to hide
> > characters `*' and `|' when they surround tags in a helpfile. Is there
> > really any reason to see such things at all?
>
> Learning how to write helpfiles, for one - a lot of the constructs
> aren't documented, short of looking at a help file yourself, or
> looking at syntax/help.vim.
Hmmm. I suppose. (Although that sounds a bit to me like having a
browser display the "<a href=..." as an aid to those learning html ;-)
Seriously, I didn't mean to cause a stir. I simply viewed these
characters as markup tags, and didn't realize there were so many who
wished to see them. I will implement a workaround...
>
> > At any rate, I'll look at putting a workaround in txtfmt: i.e.,
> > something that will not rely upon the Ignore group to hide things...
>
> Easy enough, just adding a highlight group that you know is invisible.
Easy enough for the gui, but perhaps not so easy for cterm, since Vim
doesn't always know what the background color is in a color terminal.
In my xterm, for instance, "ctermfg=bg" generates "E420: BG color
unknown". Perhaps there's a way to obtain the background color in a
cterm programmatically. I'll have to look into it...
Brett Stahlman
>
> ~Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---