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

bug: notify field in config not working #858

Closed
4 tasks done
danielreis1 opened this issue Sep 26, 2024 · 1 comment
Closed
4 tasks done

bug: notify field in config not working #858

danielreis1 opened this issue Sep 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@danielreis1
Copy link

Did you check docs and existing issues?

  • I have read all the which-key.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of which-key.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.10

Operating system/version

windows 10, using alacrity and wsl

Describe the bug

I expected setting the notify to false and not getting notification messages
image

the most basic config would have something like this at the start:
image

problem with this is when I start nvim it triggers a warning, triggering this warning makes it such that other plugins that start windows at startup break, because the warning shuts down the picker windows, please fix and make it such that the warnings are optionally for god's sake
the suggestions to fix these warnings are all broken as well for some reason
here are the problematic nvim startup warnings
image

Steps To Reproduce

  1. set notify to false
  2. add problematic config, whatever causes a warning

Expected Behavior

I expected setting the notify to false and not getting notification messages
image

here are the problematic nvim startup warnings
image

Health

No response

Log

No response

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/which-key.nvim", opts = {} },
    -- add any other plugins here
  },
})
@danielreis1 danielreis1 added the bug Something isn't working label Sep 26, 2024
@folke
Copy link
Owner

folke commented Oct 3, 2024

You're calling register BEFORE calling setup

@folke folke closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
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