bluz71 / vim-moonfly-colors

A dark charcoal theme for modern Neovim & classic Vim
MIT License
866 stars 65 forks source link

React code is not getting highlighting #55

Closed heyarviind closed 10 months ago

heyarviind commented 10 months ago

I am new to Vim and installed Moonfly theme (it looks amazing) but I am not sure why react syntax is not getting highlighted. I am using iTerm2.

Screenshot 2024-01-05 at 12 31 20 PM
bluz71 commented 10 months ago

JSX highlighting is an editor / plugin responsibility, not a color-scheme issue.

If you are using Vim, then you likely need to install and enable the vim-jsx-pretty plugin.

In Neovim just enable the JavaScript & HTML parsers from Tree-sitter.

This is what I see in my editor:

JSX