From fe1c8a1c340903de0d44a1f3bc590b426f1d3810 Mon Sep 17 00:00:00 2001 From: "beeb5k (Vivek Tiwari)" Date: Thu, 4 Jun 2026 23:37:02 +0530 Subject: even better plugin choice --- lua/bee/plugins/ui.lua | 67 +++++++++++++++----------------------------------- 1 file changed, 20 insertions(+), 47 deletions(-) (limited to 'lua/bee/plugins/ui.lua') diff --git a/lua/bee/plugins/ui.lua b/lua/bee/plugins/ui.lua index 2a5a4fc..5b30cd7 100644 --- a/lua/bee/plugins/ui.lua +++ b/lua/bee/plugins/ui.lua @@ -56,64 +56,37 @@ return { end, }, { - "mini.indentscope", + "blink.indent", auto_enable = true, event = "DeferredUIEnter", after = function(_) - require("mini.indentscope").setup({ - draw = { - delay = 200, + require("blink.indent").setup({ + static = { + enabled = true, + char = "│", + whitespace_char = nil, + priority = 1, + highlights = { "BlinkIndent" }, + }, + scope = { + enabled = true, + indent_at_cursor = false, + char = "│", + priority = 1000, + highlights = { "BlinkIndentScope" }, }, }) end, }, { - "hlchunk.nvim", - auto_enable = false, + "mini.indentscope", + auto_enable = true, event = "DeferredUIEnter", - after = function() - local ignored_filetypes = { - gitcommit = true, - oil = true, - Neogitstatus = true, - TelescopePrompt = true, - NvimTree = true, - help = true, - -- nix = true, - } - - require("hlchunk").setup({ - chunk = { - enable = true, - priority = 15, - -- use_treesitter = true, - chars = { - horizontal_line = "─", - vertical_line = "│", - left_top = "┌", - left_bottom = "└", - right_arrow = "─", - }, - textobject = "", - exclude_filetypes = ignored_filetypes, - max_file_size = 1024 * 1024, - error_sign = false, - straight = true, - use_treesitter = true, - -- animation related - duration = 0, + after = function(_) + require("mini.indentscope").setup({ + draw = { delay = 200, }, - indent = { - enable = true, - priority = 10, - style = { vim.api.nvim_get_hl(0, { name = "Whitespace" }) }, - use_treesitter = true, - exclude_filetypes = ignored_filetypes, - chars = { "│" }, - ahead_lines = 5, - delay = 100, - }, }) end, }, -- cgit v1.3.1