Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notomo/zebrazone.nvim
🦓 Make neovim buffer striped
https://github.com/notomo/zebrazone.nvim
neovim
Last synced: 2 days ago
JSON representation
🦓 Make neovim buffer striped
- Host: GitHub
- URL: https://github.com/notomo/zebrazone.nvim
- Owner: notomo
- License: mit
- Created: 2021-05-29T07:22:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-29T13:22:11.000Z (over 3 years ago)
- Last Synced: 2024-08-03T13:06:15.232Z (4 months ago)
- Topics: neovim
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zebrazone.nvim
This is a toy highlight plugin that makes buffer striped.
## Default
```lua
require("zebrazone").start()
require("zebrazone").stop()
```## Rainbow
```lua
local colors = {"f5b090", "fcd7a1", "fff9b1", "a5d4ad", "a3bce2", "a59aca", "cfa7cd"}
local hl_groups = vim.tbl_map(function(color)
local name = "Zebrazone_" .. color
vim.cmd(("highlight! %s guibg=#%s"):format(name, color))
return name
end, colors)
require("zebrazone").start({hl_groups = hl_groups})
```