I have been wanting this feature as well, so I made a patch.
The way it works is as follows:
- an option, called "ntab" (for "new tab", or "end tab") is introduced within "listchars". It can be set like this: "ntab:1" or "ntab:y" or "ntab:Y" and unset with "ntab:0" or "ntab:n" or "ntab:N".
- when "ntab" is off [default], things behave as they currently do
- when "ntab" is on, the first character of "tab" is repeated, and the last character is mandatorily put.
This means that "tab:->,ntab:1" will show a tab that takes four spaces as "--->" and a tab that taks 1 space as ">".
I attach the patch with this e-mail.
Thanks!
Nathaniel
> /// Bram Moolenaar -- XXXXXXXXXXX -- http://www.Moolenaar.net \\\
--
--
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
---
You received this message because you are subscribed to a topic in the Google Groups "vim_dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/AZQWFbgnMIo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.