]> git.madduck.net Git - etc/vim.git/blobdiff - .vim/ftplugin/html_snip_helper.vim

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Migrate to new snipmate plugin
[etc/vim.git] / .vim / ftplugin / html_snip_helper.vim
deleted file mode 100644 (file)
index 2e545707819075791184abc7d5fab8c811ea6b77..0000000000000000000000000000000000000000
+++ /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()
-       return stridx(&ft, 'xhtml') == -1 ? '' : ' /'
-endf
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..2e1e03ca39916ea2de366de29b0de8ef032acf57
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/vim/addons/ftplugin/html_snip_helper.vim
\ No newline at end of file