From d42d684ed8ba7f0ee4fb036bbfe8b2afe49d8cea Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 2 Oct 2023 21:39:32 +0200 Subject: [PATCH] nvim: adjust for indent-blankline v3 --- .config/nvim/lua/plugins/ui.lua | 35 ++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/.config/nvim/lua/plugins/ui.lua b/.config/nvim/lua/plugins/ui.lua index 8dacbc2..20f2641 100644 --- a/.config/nvim/lua/plugins/ui.lua +++ b/.config/nvim/lua/plugins/ui.lua @@ -2,18 +2,31 @@ return { { "lukas-reineke/indent-blankline.nvim", opts = { - char = "┊", - char_highlight_list = { - "IndentBlanklineIndent1", - "IndentBlanklineIndent2", - "IndentBlanklineIndent3", - "IndentBlanklineIndent4", - "IndentBlanklineIndent5", - "IndentBlanklineIndent6", + indent = { + char = "┊", + tab_char = "┊", + highlight = { + "IndentBlanklineIndent1", + "IndentBlanklineIndent2", + "IndentBlanklineIndent3", + "IndentBlanklineIndent4", + "IndentBlanklineIndent5", + "IndentBlanklineIndent6", + }, + }, + scope = { + enabled = true, + show_start = false, + char = "│", + highlight = { + "IndentBlanklineIndent1", + "IndentBlanklineIndent2", + "IndentBlanklineIndent3", + "IndentBlanklineIndent4", + "IndentBlanklineIndent5", + "IndentBlanklineIndent6", + }, }, - show_current_context = true, - show_current_context_start = false, - context_char = "│", }, }, }