Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hedyhli/outline.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
hedyhli committed Nov 29, 2023
2 parents cf194e4 + 2b54e64 commit eddedcc
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions doc/outline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit eddedcc

Please sign in to comment.