Support 3rd char of 'tab' of 'listchars'#3810
Closed
k-takata wants to merge 2 commits intovim:masterfrom
Closed
Conversation
Originally written by Nathaniel Braun: https://groups.google.com/d/msg/vim_dev/bq9vyCYm7CU/ZuIA-_H9xaMJ Updated for the latest code.
Codecov Report
@@ Coverage Diff @@
## master #3810 +/- ##
==========================================
+ Coverage 78.47% 78.48% +<.01%
==========================================
Files 103 103
Lines 141893 141931 +38
==========================================
+ Hits 111356 111388 +32
- Misses 30537 30543 +6
Continue to review full report at Codecov.
|
mhinz
added a commit
to mhinz/neovim
that referenced
this pull request
Jan 25, 2019
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes vim/vim#3810)
vim/vim@83a5217
mhinz
added a commit
to mhinz/neovim
that referenced
this pull request
Jan 25, 2019
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes vim/vim#3810)
vim/vim@83a5217
mhinz
added a commit
to mhinz/neovim
that referenced
this pull request
Jan 26, 2019
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes vim/vim#3810)
vim/vim@83a5217
mhinz
added a commit
to mhinz/neovim
that referenced
this pull request
Jan 26, 2019
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes vim/vim#3810)
vim/vim@83a5217
QazerLab
added a commit
to QazerLab/workbench
that referenced
this pull request
Jul 18, 2019
The documentation for listchars clearly says that the tab symbol requires two-char highlighing sequence. Previously, single-char sequence worked, but this was fixed by vim/vim#3810 and introduced a regression to vimrc from this playbook.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch was originally written by Nathaniel Braun:
https://groups.google.com/d/msg/vim_dev/bq9vyCYm7CU/ZuIA-_H9xaMJ
I updated it for the latest code and added the tests.
Now
set listchars=tab:-->shows a tab as an arrow. E.g.>,->,-->,--->, ...and
set listchars=tab:<=>shows>,<>,<=>,<==>, ...