more implements for #307

This commit is contained in:
Yasuhiro Matsumoto
2015-12-14 12:21:17 +09:00
parent ea47fca11e
commit 8b8aefd64c

View File

@@ -61,11 +61,21 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
let settings = emmet#getSettings() let settings = emmet#getSettings()
let indent = emmet#getIndentation(type) let indent = emmet#getIndentation(type)
let pmap = { let pmap = {
\ 'html': 'body', \'p': 'span',
\ 'table': 'tr',
\ 'tr': 'td',
\'ul': 'li', \'ul': 'li',
\'ol': 'li', \'ol': 'li',
\'table': 'tr',
\'tr': 'td',
\'tbody': 'tr',
\'thead': 'tr',
\'tfoot': 'tr',
\'colgroup': 'col',
\'select': 'option',
\'optgroup': 'option',
\'audio': 'source',
\'video': 'source',
\'object': 'param',
\'map': 'area'
\} \}
" try 'foo' to (foo-x) " try 'foo' to (foo-x)