forked from VimPlug/emmet-vim
Support jsx's className. Close #255
This commit is contained in:
@@ -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',
|
||||
\ },
|
||||
|
||||
Reference in New Issue
Block a user