summaryrefslogtreecommitdiff
path: root/lua/bee
diff options
context:
space:
mode:
Diffstat (limited to 'lua/bee')
-rw-r--r--lua/bee/init.lua8
-rw-r--r--lua/bee/plugins/blink.lua12
-rw-r--r--lua/bee/plugins/ui.lua67
3 files changed, 32 insertions, 55 deletions
diff --git a/lua/bee/init.lua b/lua/bee/init.lua
index 2b71bc4..0b4db3d 100644
--- a/lua/bee/init.lua
+++ b/lua/bee/init.lua
@@ -49,14 +49,6 @@ nixInfo.lze.load({
end,
},
{
- "mini.surround",
- auto_enable = true,
- event = "DeferredUIEnter",
- after = function(_)
- require("mini.surround").setup()
- end,
- },
- {
"nvim-surround",
auto_enable = true,
event = "DeferredUIEnter",
diff --git a/lua/bee/plugins/blink.lua b/lua/bee/plugins/blink.lua
index 2dae119..a3e55f3 100644
--- a/lua/bee/plugins/blink.lua
+++ b/lua/bee/plugins/blink.lua
@@ -1,6 +1,18 @@
local MP = ...
return {
{
+ "blink.pairs",
+ dep_of = { "blink.cmp" },
+ auto_enable = true,
+ after = function()
+ require("blink.pairs").setup({
+ highlights = {
+ enabled = false,
+ },
+ })
+ end,
+ },
+ {
"luasnip",
auto_enable = true,
dep_of = { "blink.cmp" },
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,
},