https://github.com/thimc/vis-colorizer
a plugin for vis that higlights hex colors
https://github.com/thimc/vis-colorizer
editor hexcolors highlight plugin vis vis-plugin
Last synced: over 1 year ago
JSON representation
a plugin for vis that higlights hex colors
- Host: GitHub
- URL: https://github.com/thimc/vis-colorizer
- Owner: thimc
- License: mit
- Created: 2023-08-07T08:51:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T17:43:52.000Z (about 2 years ago)
- Last Synced: 2025-01-14T13:16:49.311Z (over 1 year ago)
- Topics: editor, hexcolors, highlight, plugin, vis, vis-plugin
- Language: Lua
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vis-colorizer
Highlights hex colors. Created for the [vis editor](https://github.com/martanne/vis).
Inspired by [chrisbra/Colorizer](https://github.com/chrisbra/Colorizer).

## 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