Add UltiSnips snippets
This commit is contained in:
17
UltiSnips/xml.snippets
Normal file
17
UltiSnips/xml.snippets
Normal file
@@ -0,0 +1,17 @@
|
||||
snippet t "XML inline tag" i
|
||||
<${1:tag}>${2:content}</${1/([\w:._-]+).*/$1/}>
|
||||
endsnippet
|
||||
|
||||
snippet a "XML attribute" i
|
||||
${1:attrib}="${0:value}"
|
||||
endsnippet
|
||||
|
||||
snippet < "XML inline tag" i
|
||||
<${1:tag}>${2:content}</${1/([\w:._-]+).*/$1/}>
|
||||
endsnippet
|
||||
|
||||
snippet tb "XML inline tag" i
|
||||
<${1:tag}>
|
||||
${2:content}
|
||||
</${1/([\w:._-]+).*/$1/}>
|
||||
endsnippet
|
||||
Reference in New Issue
Block a user