mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-15 06:53:51 -05:00
trailing spaces
This commit is contained in:
@@ -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/22 22:22:16.
|
Last Change: 2013/08/22 22:34:41.
|
||||||
|
|
||||||
CONTENTS *lightline-contents*
|
CONTENTS *lightline-contents*
|
||||||
|
|
||||||
@@ -197,8 +197,8 @@ In order to define own component:
|
|||||||
\ }
|
\ }
|
||||||
function! MyFilename()
|
function! MyFilename()
|
||||||
return ('' != MyReadonly() ? MyReadonly() . ' ' : '') .
|
return ('' != MyReadonly() ? MyReadonly() . ' ' : '') .
|
||||||
\ (&ft == 'vimfiler' ? vimfiler#get_status_string() :
|
\ (&ft == 'vimfiler' ? vimfiler#get_status_string() :
|
||||||
\ &ft == 'unite' ? unite#get_status_string() :
|
\ &ft == 'unite' ? unite#get_status_string() :
|
||||||
\ '' != expand('%t') ? expand('%t') : '[No Name]') .
|
\ '' != expand('%t') ? expand('%t') : '[No Name]') .
|
||||||
\ ('' != MyModified() ? ' ' . MyModified() : '')
|
\ ('' != MyModified() ? ' ' . MyModified() : '')
|
||||||
endfunction
|
endfunction
|
||||||
@@ -259,9 +259,9 @@ A nice example for |vim-powerline| font users:
|
|||||||
endfunction
|
endfunction
|
||||||
function! MyFilename()
|
function! MyFilename()
|
||||||
return ('' != MyReadonly() ? MyReadonly() . ' ' : '') .
|
return ('' != MyReadonly() ? MyReadonly() . ' ' : '') .
|
||||||
\ (&ft == 'vimfiler' ? vimfiler#get_status_string() :
|
\ (&ft == 'vimfiler' ? vimfiler#get_status_string() :
|
||||||
\ &ft == 'unite' ? unite#get_status_string() :
|
\ &ft == 'unite' ? unite#get_status_string() :
|
||||||
\ &ft == 'vimshell' ? vimshell#get_status_string() :
|
\ &ft == 'vimshell' ? vimshell#get_status_string() :
|
||||||
\ '' != expand('%t') ? expand('%t') : '[No Name]') .
|
\ '' != expand('%t') ? expand('%t') : '[No Name]') .
|
||||||
\ ('' != MyModified() ? ' ' . MyModified() : '')
|
\ ('' != MyModified() ? ' ' . MyModified() : '')
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user