X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51e532bed427bffeac8fa44da7b2b6bf198b6849..fd091280b0e0935954b1fcfb60cc8a6d3e3dfdee:/.vim/ftplugin/html_snip_helper.vim?ds=sidebyside diff --git a/.vim/ftplugin/html_snip_helper.vim b/.vim/ftplugin/html_snip_helper.vim deleted file mode 100644 index 2e54570..0000000 --- a/.vim/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() - return stridx(&ft, 'xhtml') == -1 ? '' : ' /' -endf diff --git a/.vim/ftplugin/html_snip_helper.vim b/.vim/ftplugin/html_snip_helper.vim new file mode 120000 index 0000000..2e1e03c --- /dev/null +++ b/.vim/ftplugin/html_snip_helper.vim @@ -0,0 +1 @@ +/usr/share/vim/addons/ftplugin/html_snip_helper.vim \ No newline at end of file