Skip to content

Better Highlight with Neovim Treesitter #253

@EduardoAraujoB

Description

@EduardoAraujoB

Problem

Neovim 0.5 comes with treesitter, a plugin that improves a lot the syntax highlighting as described in the repository, but by using it with higlight enabled, I got weird higlights for some groups in TSX/JSX (in JS/TS files it works fine)

What happened

image
image

What I expected to happen

on my vscode, I got this
image
image

Machine Info

  • NVIM v0.5.0-dev
  • OS: Ubuntu 20.04
  • Terminal: Tilix with Tmux
  • TERM: xterm-256color

Additional Info

my neovim configs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions