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',
\ 'spell': '%{&spell?&spelllang:""}', 'fileencoding': '%{&fenc!=#""?&fenc:&enc}', 'fileformat': '%{&ff}',
\ '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': {
\ 'modified': '&modified||!&modifiable', 'readonly': '&readonly', 'paste': '&paste', 'spell': '&spell'

View File

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