Hi Tijs, Dmitry,
I pushed “Specify the matching chars for JSX open/close parenthesis” to
the Emacs master branch to hopefully resolve this issue.
Jackson
On 6/3/19 7:17 AM, Dmitry Gutov wrote:
> Jackson, could you please take a look when you have the time?
>
> On 02.06.2019 12:38, Tijs Mallaerts wrote:
>> Rainbow-delimiters-mode marks the closing angle brackets of jsx
>> syntax as mismatched because no matching chars seem to be specified
>> in the jsx syntax table.
>>
>> These are the text properties of the opening angle bracket:
>> face (rainbow-delimiters-depth-2-face)
>> font-lock-multiline t
>> fontified t
>> js-jsx-close-tag-pos 97
>> js-jsx-syntax-table (4)
>> js-jsx-tag-beg (open . 57)
>> syntax-multiline t
>> syntax-table (4)
>>
>> And these are the text properties of the closing angle bracket:
>> face (rainbow-delimiters-mismatched-face)
>> font-lock-multiline t
>> fontified t
>> js-jsx-syntax-table (5)
>> syntax-multiline t
>> syntax-table (5)