Merge upstream PR #119

simrat39/symbols-outline.nvim#119
This commit is contained in:
hedy
2023-11-01 13:40:24 +08:00

View File

@@ -112,11 +112,11 @@ function M._goto_location(change_focus)
)
if change_focus then
vim.fn.win_gotoid(M.state.code_win)
end
if config.options.auto_close then
M.close_outline()
end
end
end
function M._toggle_fold(move_cursor, node_index)
local node = M.state.flattened_outline_items[node_index] or M._current_node()