Lorem Ipsum

This commit is contained in:
mattn
2013-06-03 12:05:30 +09:00
parent dd16ce3b0b
commit 64b64e6bf8
3 changed files with 81 additions and 1 deletions

View File

@@ -118,6 +118,11 @@ function! zencoding#lang#html#parseIntoTree(abbr, type)
let current.name = ''
endif
if tag_name =~ '^\(lorem\|ipsum\)\d*$'
let current.snippet = '${' . tag_name . '}'
let current.name = ''
endif
" default_attributes
let default_attributes = zencoding#getResource(type, 'default_attributes', {})
if !empty(default_attributes)