Open leafOfTree opened 6 years ago
After updating emmet, change imap
return value from
return emmet#expandAbbr(0, "")
to
return emmet#expandAbbr(1, "")
it works. Thanks again!
=>
issue still exists for emmet#expandAbbr(0, "")
Now
render: (text) => div
produces
render: (text) <div></div>
Any movement on this? When combined with JSX, the emmet#expandAbbr() hotkey will make quite a mess.
Is there a javascipt lang file? It appears that javascript is treated like HTML. We might need a javascript or JSX specific lang file with context sensitive token detection.
Sorry, please show me what is wrong and your expected.
It appears to be '(' rather than '=>' in this case.
<Route path="/" exact strict render={() => ( h1{Welcome Home}
Pressing the expandAbbr() hotkey at this point results in
Route path="/" exact strict render={() => <h1>Welcome Home</h1>
rather than..
<Route path="/" exact strict render={() => ( <h1>Welcome Home</h1>
Thanks
Hello, when I use emmet in jsx file,
produces
instead of
>
in=>
seems to cause expanding word before=>
. Is there anyway to distinguish>
ina => b
from>
ina>b
?Thanks.