Mercurial > vim
changeset 18578:e9e60e0088b5 v8.1.2283
patch 8.1.2283: missed on use of p_sbr
Commit: https://github.com/vim/vim/commit/91e22eb6e09ec384496fccde812072033fd9e616
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 00:19:12 2019 +0100
patch 8.1.2283: missed on use of p_sbr
Problem: Missed on use of p_sbr.
Solution: Add missing p_sbr change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 00:30:04 +0100 |
parents | 503b8f709e8b |
children | d3eac9277f08 |
files | src/indent.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/indent.c +++ b/src/indent.c @@ -887,7 +887,7 @@ get_breakindent_win( // indent minus the length of the showbreak string if (wp->w_p_brisbr) - bri -= vim_strsize(p_sbr); + bri -= vim_strsize(get_showbreak_value(wp)); // Add offset for number column, if 'n' is in 'cpoptions' bri += win_col_off2(wp);