diff --git a/7.-Contoh-Custom-Plugins.md b/7.-Contoh-Custom-Plugins.md index 914294c..62460c3 100644 --- a/7.-Contoh-Custom-Plugins.md +++ b/7.-Contoh-Custom-Plugins.md @@ -1138,3 +1138,30 @@ return{ ``` summer : https://github.com/folke/trouble.nvim + +# Mini Indentscope +- but file lua/plugin/minianimate.lua +```lua +return{ + "echasnovski/mini.indentscope", + version = false, -- wait till new 0.7.0 release to put it back on semver + event = "BufReadPre", + opts = { + -- symbol = "▏", + symbol = "│", + options = { try_as_border = true }, + }, + config = function(_, opts) + vim.api.nvim_create_autocmd("FileType", { + pattern = { "help", "alpha", "dashboard", "NvimTree", "Trouble", "lazy", "mason" }, + callback = function() + vim.b.miniindentscope_disable = true + end, + }) + require("mini.indentscope").setup(opts) + end, +} +``` +summer : +https://github.com/echasnovski/mini.indentscope +