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-snipmate/ftplugin/html_snip_helper.vim | 10 ---------- vim/bundle/vim-snipmate/ftplugin/snippets.vim | 20 -------------------- 3 files changed, 1 insertion(+), 30 deletions(-) create mode 160000 vim/bundle/vim-snipmate delete mode 100644 vim/bundle/vim-snipmate/ftplugin/html_snip_helper.vim delete mode 100644 vim/bundle/vim-snipmate/ftplugin/snippets.vim (limited to 'vim/bundle/vim-snipmate/ftplugin') 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/ftplugin/html_snip_helper.vim b/vim/bundle/vim-snipmate/ftplugin/html_snip_helper.vim deleted file mode 100644 index 4d52392..0000000 --- a/vim/bundle/vim-snipmate/ftplugin/html_snip_helper.vim +++ /dev/null @@ -1,10 +0,0 @@ -" Helper function for (x)html snippets -if exists('s:did_snip_helper') || &cp || !exists('loaded_snips') - finish -endif -let s:did_snip_helper = 1 - -" Automatically closes tag if in xhtml -fun! Close() abort - return stridx(&ft, 'xhtml') == -1 ? '' : ' /' -endf diff --git a/vim/bundle/vim-snipmate/ftplugin/snippets.vim b/vim/bundle/vim-snipmate/ftplugin/snippets.vim deleted file mode 100644 index dde00e4..0000000 --- a/vim/bundle/vim-snipmate/ftplugin/snippets.vim +++ /dev/null @@ -1,20 +0,0 @@ -" Vim filetype plugin for SnipMate snippets (.snippets and .snippet files) - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let b:undo_ftplugin = "setl et< sts< cms< fdm< fde<" - -" Use hard tabs -setlocal noexpandtab softtabstop=0 - -setlocal foldmethod=expr foldexpr=getline(v:lnum)!~'^\\t\\\\|^$'?'>1':1 - -setlocal commentstring=#\ %s -setlocal nospell - -command! -buffer -range=% RetabSnip - \ echom "This command is deprecated. Use :retab and = instead. Doing that now." - \ | ,retab! | ,normal = -- cgit v1.2.3