Merge branch 'gregdel-master'

This commit is contained in:
itchyny
2014-06-21 22:41:16 +09:00
2 changed files with 2 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ function! lightline#init()
call extend(s:lightline.component, {
\ 'mode': '%{lightline#mode()}',
\ 'absolutepath': '%F', 'relativepath': '%f', 'filename': '%t', 'modified': '%M', 'bufnum': '%n',
\ 'spell': '%{&spell?&spelllang:"no spell"}',
\ 'paste': '%{&paste?"PASTE":""}', 'readonly': '%R', 'charvalue': '%b', 'charvaluehex': '%B',
\ 'fileencoding': '%{strlen(&fenc)?&fenc:&enc}', 'fileformat': '%{&fileformat}',
\ 'filetype': '%{strlen(&filetype)?&filetype:"no ft"}', 'percent': '%3p%%', 'percentwin': '%P',

View File

@@ -109,6 +109,7 @@ OPTIONS *lightline-option*
\ 'filetype': '%{strlen(&filetype)?&filetype:"no ft"}',
\ 'percent': '%3p%%',
\ 'percentwin': '%P',
\ 'spell': '%{&spell?&spelllang:"no spell"}',
\ 'lineinfo': '%3l:%-2v',
\ 'line': '%l',
\ 'column': '%c'