ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.06k stars 57 forks source link

Error, when visualizing function for the first time #223

Open felipejoribeiro opened 2 years ago

felipejoribeiro commented 2 years ago

Problem:

When visualizing a function for the first time, this error occurs:

image

And after this error, the window stays frozen in the screen, and i have to click in it and exit to close it:

https://user-images.githubusercontent.com/39244876/197036136-b8c9c4ec-7575-4c35-bda1-e1fad9ada375.mov

Environment:

May lib config:

require "lsp_signature".setup({
  bind= true,
  handler_opts= {
    border = "rounded"
  },
  hint_enable=false,
  transparency = 50,
  floating_window = false,
  toggle_key = '<M-f>',
})

Neovim version:

NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@HMBRW-A-001-M1-004.local

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.0/share/nvim"

Run :checkhealth for more info

I updated the package this afternoon so it's the latest release version.

My nvim configuration:

https://github.com/felipejoribeiro/my-dev-environment/blob/main/dot_config/.config/nvim/lua/plugins.lua

ray-x commented 2 years ago

Did you do anything else other than typing? I mean switch active windows back and forth etc.

felipejoribeiro commented 2 years ago

no. The only thing I did, for the message to appear, was press the shortcut to activate the floating window. Then the red text appeared and the floating window showed the behavior. I leave the window disabled by default.

https://user-images.githubusercontent.com/39244876/197086259-333ca7cc-2dcd-47fb-a40f-c6eeb6a0a292.mov

ray-x commented 2 years ago

I pushed a fix that may be relevant. Could you check?

felipejoribeiro commented 2 years ago

i updated, my head is in: image

The problem persists.