Auto generate vim docs
This commit is contained in:
committed by
github-actions[bot]
parent
0cdd8dd915
commit
138c33f176
@@ -224,7 +224,7 @@ Show defaults ~
|
||||
-- Depth past which nodes will be folded by default
|
||||
autofold_depth = nil,
|
||||
-- When to auto unfold nodes
|
||||
auto_unfold_nodes = {
|
||||
auto_unfold = {
|
||||
-- Auto unfold currently hovered symbol
|
||||
hovered = true,
|
||||
-- Auto fold when the root level only has this many nodes.
|
||||
@@ -664,7 +664,7 @@ Unfold all others except currently hovered item.
|
||||
>lua
|
||||
symbol_folding = {
|
||||
autofold_depth = 1,
|
||||
auto_unfold_nodes = {
|
||||
auto_unfold = {
|
||||
hovered = true,
|
||||
},
|
||||
},
|
||||
@@ -676,26 +676,26 @@ AUTO-UNFOLD WHEN THERE’S ONLY TWO (OR ANY NUMBER OF) ROOT NODES ~
|
||||
|
||||
>lua
|
||||
symbol_folding = {
|
||||
auto_unfold_nodes = {
|
||||
auto_unfold = {
|
||||
only = 2,
|
||||
},
|
||||
},
|
||||
<
|
||||
|
||||
`auto_unfold_nodes.only = 2`:
|
||||
`auto_unfold.only = 2`:
|
||||
|
||||
|
||||
https://github.com/hedyhli/outline.nvim/assets/50042066/035fadac-ecee-4427-9ee1-795dac215cea
|
||||
|
||||
`auto_unfold_nodes.only = 1`:
|
||||
`auto_unfold.only = 1`:
|
||||
|
||||
|
||||
https://github.com/hedyhli/outline.nvim/assets/50042066/3a123b7e-ccf6-4278-9a8c-41d2e1865d83
|
||||
|
||||
In words "auto unfold nodes when there is only 2 nodes shown in the outline."
|
||||
|
||||
For `auto_unfold_nodes.only = true`: "auto unfold nodes when the root node is
|
||||
the only node left visible in the outline."
|
||||
For `auto_unfold.only = true`: "auto unfold nodes when the root node is the
|
||||
only node left visible in the outline."
|
||||
|
||||
|
||||
AUTO-JUMP ~
|
||||
|
||||
Reference in New Issue
Block a user