pojokcodeid.nvim-lazy/lua/plugins/indentscupe.lua

19 lines
486 B
Lua
Raw Normal View History

2024-06-02 06:48:51 +07:00
local icons = vim.g.pcode_icons
2024-06-14 08:21:36 +07:00
if pcode.indentscope and true or false then
2024-06-03 09:03:01 +07:00
return {
"echasnovski/mini.indentscope",
version = false, -- wait till new 0.7.0 release to put it back on semver
event = "BufReadPre",
2024-06-14 08:21:36 +07:00
enabled = pcode.indentscope and true or false,
2024-06-03 09:03:01 +07:00
opts = {
symbol = icons.ui.LineMiddle,
options = { try_as_border = true },
},
config = function(_, opts)
require("mini.indentscope").setup(opts)
end,
}
else
return {}
end