feat(nvim/indent-blankline): use rainbow-delimiters integration
This commit is contained in:
@@ -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
|
--- @type ibl.config
|
||||||
M = {
|
M = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
@@ -7,6 +11,7 @@ M = {
|
|||||||
scope = {
|
scope = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
show_start = false,
|
show_start = false,
|
||||||
|
highlight = vim.g.rainbow_delimiters.highlight,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ local plugins = {
|
|||||||
{
|
{
|
||||||
"lukas-reineke/indent-blankline.nvim",
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
dependencies = { "https://gitlab.com/HiPhish/rainbow-delimiters.nvim" },
|
||||||
config = function()
|
config = function()
|
||||||
require("ibl").setup(require("plugins.indent-blankline"))
|
require("ibl").setup(require("plugins.indent-blankline"))
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user