Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuezk/vim-js
π―The most accurate syntax highlighting plugin for JavaScript and Flow.js
https://github.com/yuezk/vim-js
flow flowtype javascript jsdoc syntax-highlighting vim vim-javascript vim-plugin
Last synced: about 21 hours ago
JSON representation
π―The most accurate syntax highlighting plugin for JavaScript and Flow.js
- Host: GitHub
- URL: https://github.com/yuezk/vim-js
- Owner: yuezk
- License: mit
- Created: 2019-07-21T16:35:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T13:58:02.000Z (4 months ago)
- Last Synced: 2024-10-29T15:34:00.931Z (3 months ago)
- Topics: flow, flowtype, javascript, jsdoc, syntax-highlighting, vim, vim-javascript, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 595 KB
- Stars: 141
- Watchers: 4
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-js
A Vim syntax highlighting plugin for JavaScript and [Flow.js](https://flow.org/)
## Pros.
- Better support for modern JavaScript features ([decorators](https://github.com/tc39/proposal-decorators), [private members](https://github.com/tc39/proposal-private-methods), [numeric separators](https://github.com/tc39/proposal-numeric-separator), [optional chaining](https://github.com/tc39/proposal-nullish-coalescing), etc.)
- Better support for [Flow.js](https://flow.org/) syntax
- Better support for [JSDoc](https://jsdoc.app/) syntax
- More accurate syntax groups, for easy colorscheme customization## Install
1. Choose your favourite plugin manager (e.g. [vim-plug](https://github.com/junegunn/vim-plug))
1. Install it with `Plug 'yuezk/vim-js'`## Highlight JSX Syntax
Please use [vim-jsx-pretty](https://github.com/MaxMEllon/vim-jsx-pretty) to highlight the JSX syntax. It's another plugin I currently maintain.
```vim
Plug 'maxmellon/vim-jsx-pretty'
```## License
[MIT License](LICENSE)