mei28 / luminate.nvim

🌟 Highlight yanked, pasted, and undone/redone text in Neovim with a splash of color.
MIT License
38 stars 2 forks source link

Custom highlighting not working #10

Closed shauryagoel closed 1 month ago

shauryagoel commented 1 month ago

Steps to Reproduce:

  1. Set the following config:
    return {
    "mei28/luminate.nvim",
    event = "VeryLazy",
    branch = "fix#7",
    config = function()
    require("luminate").setup({
      duration = 200,
      yank = {
        hlgroup = "IncSearch",
        guibg = "#f7c67f",
        fg = "#1a1c2c",
      },
    })
    end,
    }
  2. Open a buffer and yank a text.

Expected Behavior:

The yanked text should be highlighted.

Actual Behavior:

The yanked text is not highlighted.

Additional Information:

Besides yanking, undo, redo, and paste are also not highlighted. However, if I remove the custom highlighting section in the config, all things are highlighted with the default colours.

Environment: