Pablo Giménez wrote:
Hi Brett.
I am checking some text formatted with tftfmt in a terminal and for some
colorschemes the characters used to format the test appear visible in the
buffer.

Pablo,

The following section in the Txtfmt help gives a detailed explanation...

:help txtfmt-cterm-ignore-issue

...but the basic idea is this: for color terminals, when the background color is not known to Vim, Vim must rely upon the special "Ignore" highlight group to conceal the tokens. Note that the Ignore group was actually created in Vim6 precisely to allow special characters in help files to be hidden:

--From version6.txt--
"Ignore" highlight group: Text highlighted with this is made blank. It is used to hide special characters in the help text.
---

For various reasons, however, some colorscheme authors have chosen to make the "Ignore" group quite visible. (Note that this is never an issue in the GUI where the background color is always known to Vim.) The Txtfmt help presents at least 3 workarounds for a cterm...

:help txtfmt-cterm-ignore-workaround

Also if you change your current colorscheme in gvim the "format chatacters"
appears.
Is there any way to ensure that "format" characters will stay hidden always?

After changing your colorscheme, you should run...

:Refresh

...to get Txtfmt back in synch. This command can also be used when you have changed Txtfmt options and wish to have them take effect immediately (i.e., without restarting Vim or reloading the buffer).

Let me know if any of this is unclear...

Thanks,
Brett Stahlman


...[snip]...

--
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