trim trailing spaces

This commit is contained in:
itchyny
2015-09-29 08:01:31 +09:00
parent 967501e7a1
commit 47a9f8776f

View File

@@ -141,7 +141,7 @@ when saving it you need to add the nested flag to your `autocmd` like so
```vim
augroup reload_vimrc
autocmd!
autocmd bufwritepost $MYVIMRC nested source $MYVIMRC
autocmd bufwritepost $MYVIMRC nested source $MYVIMRC
augroup END
```
@@ -462,7 +462,7 @@ endfunction
```
![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/13.png)
Fine and readable!
Fine and readable!
Finally, you come up with concatenating the three components: the read-only mark, the filename and the modified mark.
@@ -589,8 +589,8 @@ endfunction
function! LightLineFilename()
return ('' != LightLineReadonly() ? LightLineReadonly() . ' ' : '') .
\ (&ft == 'vimfiler' ? vimfiler#get_status_string() :
\ &ft == 'unite' ? unite#get_status_string() :
\ (&ft == 'vimfiler' ? vimfiler#get_status_string() :
\ &ft == 'unite' ? unite#get_status_string() :
\ &ft == 'vimshell' ? vimshell#get_status_string() :
\ '' != expand('%:t') ? expand('%:t') : '[No Name]') .
\ ('' != LightLineModified() ? ' ' . LightLineModified() : '')