othree / yajs.vim

YAJS.vim: Yet Another JavaScript Syntax for Vim
http://www.vim.org/scripts/script.php?script_id=4974
Vim License
688 stars 41 forks source link

Support React.js / JSX-style template tags #33

Closed damassi closed 9 years ago

damassi commented 9 years ago

Since JSX-style (React.js) components are quickly sweeping the industry (which is further supported by Facebook's relentless push towards ES6), it would be nice if yajs supported basic tag highlighting. Currently all HTML tags are white.

An image: screen shot 2015-04-27 at 6 36 34 pm

othree commented 9 years ago

You could install https://github.com/mxw/vim-jsx I already send PR but have some conflict I will fix it later.

damassi commented 9 years ago

@othree - Unfortunately vim-jsx blows up yajs! The two are not compatible.

othree commented 9 years ago

Could you try my fork New PR is not accept, need wait for a while.

damassi commented 9 years ago

Nope! Still breaks when using yajs. It could be something with my setup, but I don't think so.

othree commented 9 years ago

Do you have sample code and screenshot