Merge pull request #496 from elig0n/patch-1

This commit is contained in:
itchyny
2020-08-16 11:07:04 +09:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ let s:_lightline = {
\ 'paste': '%{&paste?"PASTE":""}', 'readonly': '%R', 'charvalue': '%b', 'charvaluehex': '%B', \ 'paste': '%{&paste?"PASTE":""}', 'readonly': '%R', 'charvalue': '%b', 'charvaluehex': '%B',
\ 'spell': '%{&spell?&spelllang:""}', 'fileencoding': '%{&fenc!=#""?&fenc:&enc}', 'fileformat': '%{&ff}', \ 'spell': '%{&spell?&spelllang:""}', 'fileencoding': '%{&fenc!=#""?&fenc:&enc}', 'fileformat': '%{&ff}',
\ 'filetype': '%{&ft!=#""?&ft:"no ft"}', 'percent': '%3p%%', 'percentwin': '%P', \ 'filetype': '%{&ft!=#""?&ft:"no ft"}', 'percent': '%3p%%', 'percentwin': '%P',
\ 'lineinfo': '%3l:%-2v', 'line': '%l', 'column': '%c', 'close': '%999X X ', 'winnr': '%{winnr()}' \ 'lineinfo': '%3l:%-2c', 'line': '%l', 'column': '%c', 'close': '%999X X ', 'winnr': '%{winnr()}'
\ }, \ },
\ 'component_visible_condition': { \ 'component_visible_condition': {
\ 'modified': '&modified||!&modifiable', 'readonly': '&readonly', 'paste': '&paste', 'spell': '&spell' \ 'modified': '&modified||!&modifiable', 'readonly': '&readonly', 'paste': '&paste', 'spell': '&spell'

View File

@@ -107,7 +107,7 @@ OPTIONS *lightline-option*
\ 'percent': '%3p%%', \ 'percent': '%3p%%',
\ 'percentwin': '%P', \ 'percentwin': '%P',
\ 'spell': '%{&spell?&spelllang:""}', \ 'spell': '%{&spell?&spelllang:""}',
\ 'lineinfo': '%3l:%-2v', \ 'lineinfo': '%3l:%-2c',
\ 'line': '%l', \ 'line': '%l',
\ 'column': '%c', \ 'column': '%c',
\ 'close': '%999X X ', \ 'close': '%999X X ',
@@ -305,7 +305,7 @@ nice.
> >
let g:lightline = { let g:lightline = {
\ 'component': { \ 'component': {
\ 'lineinfo': ' %3l:%-2v', \ 'lineinfo': ' %3l:%-2c',
\ }, \ },
\ 'component_function': { \ 'component_function': {
\ 'readonly': 'LightlineReadonly', \ 'readonly': 'LightlineReadonly',
@@ -330,7 +330,7 @@ look nice.
> >
let g:lightline = { let g:lightline = {
\ 'component': { \ 'component': {
\ 'lineinfo': '⭡ %3l:%-2v', \ 'lineinfo': '⭡ %3l:%-2c',
\ }, \ },
\ 'component_function': { \ 'component_function': {
\ 'readonly': 'LightlineReadonly', \ 'readonly': 'LightlineReadonly',