mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 03:04:27 +08:00
more implements for #307
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user