bug: `spell` not working within TSX/JSX
Hacksore opened this issue · comments
Sean Boult commented
Did you check existing issues?
- I have read all the tree-sitter docs if it relates to using the parser
- I have searched the existing issues of tree-sitter-typescript
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version
)
tree-sitter 0.20.9
Describe the bug
Spell check does not seem to work inside of TSX/JSX but it will work fine in HTML so is this a bug?
Steps To Reproduce/Bad Parse Tree
- load up the MVP code
- use
set spell
Expected Behavior/Parse Tree
The typos in the JSX/TSX should be showing underlines.
Repro
import React from "react";
import ReactDOM from "react-dom/client";
// thse is tpoes
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>thse is tpoes</React.StrictMode>
);
Amaan Qureshi commented
not the repo for this, this is a nvim-treesitter problem.