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

bug: Drops do not stop after opening a file after using Nvdash

Open Frestein opened this issue 5 months ago • 0 comments

Did you check docs and existing issues?

  • [X] I have read all the drop.nvim docs
  • [X] I have updated the plugin to the latest version before submitting this issue
  • [X] I have searched the existing issues of drop.nvim
  • [X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.10.1

Operating system/version

Arch Linux

Describe the bug

I am facing a problem where the drops don't stop falling when I open some file after using Nvdash.

Steps To Reproduce

  1. Open Neovim (nvim -u repro.lua) and use the :Nvdash dashboard from NvChad.
  2. Observe the drops falling.
  3. Open any file (just press enter for open Telescope).

Expected Behavior

The drops should stop when a file is opened after using Nvdash.

Repro

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

vim.g.base46_cache = vim.fn.stdpath("data") .. "/nvchad/base46/"

require("lazy.minit").repro({
	spec = {
		{
			"NvChad/NvChad",
			lazy = false,
			branch = "v2.5",
			import = "nvchad.plugins",
		},
		{
			"folke/drop.nvim",
			opts = {

				themes = {
					{ theme = "summer", from = { month = 1, day = 1 }, to = { month = 12, day = 31 } },
				},
				max = 75,
				interval = 150,
				winblend = 50,
				filetypes = { "nvdash" },
			},
		},
	},
})

dofile(vim.g.base46_cache .. "statusline")

Frestein avatar Sep 01 '24 19:09 Frestein