tree-sitter / tree-sitter-typescript

TypeScript grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highlight mess

beautiful-boyyy opened this issue · comments

The following piece of code is valid but it is parsed incorrectly:

import React from "react"

const DependencePage = () => {
  return (
    <>
      <div>nifs</div>
    </>
  )
}

export default DependencePage

The output of tree-sitter parse is the following:

Warning: You have not configured any parser directories!
Please run `tree-sitter init-config` and edit the resulting
configuration file to indicate where we should look for
language grammars.

No language found

Screenshot 2023-02-17 at 15 43 38

seems ok on master, let me know if not.