noice.nvim icon indicating copy to clipboard operation
noice.nvim copied to clipboard

bug: signature_help update too lazy

Open xzbdmw opened this issue 5 months ago • 0 comments

Did you check docs and existing issues?

  • [X] I have read all the noice.nvim docs
  • [X] I have searched the existing issues of noice.nvim
  • [X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.95

Operating system/version

macos14.2

Describe the bug

the signature popup should appear after I type LogRecordPos{,which is vscode's default, but it only appears after I filled one field. I also cheked that vim.lsp.signature_help indeed show correct after type {, and only after I once type ,, noice's signature help would show.

https://github.com/folke/noice.nvim/assets/97848247/e7d4c8c0-25b7-4a6e-9500-0fb52a63b1c2

Steps To Reproduce

use default lazyvim setup open a rust project and some similar struct

Expected Behavior

the signature popup should appear after I type LogRecordPos{, but it only appears after I filled one field.

Repro

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/noice.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

xzbdmw avatar Feb 02 '24 16:02 xzbdmw