Skip to content

Field To Run 'Config' For Eva-Theme.nvim #2

@pojokcodeid

Description

@pojokcodeid

Hai,

I have error

Failed to run `config` for Eva-Theme.nvim

...nvim/lazy/nvim-lazy/lua/pcode/plugins/theme/evatheme.lua:17: attempt to index local 'color' (a nil value)

# stacktrace:
  - lua/core/lazy.lua:45
  - lua/core/init.lua:3
  - init.lua:1

Neovim Version = 0.10.1
Terminal = Wezterm

My Config

{
  "sharpchen/Eva-Theme.nvim",
  lazy = false,
  priority = 1000,
  build = ":EvaCompile",
  config = function()
    local color = require("Eva-Theme.palette").dark_base
    require("Eva-Theme").setup({
      override_highlight = {
        dark = {
          ["WinBar"] = { bg = color.background },
          ["WinBarNC"] = { bg = color.background },
        },
      },
    })
  end
}

Preview :
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions