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

how to control notify level #77

Closed
leisurelicht opened this issue Apr 10, 2022 · 5 comments
Closed

how to control notify level #77

leisurelicht opened this issue Apr 10, 2022 · 5 comments

Comments

@leisurelicht
Copy link

I want to close debug and trace notify. how I can do it.

rcarriga added a commit that referenced this issue Apr 10, 2022
@rcarriga
Copy link
Owner

Added the capability to choose a level, default is info. Please try latest commit 😁

@leisurelicht
Copy link
Author

Added the capability to choose a level, default is info. Please try latest commit 😁

it works, thanks.

@NullVoxPopuli
Copy link

NullVoxPopuli commented May 16, 2022

is info a correct default? I'm have a lot of notifications that aren't saying anything useful with this 😅 (I'm looking to bump my level to warn, I think).

Though, It'd be great to have an example of how to do this in the README.

atm, I have this:

  use {
    'rcarriga/nvim-notify',
    config = function()
      require('notify').setup {
        level = "warn"
      }
    end
  }

and yet, when I tell the lsp to hover, I get:
image
(2 notifications per leader-space)

rcarriga added a commit that referenced this issue May 16, 2022
@rcarriga
Copy link
Owner

The code was assuming an upper case level 🤦, fixed it to work for lower case too.

@NullVoxPopuli
Copy link

thanks!! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants