Skip to content

fix: set diffview hook for added files#573

Merged
jakubbortlik merged 3 commits into
harrisoncramer:developfrom
jakubbortlik:fix/set-hook-for-added-files
Jul 13, 2026
Merged

fix: set diffview hook for added files#573
jakubbortlik merged 3 commits 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.
@jakubbortlik jakubbortlik force-pushed the fix/set-hook-for-added-files branch from e39c24d to 86017a3 Compare July 13, 2026 14:35
Comment thread lua/gitlab/actions/discussions/init.lua
@jakubbortlik jakubbortlik merged commit a87e55e into harrisoncramer:develop Jul 13, 2026
4 checks passed
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