feat(nvim/indent-blankline): use rainbow-delimiters integration

This commit is contained in:
2026-02-07 12:09:57 +08:00
parent 92ee55e82a
commit 97761a3af5
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
-- rainbow-delimiters integration
local hooks = require("ibl.hooks")
hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
--- @type ibl.config
M = {
enabled = true,
@@ -7,6 +11,7 @@ M = {
scope = {
enabled = true,
show_start = false,
highlight = vim.g.rainbow_delimiters.highlight,
},
}

View File

@@ -100,6 +100,7 @@ local plugins = {
{
"lukas-reineke/indent-blankline.nvim",
event = "VeryLazy",
dependencies = { "https://gitlab.com/HiPhish/rainbow-delimiters.nvim" },
config = function()
require("ibl").setup(require("plugins.indent-blankline"))
end,