danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.11k stars 139 forks source link

neovim: theming is incompatible with lazy.nvim #505

Open Jackaed opened 1 month ago

Jackaed commented 1 month ago

496 causes issues when neovim is configured through lazy.nvim. This is because lazy disables loadplugins by default (see https://github.com/folke/lazy.nvim/issues/402).

Unsure as to what the previous method of theming neovim was but it didn't have this issue. This may need to be marked as "wont fix", but probably worth having it documented.

The fix is to include:

require("lazy").setup({}, {
  performance = {
    reset_packpath = false,
  },
})

In your configuration, for anyone having the same issue.

trueNAHO commented 1 month ago

Cc: @donovanglover

donovanglover commented 1 month ago

Should be possible to fix but I haven't came up with anything with the time I've spent trying to find a solution so far