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/spec/tlib/input.vim | 127 -------------------------------- 2 files changed, 1 insertion(+), 127 deletions(-) create mode 160000 vim/bundle/tlib_vim delete mode 100755 vim/bundle/tlib_vim/spec/tlib/input.vim (limited to 'vim/bundle/tlib_vim/spec/tlib/input.vim') 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/spec/tlib/input.vim b/vim/bundle/tlib_vim/spec/tlib/input.vim deleted file mode 100755 index f82aea6..0000000 --- a/vim/bundle/tlib_vim/spec/tlib/input.vim +++ /dev/null @@ -1,127 +0,0 @@ -" @Author: Tom Link (micathom AT gmail com?subject=[vim]) -" @Website: http://www.vim.org/account/profile.php?user_id=4037 -" @GIT: http://github.com/tomtom/vimtlib/ -" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) -" @Created: 2009-02-28. -" @Last Change: 2009-03-14. -" @Revision: 73 - -let s:save_cpo = &cpo -set cpo&vim - - -SpecBegin 'title': 'tlib: Input', 'scratch': '%', - \ 'after': ':unlet! g:spec_lib_rv', - \ 'options': [ - \ 'vim', - \ ] - - -let g:spec_tlib_list = [10, 20, 30, 40, 'a50', 'aa60', 'b70', 'ba80', 90] - - - -It should return empty values when the user presses . -Replay :let g:spec_lib_rv = tlib#input#List('s', '', g:spec_tlib_list)\ - \ \\\ -Should be#Equal g:spec_lib_rv, '' - -Replay :let g:spec_lib_rv = tlib#input#List('m', '', g:spec_tlib_list)\ - \ \\\ -Should be#Equal g:spec_lib_rv, [] - -Replay :let g:spec_lib_rv = tlib#input#List('si', '', g:spec_tlib_list)\ - \ \\\ -Should be#Equal g:spec_lib_rv, 0 - - - -It should pick an item from s-type list. -Replay :let g:spec_lib_rv = tlib#input#List('s', '', g:spec_tlib_list)\ - \ \\\ -Should be#Equal g:spec_lib_rv, 30 - - - -It should return an index from si-type list. -Replay :let g:spec_lib_rv = tlib#input#List('si', '', g:spec_tlib_list)\ - \ \\\ -Should be#Equal g:spec_lib_rv, 3 - - - -It should return a list from a m-type list. -Replay :let g:spec_lib_rv = tlib#input#List('m', '', g:spec_tlib_list)\ - \ \#\\\ -Should be#Equal sort(g:spec_lib_rv), [20, 40] - -Replay :let g:spec_lib_rv = tlib#input#List('m', '', g:spec_tlib_list)\ - \ \\\ -Should be#Equal sort(g:spec_lib_rv), [20, 30] - -Replay :let g:spec_lib_rv = tlib#input#List('m', '', g:spec_tlib_list)\ - \ \\\\ -Should be#Equal sort(g:spec_lib_rv), [20, 30] - - - -It should return a list of indices from a mi-type list. -Replay :let g:spec_lib_rv = tlib#input#List('mi', '', g:spec_tlib_list)\ - \ \#\\\ -Should be#Equal sort(g:spec_lib_rv), [2, 4] - -Replay :let g:spec_lib_rv = tlib#input#List('mi', '', g:spec_tlib_list)\ - \ \\\ -Should be#Equal sort(g:spec_lib_rv), [2, 3] - -Replay :let g:spec_lib_rv = tlib#input#List('mi', '', g:spec_tlib_list)\ - \ \\\\ -Should be#Equal sort(g:spec_lib_rv), [2, 3] - - - -It should filter items from a s-type list. -Replay :let g:spec_lib_rv = tlib#input#List('s', '', g:spec_tlib_list)\ - \ \a\\ -Should be#Equal g:spec_lib_rv, 'aa60' - - - -It should filter items from a si-type list. -Replay :let g:spec_lib_rv = tlib#input#List('si', '', g:spec_tlib_list)\ - \ \a\\ -Should be#Equal g:spec_lib_rv, 6 - - - -It should filter items from a m-type list. -Replay :let g:spec_lib_rv = tlib#input#List('m', '', g:spec_tlib_list)\ - \ a\#\\ -Should be#Equal sort(g:spec_lib_rv), ['aa60', 'ba80'] - -Replay :let g:spec_lib_rv = tlib#input#List('m', '', g:spec_tlib_list)\ - \ a\\\ -Should be#Equal sort(g:spec_lib_rv), ['aa60', 'ba80'] - -Replay :let g:spec_lib_rv = tlib#input#List('m', '', g:spec_tlib_list)\ - \ a\\\\ -Should be#Equal sort(g:spec_lib_rv), ['aa60', 'ba80'] - - - -It should filter items from a mi-type list. -Replay :let g:spec_lib_rv = tlib#input#List('mi', '', g:spec_tlib_list)\ - \ a\#\\ -Should be#Equal sort(g:spec_lib_rv), [6, 8] - -Replay :let g:spec_lib_rv = tlib#input#List('mi', '', g:spec_tlib_list)\ - \ a\\\ -Should be#Equal sort(g:spec_lib_rv), [6, 8] - -Replay :let g:spec_lib_rv = tlib#input#List('mi', '', g:spec_tlib_list)\ - \ a\\\\ -Should be#Equal sort(g:spec_lib_rv), [6, 8] - - - -let &cpo = s:save_cpo -- cgit v1.2.3