aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-08-08 18:07:57 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-08-08 22:22:34 -0400
commit43a874ab7441a4a0ab6e973f4fd7add394ed6dd9 (patch)
treeecba9c783bf59e7c7e3658ad7175da297af9f32f /runtime
parentf89a275e32110a63e8ee1fc6ca75e0cf09194185 (diff)
downloadrneovim-43a874ab7441a4a0ab6e973f4fd7add394ed6dd9.tar.gz
rneovim-43a874ab7441a4a0ab6e973f4fd7add394ed6dd9.tar.bz2
rneovim-43a874ab7441a4a0ab6e973f4fd7add394ed6dd9.zip
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) https://github.com/vim/vim/commit/f674b358fc18cf1641a066cc5de73da69e651024 Port get_showbreak_value() from patch v8.1.2281 to avoid breaking changes when porting older patches.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 04cb7141df..f0ce15ac0f 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1038,9 +1038,11 @@ A jump table for the options with a short description can be found at |Q_op|.
continuation (positive).
sbr Display the 'showbreak' value before applying the
additional indent.
- list:{n} Adds an additional indent for lines that match a
+ list:{n} Adds an additional indent for lines that match a
numbered or bulleted list (using the
'formatlistpat' setting).
+ list:-1 Uses the length of a match with 'formatlistpat'
+ for indentation.
The default value for min is 20, shift and list is 0.
*'browsedir'* *'bsdir'*