From 2b54e64e4d3b6bea5394402349791a02fb32510c Mon Sep 17 00:00:00 2001 From: hedyhli Date: Wed, 29 Nov 2023 10:18:50 +0000 Subject: [PATCH] Auto generate vim docs --- doc/outline.txt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/outline.txt b/doc/outline.txt index 965d4c2..5dd773d 100644 --- a/doc/outline.txt +++ b/doc/outline.txt @@ -225,8 +225,8 @@ Show defaults ~ }, symbol_folding = { - -- Depth past which nodes will be folded by default - autofold_depth = nil, + -- Depth past which nodes will be folded by default. Set to false to unfold all on open. + autofold_depth = 1, -- When to auto unfold nodes auto_unfold = { -- Auto unfold currently hovered symbol @@ -777,6 +777,8 @@ unless specified otherwise. UNFOLD OTHERS ~ +(Now a default behaviour, different to symbols-outline.nvim.) + Unfold all others except currently hovered item. >lua @@ -790,6 +792,15 @@ Unfold all others except currently hovered item. +UNFOLD ENTIRE SYMBOL TREE BY DEFAULT ~ + +>lua + symbol_folding = { + autofold_depth = false, + }, +< + + AUTO-UNFOLD WHEN THERE’S ONLY TWO (OR ANY NUMBER OF) ROOT NODES ~ >lua