Rainbow Indent Lines

less than 1 minute read

LazyVim also comes with the “ibl” (indent-blankline.nvim) plugin that renders vertical lines (by default, with the | character) as indent guidelines. I don’t like how strong they look, though, in the Solarized colorscheme that I just applied.

But then I found this example config to make them rainbow colored. I thought that was pretty neat. I landed on the following Lua script to achieve this.

In ~/.config/nvim/lua/plugins/indent-blankline.lua:

LazyVim in NeoVide with Indent Blanklines with rainbow lines