Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

@jsr-p
Copy link

@jsr-p jsr-p commented Feb 18, 2023

Fixes #333 by checking whether we are inside the command line window before applying the nvim_set_current_win function. If we are inside the command line window we already know we have it focused (the command line window is focused automatically) so nvim_set_current_win is redundant.
Thus, leaving out the nvim_set_current_win in the command line window case fixes the bug.

@jsr-p jsr-p changed the title Fix command line window error Fix command line window error of #333 Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hop commands do not appear to work in the command-line window

1 participant