Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/browserslist/vim-browserslist

syntax highlighting for browserslist config files
https://github.com/browserslist/vim-browserslist

Last synced: about 1 month ago
JSON representation

syntax highlighting for browserslist config files

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 'antonk52/vim-browserslist'
```

## Samples

### Gruvbox

gruvbox theme

### Monokai

monokai theme

### Onedark

onedark theme

### Ocean

base16-ocean theme

## Exposed highlight groups

- browserslistComment
- browserslistKeyword
- browserslistVersion
- browserslistMarketshare
- browserslistDate
- browserslistConfig
- browserslistSection
- browserslistTarget
- browserslistCountry