s/abspath/absolutepath/

This commit is contained in:
itchyny
2013-08-27 23:25:40 +09:00
parent bbe951dabd
commit 5b3011196f
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
" Version: 0.0 " Version: 0.0
" Author: itchyny " Author: itchyny
" License: MIT License " License: MIT License
" Last Change: 2013/08/27 23:24:21. " Last Change: 2013/08/27 23:25:05.
" ============================================================================= " =============================================================================
let s:save_cpo = &cpo let s:save_cpo = &cpo
@@ -48,7 +48,7 @@ function! lightline#init()
let s:lightline.component = get(s:lightline, 'component', {}) let s:lightline.component = get(s:lightline, 'component', {})
call extend(s:lightline.component, { call extend(s:lightline.component, {
\ 'mode': '%{lightline#mode()}', \ 'mode': '%{lightline#mode()}',
\ 'abspath': '%F', 'relativepath': '%f', 'filename': '%t', 'modified': '%M', 'bufnum': '%n', \ 'absolutepath': '%F', 'relativepath': '%f', 'filename': '%t', 'modified': '%M', 'bufnum': '%n',
\ 'paste': '%{&paste?"PASTE":""}', 'readonly': '%R', 'charvalue': '%b', 'charvaluehex': '%B', \ 'paste': '%{&paste?"PASTE":""}', 'readonly': '%R', 'charvalue': '%b', 'charvaluehex': '%B',
\ 'fileencoding': '%{strlen(&fenc)?&fenc:&enc}', 'fileformat': '%{&fileformat}', \ 'fileencoding': '%{strlen(&fenc)?&fenc:&enc}', 'fileformat': '%{&fileformat}',
\ 'filetype': '%{strlen(&filetype)?&filetype:"no ft"}', 'percent': '%3p%%', 'percentwin': '%P', \ 'filetype': '%{strlen(&filetype)?&filetype:"no ft"}', 'percent': '%3p%%', 'percentwin': '%P',

View File

@@ -4,7 +4,7 @@ Version: 0.0
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: 2013/08/27 21:57:06. Last Change: 2013/08/27 23:25:34.
CONTENTS *lightline-contents* CONTENTS *lightline-contents*
@@ -73,7 +73,7 @@ OPTIONS *lightline-option*
> >
let g:lightline.component = { let g:lightline.component = {
\ 'mode': '%{lightline#mode()}', \ 'mode': '%{lightline#mode()}',
\ 'fullpath': '%F', \ 'absolutepath': '%F',
\ 'relativepath': '%f', \ 'relativepath': '%f',
\ 'filename': '%t', \ 'filename': '%t',
\ 'modified': '%M', \ 'modified': '%M',