A Vim syntax highlighting plugin for JavaScript and Flow.js
- Better support for modern JavaScript features (decorators, private members, numeric separators, optional chaining, etc.)
- Better support for Flow.js syntax
- Better support for JSDoc syntax
- More accurate syntax groups, for easy colorscheme customization
- Choose your favourite 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'