vimrc/sources_non_forked/vim-snippets/UltiSnips/xml.snippets
Amir Salihefendic cc997dc3d0 Updated plugins
2018-07-19 14:52:53 +02:00

16 lines
258 B
Text

priority -50
snippet xml "XML declaration" b
<?xml version="1.0"?>
endsnippet
snippet t "Simple tag" b
<${1:tag}>
${2:${VISUAL}}
</${1/([\w:._-]+).*/$1/}>
endsnippet
snippet ti "Inline tag" b
<${1:tag}>${2:${VISUAL}}</${1/([\w:._-]+).*/$1/}>
endsnippet