Skip to content

JSX tags not working with js2-highlight-vars #54

@felipeochoa

Description

@felipeochoa

For some reason js2-highlight-vars does not pick up on the JSX tag names. E.g.,

import Component from 'abc';

const c = () => (
    <Component/>
);

With point at the second Component, js2-highlight-vars does not highlight anything. Calling js2-node-at-point returns an rjsx-member rather than a js2-name node

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions