Comments (4)
Yes, it works! Thank you a lot!
from vim-gruvbox8.
Sorry for the late reply: this went off my radar.
Have you tried to simply add another Include: _lightline
in gruvbox8.colortemplate
?
" […]
Background: dark
Color: bg0 rgb(40,40,40) 235 Black
Include: _dark
Include: _lightline
Include: _airline
Background: light
" […]
Include: _light
Include: _lightline # <=== Add this
from vim-gruvbox8.
Sorry for the late reply: this went off my radar.
Have you tried to simply add another
Include: _lightline
ingruvbox8.colortemplate
?" […] Background: dark Color: bg0 rgb(40,40,40) 235 Black Include: _dark Include: _lightline Include: _airline Background: light " […] Include: _light Include: _lightline # <=== Add this
That creates a file autoload/lightline/gruvbox8.vim with duplicated body:
let s:bg0 = [ '#282828', 235 ]
let s:bg1 = [ '#3c3836', 237 ]
let s:bg2 = [ '#504945', 239 ]
let s:bg4 = [ '#7c6f64', 243 ]
let s:fg1 = [ '#ebdbb2', 187 ]
let s:fg4 = [ '#a89984', 137 ]
let s:green = [ '#98971a', 100 ]
let s:yellow = [ '#d79921', 172 ]
let s:blue = [ '#458588', 66 ]
let s:aqua = [ '#689d6a', 71 ]
let s:orange = [ '#d65d0e', 166 ]
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}, 'terminal': {} }
let s:p.normal.left = [ [ s:bg0, s:fg4, 'bold' ], [ s:fg4, s:bg2 ] ]
let s:p.normal.right = [ [ s:bg0, s:fg4 ], [ s:fg4, s:bg2 ] ]
let s:p.normal.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.inactive.left = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
let s:p.inactive.right = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
let s:p.inactive.middle = [ [ s:bg4, s:bg1 ] ]
let s:p.insert.left = [ [ s:bg0, s:blue, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.insert.right = [ [ s:bg0, s:blue ], [ s:fg1, s:bg2 ] ]
let s:p.insert.middle = [ [ s:fg4, s:bg2 ] ]
let s:p.terminal.left = [ [ s:bg0, s:green, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.terminal.right = [ [ s:bg0, s:green ], [ s:fg1, s:bg2 ] ]
let s:p.terminal.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.replace.left = [ [ s:bg0, s:aqua, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.replace.right = [ [ s:bg0, s:aqua ], [ s:fg1, s:bg2 ] ]
let s:p.replace.middle = [ [ s:fg4, s:bg2 ] ]
let s:p.visual.left = [ [ s:bg0, s:orange, 'bold' ], [ s:bg0, s:bg4 ] ]
let s:p.visual.right = [ [ s:bg0, s:orange ], [ s:bg0, s:bg4 ] ]
let s:p.visual.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.tabline.left = [ [ s:fg4, s:bg2 ] ]
let s:p.tabline.right = [ [ s:bg0, s:orange ] ]
let s:p.tabline.middle = [ [ s:bg0, s:bg4 ] ]
let s:p.tabline.tabsel = [ [ s:bg0, s:fg4 ] ]
let s:p.normal.error = [ [ s:bg0, s:orange ] ]
let s:p.normal.warning = [ [ s:bg2, s:yellow ] ]
let g:lightline#colorscheme#gruvbox8#palette = lightline#colorscheme#flatten(s:p)
let s:bg0 = [ '#282828', 235 ]
let s:bg1 = [ '#3c3836', 237 ]
let s:bg2 = [ '#504945', 239 ]
let s:bg4 = [ '#7c6f64', 243 ]
let s:fg1 = [ '#ebdbb2', 187 ]
let s:fg4 = [ '#a89984', 137 ]
let s:green = [ '#98971a', 100 ]
let s:yellow = [ '#d79921', 172 ]
let s:blue = [ '#458588', 66 ]
let s:aqua = [ '#689d6a', 71 ]
let s:orange = [ '#d65d0e', 166 ]
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}, 'terminal': {} }
let s:p.normal.left = [ [ s:bg0, s:fg4, 'bold' ], [ s:fg4, s:bg2 ] ]
let s:p.normal.right = [ [ s:bg0, s:fg4 ], [ s:fg4, s:bg2 ] ]
let s:p.normal.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.inactive.left = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
let s:p.inactive.right = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
let s:p.inactive.middle = [ [ s:bg4, s:bg1 ] ]
let s:p.insert.left = [ [ s:bg0, s:blue, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.insert.right = [ [ s:bg0, s:blue ], [ s:fg1, s:bg2 ] ]
let s:p.insert.middle = [ [ s:fg4, s:bg2 ] ]
let s:p.terminal.left = [ [ s:bg0, s:green, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.terminal.right = [ [ s:bg0, s:green ], [ s:fg1, s:bg2 ] ]
let s:p.terminal.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.replace.left = [ [ s:bg0, s:aqua, 'bold' ], [ s:fg1, s:bg2 ] ]
let s:p.replace.right = [ [ s:bg0, s:aqua ], [ s:fg1, s:bg2 ] ]
let s:p.replace.middle = [ [ s:fg4, s:bg2 ] ]
let s:p.visual.left = [ [ s:bg0, s:orange, 'bold' ], [ s:bg0, s:bg4 ] ]
let s:p.visual.right = [ [ s:bg0, s:orange ], [ s:bg0, s:bg4 ] ]
let s:p.visual.middle = [ [ s:fg4, s:bg1 ] ]
let s:p.tabline.left = [ [ s:fg4, s:bg2 ] ]
let s:p.tabline.right = [ [ s:bg0, s:orange ] ]
let s:p.tabline.middle = [ [ s:bg0, s:bg4 ] ]
let s:p.tabline.tabsel = [ [ s:bg0, s:fg4 ] ]
let s:p.normal.error = [ [ s:bg0, s:orange ] ]
let s:p.normal.warning = [ [ s:bg2, s:yellow ] ]
let g:lightline#colorscheme#gruvbox8#palette = lightline#colorscheme#flatten(s:p)
from vim-gruvbox8.
That has revealed a bug in Colortemplate, which has been fixed in the current master.
I have rebuilt the Lightline script for Gruvbox 8. Currently, the same template (_lightline
) is used both for dark and light background. If the code needs to be differentiated, two templates (say, _lightline_dark
and _lightline_light
) could be defined.
I do not use Lightline, so I haven't checked how it looks. Please review, and if further changes are required, let me know (or, even better, open a pull request).
from vim-gruvbox8.
Related Issues (20)
- Theme doesn't load automatically upon start up when using a lua config HOT 8
- Fallback colors HOT 7
- none
- Strange behaviour of left service column HOT 9
- Lua port HOT 1
- git gutter signs are too attractive HOT 3
- sometimes no colorscheme anymore HOT 3
- visual select colors HOT 2
- How can I disable italics? HOT 7
- gruvbox_transp_bg=1 doesn't work in Neovim 0.6 HOT 2
- Preview Window Highlight HOT 1
- Colors table HOT 3
- Poor readability of conceal characters HOT 2
- When using gruvbox8_soft and scrolling away, the background color is only partially applied HOT 2
- How do I install it without lua? HOT 2
- gruvbox_italicize_strings option doesn't work HOT 8
- fzf windows open in dark mode HOT 3
- Stupid Question: How to Install this in vim? HOT 2
- Vim built-in terminal is not transparent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-gruvbox8.