diff options
| author | Ellison Leão <ellisonleao@gmail.com> | 2023-09-23 21:20:07 -0300 |
|---|---|---|
| committer | Ellison Leão <ellisonleao@gmail.com> | 2023-09-23 21:20:07 -0300 |
| commit | 31cc564a0c52355e32375efc574f412d9f1a7ea2 (patch) | |
| tree | d5c8a63ef10aeb6bee509897d47fcf6d43e1ff50 | |
| parent | a749759e66341696a08f5e1bc572b4ccb121281b (diff) | |
| download | gruvbox-31cc564a0c52355e32375efc574f412d9f1a7ea2.tar.gz gruvbox-31cc564a0c52355e32375efc574f412d9f1a7ea2.tar.xz | |
removing lightline support.
Ref: https://github.com/ellisonleao/gruvbox.nvim/discussions/268
| -rw-r--r-- | autoload/lightline/colorscheme/gruvbox.vim | 2 | ||||
| -rw-r--r-- | lua/gruvbox/lightline.lua | 58 |
2 files changed, 0 insertions, 60 deletions
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 |
