rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3k stars 80 forks source link

Last notification is blank #53

Closed martispyc closed 2 years ago

martispyc commented 2 years ago

No matter what I do, the last notification is blank my config (It's just the default one with a line at the end):

require("notify").setup({
  -- Animation style (see below for details)
  stages = "fade_in_slide_out",

  -- Function called when a new window is opened, use for changing win settings/config
  on_open = nil,

  -- Function called when a window is closed
  on_close = nil,

  -- Render function for notifications. See notify-render()
  render = "default",

  -- Default timeout for notifications
  timeout = 5000,

  -- For stages that change opacity this is treated as the highlight behind the window
  -- Set this to either a highlight group, an RGB hex value e.g. "#000000" or a function returning an RGB code for dynamic values
  background_colour = "#000000",

  -- Minimum width for notification windows
  minimum_width = 50,

  -- Icons for the different levels
  icons = {
    ERROR = "",
    WARN = "",
    INFO = "",
    DEBUG = "",
    TRACE = "✎",
  },
})

vim.notify = require("notify")

Screenshot 2022-01-21 234646

rcarriga commented 2 years ago

Can you please show me how you're calling vim.notify? I need to be able to reproduce exactly to figure out what's happening

martispyc commented 2 years ago

It works all well now, sorry for the super late response. Don't know the issue but switching to Linux worked for me!