https://github.com/browserslist/vim-browserslist
syntax highlighting for browserslist config files
https://github.com/browserslist/vim-browserslist
Last synced: 8 months ago
JSON representation
syntax highlighting for browserslist config files
- Host: GitHub
- URL: https://github.com/browserslist/vim-browserslist
- Owner: browserslist
- Created: 2020-12-06T14:40:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T17:51:28.000Z (over 1 year ago)
- Last Synced: 2025-01-08T18:46:05.747Z (over 1 year ago)
- Language: Vim Script
- Size: 3.91 KB
- Stars: 12
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-browserslist
This plugin does 2 things and 2 things only
1. Sets the filetype as `browserslist` for [browserslist](https://github.com/browserslist/browserslist)'s config files
2. Syntax highlighting
## How to install
Install using your favorite plugin manager. Below is an example using [vim-plug](https://github.com/junegunn/vim-plug):
```viml
Plug 'browserslist/vim-browserslist'
```
## Samples
### Gruvbox

### Monokai

### Onedark

### Ocean

## Exposed highlight groups
- browserslistComment
- browserslistKeyword
- browserslistVersion
- browserslistMarketshare
- browserslistDate
- browserslistConfig
- browserslistSection
- browserslistTarget
- browserslistCountry