From 4bc6bfc0dd9578e662056efe3369b3ea34a96962 Mon Sep 17 00:00:00 2001 From: hedy Date: Sun, 19 Nov 2023 21:08:54 +0800 Subject: [PATCH] docs: Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f49f935..cdcee63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,10 +52,16 @@ cursorline is enabled only when focus is in outline. This lessens the visual changes due to `auto_set_cursor`, when focus is in code. - Floating windows are now used for `show_help` keymap and `:OutlineStatus` command. +- `:OutlineStatus` command is now more informative. - New command `:OutlineRefresh` and corresponding lua API function `refresh_outline()` triggers re-requesting of symbols from provider and updating the outline. - New lua API function `is_focus_in_outline()` +- Auto-unfold root nodes when there is only N nodes. Where N defaults to 1 + (meaning when there is only 1 root node, keep it unfolded). The added config + option is `symbol_folding.auto_unfold_depth` with keys `hovered` and `only`. + Key `hovered` is the successor of the legacy `symbol_folding.auto_unfold_hover` + option. **The old option would still work as expected.** ### Fixes