Add default attributes(emmet v1.1beta)

This commit is contained in:
mattn
2014-02-13 16:32:20 +09:00
parent 381dd35018
commit 2f1e60f4fe
2 changed files with 54 additions and 36 deletions

View File

@@ -1,3 +1,4 @@
" {{{
let s:sfile = expand('<sfile>')
function! s:reload(d)
@@ -192,10 +193,11 @@ command! -nargs=* -complete=customlist,g:emmet_unittest_complete EmmetUnitTest c
if s:sfile == expand('%:p')
EmmetUnitTest
endif
" }}}
finish
[
{
{ 'test-html': "{{{",
'type': "html",
'categories': [
{
@@ -580,6 +582,15 @@ finish
},
],
},
{
'name': 'default attributes',
'tests': [
{
'query': "p.title>a[/hoge/]",
'result': "<p class=\"title\"><a href=\"/hoge/\"></a></p>\n",
},
],
},
{
'name': 'multiple group',
'tests': [
@@ -603,8 +614,8 @@ finish
],
},
],
},
{
'dummy': "}}}"},
{ 'test-css': '{{{',
'type': 'css',
'categories': [
{
@@ -689,8 +700,8 @@ finish
],
},
],
},
{
'dummy': "}}}"},
{ 'test-haml': '{{{',
'type': 'haml',
'categories': [
{
@@ -745,8 +756,8 @@ finish
],
},
],
},
{
'dummy': "}}}"},
{ 'test-slim': "{{{",
'type': 'slim',
'categories': [
{
@@ -801,8 +812,8 @@ finish
],
},
],
},
{
'dummy': "}}}"},
{ 'test-xsl': "{{{",
'type': 'xsl',
'categories': [
{
@@ -819,8 +830,8 @@ finish
],
},
],
},
{
'dummy': "}}}"},
{ 'test-xsd': "{{{",
'type': 'xsd',
'categories': [
{
@@ -833,8 +844,8 @@ finish
],
},
],
},
{
'dummy': "}}}"},
{ 'test-mustache': "{{{",
'type': 'mustache',
'categories': [
{
@@ -851,8 +862,8 @@ finish
],
},
],
},
{
'dummy': "}}}"},
{ 'test-sass': "{{{",
'type': 'sass',
'categories': [
{
@@ -937,6 +948,6 @@ finish
],
},
],
},
'dummy': "}}}"},
]
" vim:set et:
" vim:set et fdm=marker: