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/vim-snipmate | 1 + vim/bundle/vim-snipmate/autoload/snipmate/util.vim | 30 ---------------------- 2 files changed, 1 insertion(+), 30 deletions(-) create mode 160000 vim/bundle/vim-snipmate delete mode 100644 vim/bundle/vim-snipmate/autoload/snipmate/util.vim (limited to 'vim/bundle/vim-snipmate/autoload/snipmate/util.vim') diff --git a/vim/bundle/vim-snipmate b/vim/bundle/vim-snipmate new file mode 160000 index 0000000..ee433e4 --- /dev/null +++ b/vim/bundle/vim-snipmate @@ -0,0 +1 @@ +Subproject commit ee433e43c76c768c95ad6d9af67c4cd4b40f7eac diff --git a/vim/bundle/vim-snipmate/autoload/snipmate/util.vim b/vim/bundle/vim-snipmate/autoload/snipmate/util.vim deleted file mode 100644 index a80d307..0000000 --- a/vim/bundle/vim-snipmate/autoload/snipmate/util.vim +++ /dev/null @@ -1,30 +0,0 @@ -" The next function was based on s:function and s:add_methods in fugitive -" -function! snipmate#util#add_methods(sfile, namespace, methods) abort - let dict = {} - for name in a:methods - let dict[name] = function(join([matchstr(a:sfile, '\d\+'), - \ a:namespace, name], '_')) - endfor - return dict -endfunction - -function! snipmate#util#eval(arg) - try - let ret = eval(a:arg) - catch - echohl ErrorMsg - echom 'SnipMate:Expression: ' . v:exception - echohl None - let ret = '' - endtry - return type(ret) == type('') ? ret : string(ret) -endfunction - -function! snipmate#util#tabwidth() - if &sts > 0 - return &sts - else - return exists('*shiftwidth') ? shiftwidth() : &sw - endif -endfunction -- cgit v1.2.3