Skip to content

Commit

Permalink
integrate rainbow-delimiters.nvim with indent-blankline.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 committed Nov 6, 2023
1 parent ed2663a commit 801f005
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions config/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,16 @@ require('lazy').setup({
},
scope = {
show_start = false,
highlight = {
'RainbowDelimiterRed',
'RainbowDelimiterYellow',
'RainbowDelimiterGreen',
'RainbowDelimiterBlue',
}
},
})
local hooks = require('ibl.hooks')
hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
end
},
{
Expand Down
4 changes: 3 additions & 1 deletion config/.config/nvim/lua/pluginconfig/treesitter.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
local M = {}

function M.setup_treesitter_context()
require('treesitter-context').setup()
require('treesitter-context').setup({
max_lines = 4,
})
end

function M.init_rainbow_delimiters()
Expand Down

0 comments on commit 801f005

Please sign in to comment.