darlingm / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Add "space" argument to 'listchars' to show spaces in list mode #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is not possible to make ordinary space characters visible when 'list'
is set.

'listchars' allows customising the display of other whitespace
characters ("tab", "nbsp"), and ordinary spaces when they are trailing
("trail"). But non-trailing spaces cannot be shown in list mode.

I think adding this feature would be useful

*   to make spaces visible when they are hidden after a tab character
    (see the attached screenshot),
*   to match user expectation (popular text editors can show spaces).

A patch with tests was maintained on the mailing list (see attachment).

Some discussion about this can be found on the mailing list.
https://groups.google.com/d/msg/vim_dev/dIQHjW1g92s/FPUU_-9N3wYJ
This is a feature frequently requested by new members of the community.

Original issue reported on code.google.com by 676c7...@gmail.com on 28 Mar 2015 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
I do not see any name for who created this issue.
I do not include patches unless I know who authored it.

Original comment by brammool...@gmail.com on 31 Mar 2015 at 3:37

GoogleCodeExporter commented 9 years ago
Hello there, it's me again, David Bürgin.
Best,

-- 
David

Original comment by 676c7...@gmail.com on 1 Apr 2015 at 9:13

GoogleCodeExporter commented 9 years ago
Closing since the patch has been included as 7.4.711

Original comment by chrisbr...@googlemail.com on 21 Apr 2015 at 5:52

GoogleCodeExporter commented 9 years ago
So if it is "Fixed" when will it be available to final consumers?
In 7.5?

J.

Original comment by jeans...@gmail.com on 21 Apr 2015 at 8:19

GoogleCodeExporter commented 9 years ago
If you are on Linux, chances are high, that the next release of your 
distribution will already include this patch (except for Debian jessy, which is 
already frozen), but I can't tell for sure.

If you are on Windows, check here 
http://vim.wikia.com/wiki/Where_to_download_Vim
(e.g. try tuxproject.de or the Cream download, binary packages of Vim >= 
7.4.711 should appear there soon).

For Mac, check here: https://github.com/macvim-dev/macvim/releases (I don't use 
a Mac, so I can't tell how long it will take, until a more recent Vim version 
will appear there).

And then you can always build Vim yourself ;)

Original comment by chrisbr...@googlemail.com on 22 Apr 2015 at 6:13