Closed gambonny closed 8 months ago
Actually this looks like a bug, will get to it soon. Thanks!
This was due to tree-sitter/tree-sitter-javascript#227. It's fixed now, let me know if you're still having issues.
@hedyhli it's working. Thanks a lot 👍.
When using outline.nvim to view the structure of React components, shorthand React fragments (
<>...</>
) are currently labeled asunknown
in the outline view. This can be confusing and does not accurately reflect the structure of the component.Feature Request
I propose an enhancement to the outline detection logic to identify shorthand React fragments and label them as "Fragment" in the outline. This would improve the clarity and usefulness of the outline view for React developers who use this syntax.