diff options
| author | beeb5k (Vivek Tiwari) <beebeeb5k@gmail.com> | 2026-06-04 20:25:23 +0530 |
|---|---|---|
| committer | beeb5k (Vivek Tiwari) <beebeeb5k@gmail.com> | 2026-06-04 20:25:23 +0530 |
| commit | bfe5ef76b95725451707f6061d5dfa5e3b024c61 (patch) | |
| tree | e61fd46ffbb77e131edbc0ffe1019cef2d7662a9 /lua/bee/plugins/ui.lua | |
| parent | 3ab5bbeda2c86b62999b5a662374c38e3ef0c01b (diff) | |
Use better Plugins
- codediff
- neogit
- nvim-surround
- hlchunk
- fff.nvim
- gitsigns
Diffstat (limited to 'lua/bee/plugins/ui.lua')
| -rw-r--r-- | lua/bee/plugins/ui.lua | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/lua/bee/plugins/ui.lua b/lua/bee/plugins/ui.lua index 8ce2a3c..2a5a4fc 100644 --- a/lua/bee/plugins/ui.lua +++ b/lua/bee/plugins/ui.lua @@ -1,6 +1,7 @@ return { { "lualine.nvim", + event = "DeferredUIEnter", auto_enable = true, after = function(_) require("lualine").setup({ @@ -66,4 +67,54 @@ return { }) end, }, + { + "hlchunk.nvim", + auto_enable = false, + 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, + 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, + }, } |
