From 31cc564a0c52355e32375efc574f412d9f1a7ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ellison=20Lea=CC=83o?= Date: Sat, 23 Sep 2023 21:20:07 -0300 Subject: removing lightline support. Ref: https://github.com/ellisonleao/gruvbox.nvim/discussions/268 --- autoload/lightline/colorscheme/gruvbox.vim | 2 -- lua/gruvbox/lightline.lua | 58 ------------------------------ 2 files changed, 60 deletions(-) delete mode 100644 autoload/lightline/colorscheme/gruvbox.vim delete mode 100644 lua/gruvbox/lightline.lua diff --git a/autoload/lightline/colorscheme/gruvbox.vim b/autoload/lightline/colorscheme/gruvbox.vim deleted file mode 100644 index f801642..0000000 --- a/autoload/lightline/colorscheme/gruvbox.vim +++ /dev/null @@ -1,2 +0,0 @@ -let s:palette = v:lua.require('gruvbox.lightline') -let g:lightline#colorscheme#gruvbox#palette = lightline#colorscheme#fill(s:palette) diff --git a/lua/gruvbox/lightline.lua b/lua/gruvbox/lightline.lua deleted file mode 100644 index 42b7c14..0000000 --- a/lua/gruvbox/lightline.lua +++ /dev/null @@ -1,58 +0,0 @@ --- lightline support -local theme = require("gruvbox.groups").setup() - -local bg0 = theme.GruvboxBg0.fg -local bg1 = theme.GruvboxBg1.fg -local bg2 = theme.GruvboxBg2.fg -local bg4 = theme.GruvboxBg4.fg -local fg1 = theme.GruvboxFg1.fg -local fg4 = theme.GruvboxFg4.fg - -local yellow = theme.GruvboxYellow.fg -local blue = theme.GruvboxBlue.fg -local aqua = theme.GruvboxAqua.fg -local orange = theme.GruvboxOrange.fg -local red = theme.GruvboxRed.fg -local green = theme.GruvboxGreen.fg - -local lightline_theme = { - normal = { - left = { { bg0, fg4, "bold" }, { fg4, bg2 } }, - middle = { { fg4, bg1 } }, - right = { { bg0, fg4 }, { fg4, bg2 } }, - error = { { bg0, red } }, - warning = { { bg0, yellow } }, - }, - insert = { - left = { { bg0, blue, "bold" }, { fg1, bg2 } }, - middle = { { fg4, bg1 } }, - right = { { bg0, blue }, { fg1, bg2 } }, - }, - inactive = { - left = { { bg4, bg1 } }, - middle = { { bg4, bg1 } }, - right = { { bg4, bg1 }, { bg4, bg1 } }, - }, - terminal = { - left = { { bg0, green, "bold" }, { fg1, bg2 } }, - middle = { { fg4, bg1 } }, - right = { { bg0, green }, { fg1, bg2 } }, - }, - replace = { - left = { { bg0, aqua, "bold" }, { fg1, bg2 } }, - middle = { { fg4, bg1 } }, - right = { { bg0, aqua }, { fg1, bg2 } }, - }, - visual = { - left = { { bg0, orange, "bold" }, { bg0, bg4 } }, - middle = { { fg4, bg1 } }, - right = { { bg0, orange }, { bg0, bg4 } }, - }, - tabline = { - left = { { fg4, bg2 } }, - middle = { { bg0, bg4 } }, - right = { { bg0, orange } }, - tabsel = { { bg0, fg4 } }, - }, -} -return lightline_theme -- cgit v1.2.3