aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-01-22 10:13:35 +0000
committerGitHub <noreply@github.com>2024-01-22 10:13:35 +0000
commit1233ac467de7504b277425988ef9be7f8d3a9626 (patch)
tree0f90618b9a542e3bc859cf03079d8149d10e77e1 /runtime/doc/options.txt
parent21b36c7d7fa351544253316c606651e9ce925b29 (diff)
downloadrneovim-1233ac467de7504b277425988ef9be7f8d3a9626.tar.gz
rneovim-1233ac467de7504b277425988ef9be7f8d3a9626.tar.bz2
rneovim-1233ac467de7504b277425988ef9be7f8d3a9626.zip
feat(fold): transparent foldtext
'foldtext' can be set to an empty string to disable and render the line with: - extmark highlight - syntax highlighting - search highlighting - no line wrapping - spelling - conceal - inline virtual text - respects `fillchars:fold` Currently normal virtual text is not displayed Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 59ac3b7f34..ac35ad2592 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2714,6 +2714,9 @@ A jump table for the options with a short description can be found at |Q_op|.
It is not allowed to change text or jump to another window while
evaluating 'foldtext' |textlock|.
+ When set to an empty string, foldtext is disabled, and the line
+ is displayed normally with highlighting and no line wrapping.
+
*'formatexpr'* *'fex'*
'formatexpr' 'fex' string (default "")
local to buffer