From 3c9c731722093f2d55957ded9a84a305d90875f2 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Mon, 20 May 2013 14:08:57 +0900 Subject: [PATCH] - Fixed html snippets. --- .../sources/snippets_complete.vim | 2 +- autoload/neosnippet/snippets/html.snip | 52 +++++++++++++++++++ autoload/neosnippet/snippets/xhtml.snip | 2 +- 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/autoload/neocomplcache/sources/snippets_complete.vim b/autoload/neocomplcache/sources/snippets_complete.vim index aec81c5..569284f 100644 --- a/autoload/neocomplcache/sources/snippets_complete.vim +++ b/autoload/neocomplcache/sources/snippets_complete.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippets_complete.vim " AUTHOR: Shougo Matsushita -" Last Modified: 12 May 2013. +" Last Modified: 20 May 2013. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the diff --git a/autoload/neosnippet/snippets/html.snip b/autoload/neosnippet/snippets/html.snip index 5d41ede..4cd193b 100644 --- a/autoload/neosnippet/snippets/html.snip +++ b/autoload/neosnippet/snippets/html.snip @@ -49,37 +49,51 @@ snippet body snippet h +options word ${2}${3} snippet p +options word

${1}

${2} snippet br +options word
snippet hr +options word
snippet comment +options word ${2} snippet b +options word ${1:TARGET}${2} snippet small +options word ${1:TARGET}${2} snippet strong +options word ${1:TARGET}${2} snippet sub +options word ${1:TARGET}${2} snippet sup +options word ${1:TARGET}${2} snippet ins +options word ${1:TARGET}${2} snippet del +options word ${1:TARGET}${2} snippet em +options word ${1:TARGET}${2} snippet bdo +options word ${2:TARGET}${3} snippet pre
@@ -105,14 +119,19 @@ snippet bgcolor
     bgcolor="${1}"${2}
 
 snippet ahref
+options word
     ${2:TARGET}${3}
 snippet ahref_blank
+options word
     ${2:TARGET}${3}
 snippet ahref_parent
+options word
     ${2:TARGET}${3}
 snippet ahref_top
+options word
     ${2:TARGET}${3}
 snippet aname
+options word
     ${2:TARGET}${3}
 
 snippet framesetcols
@@ -125,6 +144,7 @@ snippet framesetrows
     ${3}
 
 snippet iframe
+options word
     ${2}
 snippet table
     
@@ -132,34 +152,47 @@ snippet table
     
${3} snippet th +options word ${1:TARGET}${2} snippet ulsquare +options word
    ${1:TARGET}
${2} snippet ulcircle +options word
    ${1:TARGET}
${2} snippet uldisc +options word
    ${1:TARGET}
${2} snippet ol +options word
    ${1:TARGET}
${2} snippet olA +options word
    ${1:TARGET}
${2} snippet ola +options word
    ${1:TARGET}
${2} snippet olI +options word
    ${1:TARGET}
${2} snippet oli +options word
    ${1:TARGET}
${2} snippet li +options word
  • ${1:TARGET}
  • ${2} snippet dl +options word
    ${1:TARGET}
    ${2} snippet dt +options word
    ${1:TARGET}
    ${2} snippet dd +options word
    ${1:TARGET}
    ${2} snippet form @@ -168,12 +201,16 @@ snippet form ${2} snippet inputtext +options word ${2} snippet inputpassword +options word ${2} snippet inputradio +options word ${2} snippet inputcheckbox +options word ${2} snippet textarea @@ -183,9 +220,11 @@ snippet textarea ${4} snippet button +options word ${2} snippet select +options word ${2} snippet optgroup @@ -193,40 +232,53 @@ snippet optgroup ${2:TARGET} ${3} snippet option +options word ${3} snippet label +options word