Mercurial > vim
comparison src/screen.c @ 16592:80bb4ce2a281 v8.1.1299
patch 8.1.1299: "extends" from 'listchars' is used when 'list' is off
commit https://github.com/vim/vim/commit/a5c6a0b6c71ae11078cbf6f5e18ce49a0468a117
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 8 20:20:46 2019 +0200
patch 8.1.1299: "extends" from 'listchars' is used when 'list' is off
Problem: "extends" from 'listchars' is used when 'list' is off. (Hiroyuki
Yoshinaga)
Solution: Only use the "extends" character when 'list' is on. (Hirohito
Higashi, closes #4360)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 May 2019 20:30:04 +0200 |
parents | 7a563ee902b6 |
children | 7e733046db1d |
comparison
equal
deleted
inserted
replaced
16591:13e6287dfae3 | 16592:80bb4ce2a281 |
---|---|
5592 } | 5592 } |
5593 | 5593 |
5594 break; | 5594 break; |
5595 } | 5595 } |
5596 | 5596 |
5597 /* line continues beyond line end */ | 5597 // Show "extends" character from 'listchars' if beyond the line end and |
5598 if (lcs_ext | 5598 // 'list' is set. |
5599 if (lcs_ext != NUL | |
5600 && wp->w_p_list | |
5599 && !wp->w_p_wrap | 5601 && !wp->w_p_wrap |
5600 #ifdef FEAT_DIFF | 5602 #ifdef FEAT_DIFF |
5601 && filler_todo <= 0 | 5603 && filler_todo <= 0 |
5602 #endif | 5604 #endif |
5603 && ( | 5605 && ( |