mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 9.1.0097: 'breakindent' behaves inconsistently with 'list' and splits
Problem: 'breakindent' behaves inconsistently with 'list' and splits.
Solution: Use 'listchars' from the correct window and handle caching
properly. Move cheaper comparisons to the top.
(zeertzjq)
closes: #14008
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b614b284ee
commit
efabd7c8d4
@@ -14,8 +14,8 @@ long get_sts_value(void);
|
||||
int get_indent(void);
|
||||
int get_indent_lnum(linenr_T lnum);
|
||||
int get_indent_buf(buf_T *buf, linenr_T lnum);
|
||||
int get_indent_str(char_u *ptr, int ts, int list);
|
||||
int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list);
|
||||
int get_indent_str(char_u *ptr, int ts, int no_ts);
|
||||
int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int no_ts);
|
||||
int set_indent(int size, int flags);
|
||||
int get_number_indent(linenr_T lnum);
|
||||
int briopt_check(win_T *wp);
|
||||
|
||||
Reference in New Issue
Block a user