Last active
August 29, 2021 10:11
-
-
Save alt-romes/8a5084d09252965c0a383783ca1dcdad to your computer and use it in GitHub Desktop.
lightline wal colorscheme -- errors workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ============================================================================= | |
" Filename: autoload/lightline/colorscheme/wal.vim | |
" Author: Dylan Araps | |
" License: MIT License | |
" Last Change: 2017/10/28 12:21:04. | |
" ============================================================================= | |
source $HOME/.cache/wal/colors-wal.vim | |
let s:black = [ color0, 232 ] | |
let s:gray = [ color0, 0 ] | |
let s:white = [ color7, 7 ] | |
let s:darkblue = [ color4, 4 ] | |
let s:cyan = [ color6, 6 ] | |
let s:green = [ color2, 2 ] | |
let s:orange = [ color5, 5 ] | |
let s:purple = [ color1, 1 ] | |
let s:red = [ color1, 1 ] | |
let s:yellow = [ color3, 3 ] | |
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} | |
let s:p.normal.left = [ [ s:black, s:purple ], [ s:cyan, s:gray ] ] | |
let s:p.normal.right = [ [ s:black, s:purple ], [ s:black, s:darkblue ] ] | |
let s:p.inactive.right = [ [ s:black, s:gray ], [ s:white, s:black ] ] | |
let s:p.inactive.left = [ [ s:cyan, s:black ], [ s:white, s:black ] ] | |
let s:p.insert.left = [ [ s:black, s:green ], [ s:cyan, s:gray ] ] | |
let s:p.replace.left = [ [ s:black, s:red ], [ s:cyan, s:gray ] ] | |
let s:p.visual.left = [ [ s:black, s:orange ], [ s:cyan, s:gray ] ] | |
let s:p.normal.middle = [ [ s:white, s:gray ] ] | |
let s:p.inactive.middle = [ [ s:white, s:gray ] ] | |
let s:p.tabline.left = [ [ s:darkblue, s:gray ] ] | |
let s:p.tabline.tabsel = [ [ s:cyan, s:black ] ] | |
let s:p.tabline.middle = [ [ s:darkblue, s:gray ] ] | |
let s:p.tabline.right = copy(s:p.normal.right) | |
let s:p.normal.error = [ [ s:red, s:black ] ] | |
let s:p.normal.warning = [ [ s:yellow, s:black ] ] | |
let g:lightline#colorscheme#wal#palette = lightline#colorscheme#flatten(s:p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment