2giosangmitom / nightfall.nvim

A sublime Neovim colorscheme, immerse in twilight hues for enhanced focus and creativity
MIT License
27 stars 0 forks source link

Error during switching to the colorscheme #41

Open marcinbarylka opened 1 month ago

marcinbarylka commented 1 month ago

When switching to the scheme by typing:

:colorscheme nightfall

I get this message:

Error detected while processing /home/kaczor/.local/share/nvim/lazy/nightfall.nvim/colors/nightfall.lua:
E5113: Error while calling lua chunk: ...al/share/nvim/lazy/nightfall.nvim/lua/nightfall/init.lua:106: attempt to concatenate field 'compile_path' (a nil value)
stack traceback:
        ...al/share/nvim/lazy/nightfall.nvim/lua/nightfall/init.lua:106: in function 'load'
        ...ocal/share/nvim/lazy/nightfall.nvim/colors/nightfall.lua:1: in main chunk

OS: Ubuntu 24.4 (WSL),

Neovim version:

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377
2giosangmitom commented 1 month ago

It appears that you might not have called the setup function, which is necessary for nightfall.nvim to work correctly.

Here's a snippet that demonstrates the correct installation of nightfall.nvim with lazy.nvim:

{
  "2giosangmitom/nightfall.nvim",
  lazy = false,
  priority = 1000,
  opts = { -- lazy.nvim will call setup() automatically
    -- Your custom options go here
  },
}

If you’ve followed this setup and the issue persists, please share more details about your configuration, so I can assist you further.