mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-14 06:23:51 -05:00
replace cui with cterm (close #304)
This commit is contained in:
@@ -39,7 +39,7 @@ https://github.com/itchyny/lightline.vim
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
landscape is my colorscheme, which is a high-contrast cui-supported colorscheme, available at https://github.com/itchyny/landscape.vim
|
landscape is my colorscheme, which is a high-contrast cterm-supported colorscheme, available at https://github.com/itchyny/landscape.vim
|
||||||
|
|
||||||
## Why yet another clone of powerline?
|
## Why yet another clone of powerline?
|
||||||
+ [vim-powerline](https://github.com/Lokaltog/vim-powerline) is a nice plugin, but deprecated.
|
+ [vim-powerline](https://github.com/Lokaltog/vim-powerline) is a nice plugin, but deprecated.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Version: 0.1
|
|||||||
Author: itchyny (https://github.com/itchyny)
|
Author: itchyny (https://github.com/itchyny)
|
||||||
License: MIT License
|
License: MIT License
|
||||||
Repository: https://github.com/itchyny/lightline.vim
|
Repository: https://github.com/itchyny/lightline.vim
|
||||||
Last Change: 2018/04/14 10:25:12.
|
Last Change: 2018/04/28 00:08:18.
|
||||||
|
|
||||||
CONTENTS *lightline-contents*
|
CONTENTS *lightline-contents*
|
||||||
|
|
||||||
@@ -576,7 +576,7 @@ defines the colors for the components on the left hand side, in normal mode.
|
|||||||
defines the colors for the selected tab in tabline. In general, each palette
|
defines the colors for the selected tab in tabline. In general, each palette
|
||||||
follows the following style:
|
follows the following style:
|
||||||
>
|
>
|
||||||
let s:p.{mode}.{where} = [ [ {guifg}, {guibg}, {cuifg}, {cuibg} ], ... ]
|
let s:p.{mode}.{where} = [ [ {guifg}, {guibg}, {ctermfg}, {ctermbg} ], ... ]
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
@@ -620,7 +620,7 @@ colors.
|
|||||||
For the complete list of components the color of which you should define in
|
For the complete list of components the color of which you should define in
|
||||||
your colorscheme, see the colorscheme files in lightline.
|
your colorscheme, see the colorscheme files in lightline.
|
||||||
|
|
||||||
It is sometimes painful to write all the colors for both gui and cui.
|
It is sometimes painful to write all the colors for both gui and cterm.
|
||||||
Actually, lightline has some useful functions for writing colorschemes. For
|
Actually, lightline has some useful functions for writing colorschemes. For
|
||||||
example, see
|
example, see
|
||||||
lightline.vim/autoload/lightline/colorscheme/Tomorrow_Night.vim
|
lightline.vim/autoload/lightline/colorscheme/Tomorrow_Night.vim
|
||||||
@@ -629,7 +629,7 @@ normal colorscheme form using:
|
|||||||
>
|
>
|
||||||
let g:lightline#colorscheme#Tomorrow_Night#palette = lightline#colorscheme#fill(s:p)
|
let g:lightline#colorscheme#Tomorrow_Night#palette = lightline#colorscheme#fill(s:p)
|
||||||
<
|
<
|
||||||
This function fills the cui colors for a palette which has only gui colors, or
|
This function fills the cterm colors for a palette which has only gui colors, or
|
||||||
vice versa. However, note that using the convenient function sources an
|
vice versa. However, note that using the convenient function sources an
|
||||||
additional Vim script file (autoload/lightline/colorscheme.vim), which causes
|
additional Vim script file (autoload/lightline/colorscheme.vim), which causes
|
||||||
a little slow down. If you want to avoid this situation, write all the colors
|
a little slow down. If you want to avoid this situation, write all the colors
|
||||||
|
|||||||
Reference in New Issue
Block a user