lmburns / lf.nvim

Lf file manager for Neovim (in Lua)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module 'kimbox.palette' not found

azinsharaf opened this issue · comments

What is kimbox.palette and how can i install it? Getting the following error after installing lf.nvim.

Failed to run `config` for lf.nvim

...haraf/AppData/Local/nvim/lua/user/plugins/lf-manager.lua:13: module 'kimbox.palette' not found:
	no field package.preload['kimbox.palette']
cache_loader: module kimbox.palette not found
cache_loader_lib: module kimbox.palette not found
	no file '.\kimbox\palette.lua'
	no file 'C:\Program Files\Neovim\bin\lua\kimbox\palette.lua'
	no file 'C:\Program Files\Neovim\bin\lua\kimbox\palette\init.lua'
	no file '.\kimbox\palette.dll'
	no file 'C:\Program Files\Neovim\bin\kimbox\palette.dll'
	no file 'C:\Program Files\Neovim\bin\loadall.dll'
	no file '.\kimbox.dll'
	no file 'C:\Program Files\Neovim\bin\kimbox.dll'
	no file 'C:\Program Files\Neovim\bin\loadall.dll'

# stacktrace:
  - lf-manager.lua:13 _in_ **config**

install/config using Lazy:

return {
        "lmburns/lf.nvim",
        event = "VeryLazy",
        dependencies = {"plenary.nvim", "toggleterm.nvim"},
        config = function()
          -- This feature will not work if the plugin is lazy-loaded
          vim.g.lf_netrw = 1

          require("lf").setup(
              {
                  escape_quit = false,
                  border = "rounded",
                  highlights = {FloatBorder = {guifg = require("kimbox.palette").colors.magenta}}
              }
          )

          vim.keymap.set("n", "<C-o>", ":Lf<CR>")
        end,
    }

Yeah, don't use the line that says

highlights = {FloatBorder = {guifg = require("kimbox.palette").colors.magenta}}

if you don't have the theme installed. In the README it says that that is a 'sample configuration'

thanks