feat(parser): Flatten outline items while parsing
* Removes the need for flatten_outline_items * Improves performance
This commit is contained in:
@@ -15,7 +15,7 @@ end
|
||||
|
||||
function M.rename()
|
||||
local current_line = vim.api.nvim_win_get_cursor(so.view.winnr)[1]
|
||||
local node = so.state.flattened_outline_items[current_line]
|
||||
local node = so.state.outline_items[current_line]
|
||||
|
||||
local params = get_rename_params(node, so.state.code_win)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user