feat: added mini.indentscope
This commit is contained in:
22
lua/409/plugins/misc.lua
Normal file
22
lua/409/plugins/misc.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
{
|
||||
"echasnovski/mini.indentscope",
|
||||
version = "*",
|
||||
opts = {
|
||||
draw = {
|
||||
delay = 0,
|
||||
animation = function()
|
||||
return 0
|
||||
end,
|
||||
},
|
||||
symbol = "│",
|
||||
options = {
|
||||
indent_at_cursor = false,
|
||||
try_as_border = true,
|
||||
},
|
||||
},
|
||||
config = function(plugin, opts)
|
||||
require("mini.indentscope").setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -21,6 +21,7 @@ return {
|
||||
vim.api.nvim_set_hl(0, "PmenuSel", { link = "Visual" })
|
||||
vim.api.nvim_set_hl(0, "PmenuSbar", { link = "Normal" })
|
||||
vim.api.nvim_set_hl(0, "CmpPmenuBorder", { fg = catppuccin_colors.surface2 })
|
||||
vim.api.nvim_set_hl(0, "MiniIndentscopeSymbol", { fg = catppuccin_colors.surface2 })
|
||||
end
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user