aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-03 06:21:59 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-10-03 06:23:15 +0800
commit19b49b063c28f7d246bf1b452e5ad59a44345c9d (patch)
tree7a23bd213e6f687d1a18fc016eabdae80fe90571 /src/nvim
parentb003e7feca98ca5e588fdfa1b6fb5c293a68b6d1 (diff)
downloadrneovim-19b49b063c28f7d246bf1b452e5ad59a44345c9d.tar.gz
rneovim-19b49b063c28f7d246bf1b452e5ad59a44345c9d.tar.bz2
rneovim-19b49b063c28f7d246bf1b452e5ad59a44345c9d.zip
vim-patch:20f48d5b2ddb
runtime(doc): mention how to disable folding in diff mode (vim/vim#13242) https://github.com/vim/vim/commit/20f48d5b2ddb9fdc29e83f0da6f31f895eaeab47 Co-authored-by: dundargoc <33953936+dundargoc@users.noreply.github.com>
Diffstat (limited to 'src/nvim')
-rw-r--r--src/nvim/options.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index bae9b56ef4..a0b9306908 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2067,7 +2067,8 @@ return {
When omitted a context of six lines is used.
When using zero the context is actually one,
since folds require a line in between, also
- for a deleted line.
+ for a deleted line. Set it to a very large
+ value (999999) to disable folding completely.
See |fold-diff|.
iblank Ignore changes where lines are all blank. Adds