Skip to content

fix: set diffview hook for added files#573

Open
jakubbortlik wants to merge 1 commit into
harrisoncramer:developfrom
jakubbortlik:fix/set-hook-for-added-files
Open

fix: set diffview hook for added files#573
jakubbortlik wants to merge 1 commit into
harrisoncramer:developfrom
jakubbortlik:fix/set-hook-for-added-files

Conversation

@jakubbortlik

Copy link
Copy Markdown
Collaborator

The hook for setting up keymaps and autocommands didn't fire correctly if the first file in the review was a new file, so it was diffed against diffview://null, which caused some autocommands to not fire appropriately or some state (reviewer.tabid) not to be set correctly.

The hook for setting up keymaps and autocommands didn't fire correctly
if the first file in the review was a new file, so it was diffed against
diffview://null, which caused some autocommands to not fire
appropriately or some state (reviewer.tabid) not to be set correctly.
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