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