diff options
author | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
commit | 9931e0888b2419326ae10ebbfae532261c5c125f (patch) | |
tree | 7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/lightline.vim/autoload/lightline/tab.vim | |
parent | e573b3020c032400eed60b649a2cbf55266e6bb0 (diff) | |
download | myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2 myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip |
Fix submodules
Diffstat (limited to 'vim/bundle/lightline.vim/autoload/lightline/tab.vim')
m--------- | vim/bundle/lightline.vim | 0 | ||||
-rw-r--r-- | vim/bundle/lightline.vim/autoload/lightline/tab.vim | 33 |
2 files changed, 0 insertions, 33 deletions
diff --git a/vim/bundle/lightline.vim b/vim/bundle/lightline.vim new file mode 160000 +Subproject 430ce2cb063b39a0c7950cafd617e333acb6759 diff --git a/vim/bundle/lightline.vim/autoload/lightline/tab.vim b/vim/bundle/lightline.vim/autoload/lightline/tab.vim deleted file mode 100644 index f2accc1..0000000 --- a/vim/bundle/lightline.vim/autoload/lightline/tab.vim +++ /dev/null @@ -1,33 +0,0 @@ -" ============================================================================= -" Filename: autoload/lightline/tab.vim -" Author: itchyny -" License: MIT License -" Last Change: 2016/05/07 22:31:02. -" ============================================================================= - -let s:save_cpo = &cpo -set cpo&vim - -function! lightline#tab#filename(n) abort - let buflist = tabpagebuflist(a:n) - let winnr = tabpagewinnr(a:n) - let _ = expand('#'.buflist[winnr - 1].':t') - return _ !=# '' ? _ : '[No Name]' -endfunction - -function! lightline#tab#modified(n) abort - let winnr = tabpagewinnr(a:n) - return gettabwinvar(a:n, winnr, '&modified') ? '+' : gettabwinvar(a:n, winnr, '&modifiable') ? '' : '-' -endfunction - -function! lightline#tab#readonly(n) abort - let winnr = tabpagewinnr(a:n) - return gettabwinvar(a:n, winnr, '&readonly') ? 'RO' : '' -endfunction - -function! lightline#tab#tabnum(n) abort - return a:n -endfunction - -let &cpo = s:save_cpo -unlet s:save_cpo |