Skip to content

Commit 7e364c7

Browse files
committed
docs: update docs to reflect dynamic virtual indent attach
1 parent 7e9c888 commit 7e364c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DOCS.md

+4
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ Possible values:
273273
* `true` - Uses *Virtual* indents to align content visually. The indents are only visual, they are not saved to the file.
274274
* `false` - Do not add any *Virtual* indentation.
275275

276+
You can toggle Virtual indents on the fly by setting `vim.b.org_indent_mode` to either `true` or `false` when in a org
277+
buffer. For example, if virtual indents were enabled in the current buffer then you could disable them immediately by
278+
setting `vim.b.org_indent_mode = false`.
279+
276280
This feature has no effect when enabled on Neovim versions < 0.10.0
277281

278282
#### **org_adapt_indentation**

0 commit comments

Comments
 (0)