2009/10/29 Bram Moolenaar <[email protected]>:
> Jérémie Roquet wrote:
>> 2009/10/28 Bram Moolenaar <[email protected]>:
>> >> It adds "space" in the allowed "listchars" arguments.
>> > I'm not sure how useful it is to show something instead of a space.
>> > Isn't it obvious that there is a space when there is nothing?
>> Sometimes it's not : I'm using a visible character for the first
>> column of tabs, but an invisible one for the remaining columns.
>> So cases where a tab is followed by a space are not that obvious.
>> And as Steve pointed out, double spaces are not always obvious either.
> Well, I might consider including this.  Can you write a patch for the
> documentation as well?

Sure.

Here is what I supposed was to be updated; please let me know if there
is some other documentation to patch.

Best regards,

Index: runtime/doc/options.txt
===================================================================
--- runtime/doc/options.txt     (revision 1626)
+++ runtime/doc/options.txt     (working copy)
@@ -4360,17 +4360,19 @@
                        visible in the first column.
          nbsp:c        Character to show for a non-breakable space (character
                        0xA0, 160).  Left blank when omitted.
+         space:c       Character to show for a space (character 0x20, 32). Left
+                       blank when omitted.

        The characters ':' and ',' should not be used.  UTF-8 characters can
        be used when 'encoding' is "utf-8", otherwise only printable
        characters are allowed.  All characters must be single width.

        Examples: >
-           :set lcs=tab:>-,trail:-
+           :set lcs=tab:>-,trail:-,space:.
            :set lcs=tab:>-,eol:<,nbsp:%
            :set lcs=extends:>,precedes:<
 <      The "NonText" highlighting will be used for "eol", "extends" and
-       "precedes".  "SpecialKey" for "nbsp", "tab" and "trail".
+       "precedes".  "SpecialKey" for "nbsp", "space", "tab" and "trail".
        |hl-NonText| |hl-SpecialKey|

                        *'lpl'* *'nolpl'* *'loadplugins'* *'noloadplugins'*

-- 
Jérémie Roquet - Arkanosis
Programming artist
Developer in natural language processing - Exalead

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui