diff options
author | Zach Wegner <zwegner@gmail.com> | 2019-09-15 14:16:44 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-21 22:09:52 -0700 |
commit | 18e5869f56aab8a52d84185e5bd043799c36ae2d (patch) | |
tree | 9a9e3da150519344719ef555651488c3792cb73a /runtime | |
parent | 45447e3b647259d78434798ddd9c2ae245dcdbcc (diff) | |
download | rneovim-18e5869f56aab8a52d84185e5bd043799c36ae2d.tar.gz rneovim-18e5869f56aab8a52d84185e5bd043799c36ae2d.tar.bz2 rneovim-18e5869f56aab8a52d84185e5bd043799c36ae2d.zip |
Fix "precedes" listchar behavior in wrap mode
Previously, the "precedes" character would be rendered on every row
when w_skipcol > 0 (i.e., when viewing a single line longer than the
entire screen), instead of just on the first row. Make sure to only
render it on the first row in this case.
Add a test for this behavior.
Fix documentation for the "precedes" character, which erroneously
stated that it was only active when wrap mode was off.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 188f7fc2e2..ec0f119033 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3698,9 +3698,8 @@ A jump table for the options with a short description can be found at |Q_op|. off and the line continues beyond the right of the screen. *lcs-precedes* - precedes:c Character to show in the first column, when 'wrap' - is off and there is text preceding the character - visible in the first column. + precedes:c Character to show in the first column, when there is + text preceding the character visible in the first column. *lcs-conceal* conceal:c Character to show in place of concealed text, when 'conceallevel' is set to 1. A space when omitted. |