From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/tlib_vim | 1 + vim/bundle/tlib_vim/macros/tlib.vim | 38 ------------------------------------- 2 files changed, 1 insertion(+), 38 deletions(-) create mode 160000 vim/bundle/tlib_vim delete mode 100644 vim/bundle/tlib_vim/macros/tlib.vim (limited to 'vim/bundle/tlib_vim/macros') diff --git a/vim/bundle/tlib_vim b/vim/bundle/tlib_vim new file mode 160000 index 0000000..5636472 --- /dev/null +++ b/vim/bundle/tlib_vim @@ -0,0 +1 @@ +Subproject commit 5636472e5dba1a4104376ce6bd93cc2546e02483 diff --git a/vim/bundle/tlib_vim/macros/tlib.vim b/vim/bundle/tlib_vim/macros/tlib.vim deleted file mode 100644 index 3e5a791..0000000 --- a/vim/bundle/tlib_vim/macros/tlib.vim +++ /dev/null @@ -1,38 +0,0 @@ -" @Author: Tom Link (micathom AT gmail com?subject=[vim]) -" @GIT: http://github.com/tomtom/tlib_vim/ -" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) -" @Last Change: 2015-11-09. -" @Revision: 10 - -if &cp || exists("loaded_tlib_macros") - finish -endif -let loaded_tlib_macros = 1 - -let s:save_cpo = &cpo -set cpo&vim - - -" :display: :TRequire NAME [VERSION [FILE]] -" Make a certain vim file is loaded. -" -" Conventions: If FILE isn't defined, plugin/NAME.vim is loaded. The -" file must provide a variable loaded_{NAME} that represents the version -" number. -command! -nargs=+ TRequire let s:require = [] - \ | if !exists('loaded_'. get(s:require, 0)) - \ | exec 'runtime '. get(s:require, 2, 'plugin/'. get(s:require, 0) .'.vim') - \ | if !exists('loaded_'. get(s:require, 0)) || loaded_{get(s:require, 0)} < get(s:require, 1, loaded_{get(s:require, 0)}) - \ | echoerr 'Require '. get(s:require, 0) .' >= '. get(s:require, 1, 'any version will do') - \ | finish - \ | endif - \ | endif | unlet s:require - - -" :display: :Ttimecommand CMD -" Time the execution time of CMD. -command! -nargs=1 -complete=command Ttimecommand call tlib#cmd#Time() - - -let &cpo = s:save_cpo -unlet s:save_cpo -- cgit v1.2.3