Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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})
```