Neither :help 'listchars' nor :help :list mention that the latter uses the former: for instance, with

        :set listchars=tab:\|_,eol:ś

the :list command will show a ś (not a dollar sign as stated) at the end of each line, and hard tabs will be diplayed as |____|_______|_______ not ^I^I^I

I suggest the attached documentation patch.


Best regards,
Tony.
--
Biting someone with your natural teeth is "simple assault," while biting
someone with your false teeth is "aggravated assault."
                [real standing law in Louisana, United States of America]

--
You received this message from the "vim_dev" 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
diff -r 628147a4b3b2 -r 178b8fe97e56 runtime/doc/options.txt
--- a/runtime/doc/options.txt	Sat Jul 31 20:53:54 2010 +0200
+++ b/runtime/doc/options.txt	Sat Jul 31 23:25:55 2010 +0200
@@ -4490,8 +4490,8 @@
 'listchars' 'lcs'	string	(default "eol:$")
 			global
 			{not in Vi}
-	Strings to use in 'list' mode.  It is a comma separated list of string
-	settings.
+	Strings to use in 'list' mode and for the |:list| command.
+	It is a comma separated list of string settings.
 	  eol:c		Character to show at the end of each line.  When
 			omitted, there is no extra character at the end of the
 			line.
diff -r 628147a4b3b2 -r 178b8fe97e56 runtime/doc/various.txt
--- a/runtime/doc/various.txt	Sat Jul 31 20:53:54 2010 +0200
+++ b/runtime/doc/various.txt	Sat Jul 31 23:25:55 2010 +0200
@@ -106,7 +106,7 @@
 							*:l* *:list*
 :[range]l[ist] [count] [flags]
 			Same as :print, but display unprintable characters
-			with '^' and put $ after the line.
+			with '^' and use 'listchars' settings if any.
 			See |ex-flags| for [flags].
 
 							*:nu* *:number*

Raspunde prin e-mail lui