vague2k / huez.nvim

All things color related. All Lua.
MIT License
102 stars 3 forks source link

Huez resets color to the default color everytime I try to change it #13

Closed simonlearnscoding closed 2 months ago

simonlearnscoding commented 2 months ago

Huez worked the first time I set up a colorscheme with it but since then whenever I try to change a colorscheme with it it will resort to using the same color that ive first set up immediately after trying to change that color.

Steps to reproduce: this is my current config


return {
  event = 'BufWinEnter',
  'vague2k/huez.nvim',
  dependencies = {
    -- You probably already have this installed, highly reccomended you do.
    'nvim-telescope/telescope.nvim',
    -- If using vim.ui, this plugin will give you a better experience
    'stevearc/dressing.nvim',
  },
  config = function()
    require('huez').setup()
    local colorscheme = require('huez.api').get_colorscheme()
    vim.cmd('colorscheme ' .. colorscheme)
    vim.keymap.set('n', '<leader>co', '<cmd>Huez<CR>', {})
  end,
}
vague2k commented 2 months ago

What version of neovim are you on? Have you checked that you're on the latest stable version? I'd start there.

I copy pasted your config and it stills works as intended for me