bug: signature_help update too lazy
xzbdmw opened this issue · comments
xzbdmw commented
Did you check docs and existing issues?
- I have read all the noice.nvim docs
- I have searched the existing issues of noice.nvim
- 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.
iShot_2024-02-03_00.51.36.mp4
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