mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-08-24 03:05:24 +02:00
Updated 7. Contoh Custom Plugins (markdown)
parent
9a3bc4d221
commit
04762051e3
1 changed files with 27 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue