mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
vim-patch:8.2.3198: cannot use 'formatlistpat' for breakindent
Problem: Cannot use 'formatlistpat' for breakindent.
Solution: Use a negative list indent. (Maxim Kim, closes vim/vim#8594)
f674b358fc
Port get_showbreak_value() from patch v8.1.2281
to avoid breaking changes when porting older patches.
This commit is contained in:
@@ -7674,6 +7674,12 @@ int win_signcol_configured(win_T *wp, int *is_fixed)
|
||||
return ret;
|
||||
}
|
||||
|
||||
// Get the local or global value of 'showbreak'.
|
||||
char_u *get_showbreak_value(win_T *win FUNC_ATTR_UNUSED)
|
||||
{
|
||||
return p_sbr;
|
||||
}
|
||||
|
||||
/// Get window or buffer local options
|
||||
dict_T *get_winbuf_options(const int bufopt)
|
||||
FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
|
Reference in New Issue
Block a user