Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The float window of blame_line will be moved when move cursor in it #708

Closed
YangEfei opened this issue Jan 4, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@YangEfei
Copy link

YangEfei commented Jan 4, 2023

Description

Hi there.
I was trying to call blame_line() and move my cursor to the float window of it. And then I moved my cursor by typing j and k in it, and strange things happened, the float window moved right when the cursor move.
I think it was caused by some updates since 683187285385a0dde6c62e2e6b16e325effdcf04, because it worked well before.

Neovim version

v0.8.0

Operating system and version

Linux

Expected behavior

No response

Actual behavior

My cursor is on the top of the float window
image

And when I move it down, the window will move to right...
image

Minimal config

vim.o.packpath = '/tmp/nvim/site'

local plugins = {
  gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
  -- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
}

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/pack/test/start/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
end

require('gitsigns').setup{
  debug_mode = true, -- You must add this to enable debug messages
  -- ADD GITSIGNS CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
}

-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE

Steps to reproduce

As mention above.

Gitsigns debug messages

No response

@YangEfei YangEfei added the bug Something isn't working label Jan 4, 2023
@lewis6991
Copy link
Owner

lewis6991 commented Jan 4, 2023

This was an intentional change done in: #705

Why do you consider this a bug? I probably don't understand the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants