Support jsx's className. Close #255

This commit is contained in:
mattn
2015-02-21 21:06:33 +09:00
parent c24f2dcfcb
commit 3d6862d5d1
2 changed files with 9 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
"=============================================================================
" emmet.vim
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
" Last Change: 17-Dec-2014.
" Last Change: 21-Feb-2015.
let s:save_cpo = &cpoptions
set cpoptions&vim
@@ -1815,6 +1815,10 @@ let s:emmet_settings = {
\ 'choose': 'xsl:choose>xsl:when+xsl:otherwise',
\ }
\ },
\ 'jsx': {
\ 'extends': 'html',
\ 'attribute_name': {'class': 'className'},
\ },
\ 'xslt': {
\ 'extends': 'xsl',
\ },