aboutsummaryrefslogtreecommitdiff
path: root/.config/vis/plugins/vis-colorizer/README.md
blob: 89ca09f4d110d0b9ac56fef943bb004201ef68f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vis-colorizer
Highlights hex colors. Created for the [vis editor](https://github.com/martanne/vis).

Inspired by [chrisbra/Colorizer](https://github.com/chrisbra/Colorizer).

![image](https://github.com/thimc/vis-colorizer/blob/main/screenshot.png)

## Usage

Clone the repo to `~/.config/vis/plugins/`.

Append the following line to your `visrc.lua`:

	local colorizer = require('plugins/vis-colorizer')
	colorizer.three = false -- (optional) diables three digit hex colors
	colorizer.six   = true  -- (enabled by default) six digit hex colors