1
0
Fork 0
mirror of synced 2024-12-25 00:03:20 -05:00

Update lightline.

This commit is contained in:
Kurtis Moxley 2022-05-19 21:32:24 +08:00
parent d85f7ef8df
commit d3ca28a5e0
17 changed files with 96 additions and 21 deletions

View file

@ -21,12 +21,13 @@ jobs:
- v7.3
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout vim-themis
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: thinca/vim-themis
path: vim-themis
ref: v1.6.0
- name: Setup Vim
uses: rhysd/action-setup-vim@v1
id: vim

View file

@ -2,7 +2,7 @@
" Filename: autoload/lightline.vim
" Author: itchyny
" License: MIT License
" Last Change: 2020/11/21 14:03:29.
" Last Change: 2021/11/21 22:54:46.
" =============================================================================
let s:save_cpo = &cpo
@ -47,7 +47,7 @@ function! lightline#enable() abort
call lightline#update()
augroup lightline
autocmd!
autocmd WinEnter,BufEnter,BufDelete,SessionLoadPost,FileChangedShellPost * call lightline#update()
autocmd WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost * call lightline#update()
if !has('patch-8.1.1715')
autocmd FileType qf call lightline#update()
endif

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/Tomorrow.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 12:22:37.
" Last Change: 2022/03/15 23:57:37.
" =============================================================================
let s:base03 = '#fafafa'
let s:base023 = '#dfdfdf'
let s:base02 = '#c8c8c8'

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/Tomorrow_Night.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 12:23:38.
" Last Change: 2022/03/15 23:57:43.
" =============================================================================
let s:base3 = '#c5c8c6'
let s:base2 = '#bababa'
let s:base1 = '#a0a0a0'

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/Tomorrow_Night_Blue.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 14:13:21.
" Last Change: 2022/03/15 23:57:49.
" =============================================================================
let s:base3 = '#ffffff'
let s:base23 = '#ffffff'
let s:base2 = '#ffffff'
@ -22,7 +23,6 @@ let s:cyan = '#99ffff'
let s:blue = '#bbdaff'
let s:magenta = '#ebbbff'
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base023, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base02, s:base1 ], [ s:base2, s:base01 ] ]

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/Tomorrow_Night_Bright.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 14:13:26.
" Last Change: 2022/03/15 23:57:52.
" =============================================================================
let s:base3 = '#eaeaea'
let s:base23 = '#d0d0d0'
let s:base2 = '#c6c6c6'

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/Tomorrow_Night_Eighties.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 14:14:14.
" Last Change: 2022/03/15 23:57:56.
" =============================================================================
let s:base3 = '#cccccc'
let s:base23 = '#bbbbbb'
let s:base2 = '#aaaaaa'

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/jellybeans.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 12:21:04.
" Last Change: 2022/03/15 23:59:15.
" =============================================================================
let s:base03 = [ '#151513', 233 ]
let s:base02 = [ '#30302c', 236 ]
let s:base01 = [ '#4e4e43', 239 ]

View file

@ -2,7 +2,7 @@
" Filename: autoload/lightline/colorscheme/molokai.vim
" Author: challsted
" License: MIT License
" Last Change: 2020/02/15 20:57:45.
" Last Change: 2022/03/15 23:58:40.
" =============================================================================
let s:black = [ '#232526', 233 ]
@ -16,7 +16,6 @@ let s:red = [ '#ff0000', 160 ]
let s:yellow = [ '#e6db74', 229 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:black, s:cyan ], [ s:orange, s:black ] ]
let s:p.normal.middle = [ [ s:orange, s:black ] ]
let s:p.normal.right = [ [ s:pink, s:black ], [ s:black, s:pink ] ]

View file

@ -0,0 +1,58 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/rosepine.vim
" Author: sheruost
" License: MIT License
" Last Change: 2022/05/09 23:27:50.
" =============================================================================
" Reference: https://rosepinetheme.com/palette
if lightline#colorscheme#background() ==# 'light'
" Rosé Pine Dawn
let s:base = [ '#faf4ed', 255 ]
let s:surface = [ '#fffaf3', 255 ]
let s:overlay = [ '#f2e9e1', 254 ]
let s:highlight_m = [ '#dfdad9', 145 ]
let s:muted = [ '#9893a5', 103 ]
let s:subtle = [ '#797593', 102 ]
let s:iris = [ '#907aa9', 139 ]
let s:pine = [ '#286983', 24 ]
let s:foam = [ '#56949f', 67 ]
let s:rose = [ '#d7827e', 174 ]
let s:love = [ '#b4637a', 132 ]
else
" Rosé Pine
let s:base = [ '#191724', 233 ]
let s:surface = [ '#1f1d2e', 234 ]
let s:overlay = [ '#26233a', 235 ]
let s:highlight_m = [ '#403d52', 59 ]
let s:muted = [ '#6e6a86', 60 ]
let s:subtle = [ '#908caa', 103 ]
let s:iris = [ '#c4a7e7', 182 ]
let s:pine = [ '#31748f', 30 ]
let s:foam = [ '#9ccfd8', 152 ]
let s:rose = [ '#ebbcba', 217 ]
let s:love = [ '#eb6f92', 204 ]
endif
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base, s:pine ], [ s:subtle, s:surface ] ]
let s:p.normal.right = [ [ s:overlay, s:subtle ], [ s:muted, s:overlay ], [ s:highlight_m, s:surface ] ]
let s:p.inactive.right = [ [ s:base, s:surface ], [ s:overlay, s:base ] ]
let s:p.inactive.left = [ [ s:overlay, s:base ], [ s:surface, s:base ] ]
let s:p.insert.left = [ [ s:base, s:foam ], [ s:subtle, s:surface ] ]
let s:p.replace.left = [ [ s:base, s:love ], [ s:subtle, s:surface ] ]
let s:p.visual.left = [ [ s:base, s:iris ], [ s:subtle, s:surface ] ]
let s:p.normal.middle = [ [ s:overlay, s:base ] ]
let s:p.inactive.middle = [ [ s:surface, s:base ] ]
let s:p.tabline.left = [ [ s:subtle, s:base ] ]
let s:p.tabline.tabsel = [ [ s:pine, s:base ] ]
let s:p.tabline.middle = [ [ s:surface, s:base ] ]
let s:p.tabline.right = copy(s:p.normal.right)
let s:p.normal.error = [ [ s:love, s:base ] ]
let s:p.normal.warning = [ [ s:rose, s:surface ] ]
let g:lightline#colorscheme#rosepine#palette = lightline#colorscheme#flatten(s:p)

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/seoul256.vim
" Author: atweiden
" License: MIT License
" Last Change: 2015/11/02 08:23:27.
" Last Change: 2022/03/15 23:58:59.
" =============================================================================
let s:base03 = [ '#151513', 233 ]
let s:base02 = [ '#30302c', 236 ]
let s:base01 = [ '#4e4e43', 239 ]

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/simpleblack.vim
" Author: lucasprag
" License: MIT License
" Last Change: 2019/10/28 22:54:01.
" Last Change: 2022/03/15 23:58:35.
" =============================================================================
let s:black = [ '#000000', '0' ]
let s:black2 = [ '#121212', '233' ]
@ -22,7 +23,6 @@ let s:gold = [ '#f0d50c', '220' ]
let s:red = [ '#d70000', '160' ]
let s:none = [ 'NONE', 'NONE' ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:black, s:blue ], [ s:gray4, s:black2 ] ]
let s:p.normal.right = [ [ s:gray, s:gray4 ], [ s:gray3, s:gray ], [ s:gray2, s:black2 ] ]

View file

@ -4,6 +4,7 @@
" License: MIT License
" Last Change: 2018/05/19
" =============================================================================
let s:base03 = [ '#151513', 233 ]
let s:base02 = [ '#30302c', 236 ]
let s:base01 = [ '#4e4e43', 239 ]

View file

@ -2,8 +2,9 @@
" Filename: autoload/lightline/colorscheme/wombat.vim
" Author: itchyny
" License: MIT License
" Last Change: 2015/11/30 08:37:43.
" Last Change: 2022/03/15 23:59:09.
" =============================================================================
let s:base03 = [ '#242424', 235 ]
let s:base023 = [ '#353535', 236 ]
let s:base02 = [ '#444444', 238 ]
@ -20,6 +21,7 @@ let s:magenta = [ '#f2c68a', 216 ]
let s:blue = [ '#8ac6f2', 117 ]
let s:cyan = s:blue
let s:green = [ '#95e454', 119 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base02, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base02, s:base0 ], [ s:base1, s:base01 ] ]

View file

@ -120,6 +120,14 @@
![lightline.vim - one_light](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/one_light.png)
### rosepine (`background=dark`)
![lightline.vim - rosepine_dark](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/rosepine_dark.png)
### rosepine (`background=light`)
![lightline.vim - rosepine_light](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/rosepine_light.png)
### srcery_drk
![lightline.vim - srcery_drk](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/srcery_drk.png)

View file

@ -3,7 +3,7 @@
Author: itchyny (https://github.com/itchyny)
License: MIT License
Repository: https://github.com/itchyny/lightline.vim
Last Change: 2020/10/20 21:35:06.
Last Change: 2022/03/16 00:15:04.
CONTENTS *lightline-contents*
@ -233,7 +233,7 @@ OPTIONS *lightline-option*
Tomorrow_Night_Bright, Tomorrow_Night_Eighties, PaperColor,
landscape, one, materia, material, OldHope, nord, deus,
simpleblack, srcery_drk, ayu_mirage, ayu_light, ayu_dark,
apprentice and 16color are available.
apprentice, rosepine, and 16color are available.
The default value is:
>
let g:lightline.colorscheme = 'default'

View file

@ -2,7 +2,7 @@
" Filename: plugin/lightline.vim
" Author: itchyny
" License: MIT License
" Last Change: 2020/11/05 20:05:40.
" Last Change: 2021/11/21 22:54:41.
" =============================================================================
if exists('g:loaded_lightline') || v:version < 703
@ -15,7 +15,7 @@ set cpo&vim
augroup lightline
autocmd!
autocmd WinEnter,BufEnter,BufDelete,SessionLoadPost,FileChangedShellPost * call lightline#update()
autocmd WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost * call lightline#update()
if !has('patch-8.1.1715')
autocmd FileType qf call lightline#update()
endif