]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/ftplugin/html_snip_helper.vim
Update the stuff
[rbdr/dotfiles] / vim / ftplugin / html_snip_helper.vim
... / ...
CommitLineData
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