forked from VimPlug/emmet-vim
Possible to specify base value. Related issue #144
This commit is contained in:
@@ -142,7 +142,7 @@ function! emmet#lang#haml#encodeImage()
|
||||
endfunction
|
||||
|
||||
function! emmet#lang#haml#parseTag(tag)
|
||||
let current = { 'name': '', 'attr': {}, 'child': [], 'snippet': '', 'multiplier': 1, 'parent': {}, 'value': '', 'pos': 0, 'attrs_order': [] }
|
||||
let current = emmet#newNode()
|
||||
let mx = '%\([a-zA-Z][a-zA-Z0-9]*\)\s*\%({\(.*\)}\)'
|
||||
let match = matchstr(a:tag, mx)
|
||||
let current.name = substitute(match, mx, '\1', 'i')
|
||||
|
||||
Reference in New Issue
Block a user