summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorbrustybee <bee@4d2.org>2026-03-10 01:16:33 +0530
committerbrustybee <bee@4d2.org>2026-03-10 01:16:33 +0530
commit34e147989c1b8d5a930b5a28d38fb85c2c6fb89c (patch)
tree81a2c6c50add89c7234b8f860040a9074a1042c3 /lua/plugins
parent0ab4b001a573cda44d461143f2c17a096e670944 (diff)
Disable hints for lua ls and add hlchunk
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/misc.lua59
1 files changed, 59 insertions, 0 deletions
diff --git a/lua/plugins/misc.lua b/lua/plugins/misc.lua
index 37185ae..74eff58 100644
--- a/lua/plugins/misc.lua
+++ b/lua/plugins/misc.lua
@@ -47,4 +47,63 @@ return {
})
end,
},
+ -- {
+ -- "mini.indentscope",
+ -- for_cats = "ui",
+ -- event = { "BufReadPre", "BufNewFile" },
+ -- after = function()
+ -- require("mini.indentscope").setup({ symbol = "│" })
+ -- end,
+ -- },
+ {
+ "hlchunk.nvim",
+ for_cats = "ui",
+ event = { "BufReadPre", "BufNewFile" },
+ after = function()
+ local ignored_filetypes = {
+ gitcommit = true,
+ oil = true,
+ Neogitstatus = true,
+ TelescopePrompt = true,
+ NvimTree = true,
+ help = true,
+ }
+
+ require("hlchunk").setup({
+ chunk = {
+ enable = true,
+ priority = 15,
+ style = {
+ vim.api.nvim_get_hl(0, { name = "IndentBlanklineIndent1" }),
+ vim.api.nvim_get_hl(0, { name = "DiagnosticError" }),
+ },
+ 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 = true,
+ -- animation related
+ duration = 200,
+ delay = 300,
+ },
+ 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,
+ },
}