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-snippets | 1 + vim/bundle/vim-snippets/plugin/vimsnippets.vim | 50 -------------------------- 2 files changed, 1 insertion(+), 50 deletions(-) create mode 160000 vim/bundle/vim-snippets delete mode 100644 vim/bundle/vim-snippets/plugin/vimsnippets.vim (limited to 'vim/bundle/vim-snippets/plugin') diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets new file mode 160000 index 0000000..15d7e5e --- /dev/null +++ b/vim/bundle/vim-snippets @@ -0,0 +1 @@ +Subproject commit 15d7e5ec26ec93adee4051b6359be90a943aa38d diff --git a/vim/bundle/vim-snippets/plugin/vimsnippets.vim b/vim/bundle/vim-snippets/plugin/vimsnippets.vim deleted file mode 100644 index f58374c..0000000 --- a/vim/bundle/vim-snippets/plugin/vimsnippets.vim +++ /dev/null @@ -1,50 +0,0 @@ -if exists("b:done_vimsnippets") - finish -endif -let b:done_vimsnippets = 1 - -" Some variables need default value -if !exists("g:snips_author") - let g:snips_author = "yourname" -endif - -if !exists("g:snips_email") - let g:snips_email = "yourname@email.com" -endif - -if !exists("g:snips_github") - let g:snips_github = "https://github.com/yourname" -endif - -" Expanding the path is not needed on Vim 7.4 -if &cp || version >= 704 - finish -endif - -" Add pythonx to the python search path if needed (i.e. <= Vim 7.3). -if !has("python") && !has("python3") - finish -end - -" This will fail if UltiSnips is not installed. -try - call UltiSnips#bootstrap#Bootstrap() -catch /E117/ - finish -endtry - - -" This should have been set by UltiSnips, otherwise something is wrong. -if !exists("g:_uspy") - finish -end - - -" Expand our path -let s:SourcedFile=expand("") -exec g:_uspy "import vim, os, sys" -exec g:_uspy "sourced_file = vim.eval('s:SourcedFile')" -exec g:_uspy "while not os.path.exists(os.path.join(sourced_file, 'pythonx')): - \ sourced_file = os.path.dirname(sourced_file)" -exec g:_uspy "module_path = os.path.join(sourced_file, 'pythonx')" -exec g:_uspy "sys.path.append(module_path)" -- cgit v1.2.3