Updated 7. Contoh Custom Plugins (markdown)

Asep Komarudin 2023-03-01 09:42:03 +07:00
parent 9a3bc4d221
commit 04762051e3

@ -1138,3 +1138,30 @@ return{
```
summer : <be>
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 : <be>
https://github.com/echasnovski/mini.indentscope