ellisonleao / gruvbox.nvim

Lua port of the most famous vim colorscheme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lightline.vim support not working

One-In-Dark opened this issue · comments

Describe the bug

  1. I'm using lightline.vim and gruvbox.nvim. my status line's color is not gruvbox.
  2. lazy.nvim is my plugin manager

MWE: in vimrc just install the 2 plugins by lazy.nvim.

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
   vim.fn.system({
      "git",
      "clone",
      "--filter=blob:none",
      "https://github.com/folke/lazy.nvim.git",
      "--branch=stable", -- latest stable release
      lazypath,
   })
end
vim.opt.rtp:prepend(lazypath)

require'lazy'.setup {
   { 'itchyny/lightline.vim', },
   {
      'ellisonleao/gruvbox.nvim',
      priority = 1000,
      config = function(_, _)
         require("gruvbox").setup()
         vim.cmd.colorscheme('gruvbox')
      end,
   },
}

Expected behaviour

It should provide right gruvbox color for lightline. (Because lightline asks me to use lightline theme gruvbox.)

Or, if it has a workaround, i would appreciate it if you could document it :)

Screenshots

maybe screenshots can be omitted given that the color used is just the powerline palette.

hey @One-In-Dark the lightline support was removed some time ago, #268 you can try the workaround added in that discussion or move to another statusline plugin (which I highly recommend)