A Vim syntax highlighting plugin for JavaScript and Flow.js
- Better support for the modern JavaScript features (decorator, private members, numeric seprators, optional chaining, etc.)
- Better support for Flow.js syntax
- Better support for JSDoc syntax
- More accurate syntax groups, easy for colorscheme customization
- Choose your faviourate plugin manager (e.g. vim-plug)
- Install it with
Plug 'yuezk/vim-js'
Please use vim-jsx-pretty to highlight the JSX syntax. It's another plugin I currently maintain.
Plug 'maxmellon/vim-jsx-pretty'