]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/ftplugin/html_snip_helper.vim
A whole bunch of new additions to the submodules
[rbdr/dotfiles] / vim / ftplugin / html_snip_helper.vim
CommitLineData
0d23b6e5
BB
1" Helper function for (x)html snippets
2if exists('s:did_snip_helper') || &cp || !exists('loaded_snips')
3 finish
4endif
5let s:did_snip_helper = 1
6
7" Automatically closes tag if in xhtml
8fun! Close()
9 return stridx(&ft, 'xhtml') == -1 ? '' : ' /'
10endf