Skip to content

Conversation

@briandipalma
Copy link
Contributor

Yes it uses the same config key as the explorer keymap, I could refactor that if you want, it can use the old position if it exists in the config or else use a shared keymap options.keymaps.toggle_stage?

local file_path = node.data.path
local group = node.data.group
local file_path = node.data.path or explorer.current_file_path
local group = node.data.group or explorer.current_file_group
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly not sure what's the point of the node.data etc code as the explorer has the data we want so I'd just get rid of the node code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant