felipeochoa / rjsx-mode

A JSX major mode for Emacs
https://github.com/felipeochoa/rjsx-mode
MIT License
639 stars 32 forks source link

Electric LT only works on first child of parent tag #107

Closed ariataylor96 closed 5 years ago

ariataylor96 commented 5 years ago

An example of this:

import React from 'react';

const Component = () => (
  <div>
    <h1>This tag receives the electric LT</h1>

    <p>This tag does not</p>

    <div>
      <p>This tag receives the electric LT</p>

      <p>This tag does not</p>
    </div>
  </div>
);
felipeochoa commented 5 years ago

Emacs/rjsx versions? Does it happen if you pause for a second or two before hitting <?

felipeochoa commented 5 years ago

Can't reproduce and need more info