45 lines
1.0 KiB
Lua
45 lines
1.0 KiB
Lua
-- Author : swytch
|
|
-- Created : Sunday Jan. 29, 2023 00:20:31 CET
|
|
-- License : GPLv3
|
|
-- Description : Mini.comment plugin config file
|
|
|
|
return {
|
|
{
|
|
"echasnovski/mini.comment",
|
|
version = "*",
|
|
opts = {
|
|
mappings = {
|
|
comment = "<leader>c",
|
|
|
|
comment_line = "<leader><Space>",
|
|
|
|
text_object = "gc",
|
|
},
|
|
},
|
|
config = function(_, opts)
|
|
require("mini.comment").setup(opts)
|
|
end
|
|
},
|
|
{
|
|
"echasnovski/mini.pairs",
|
|
version = "*",
|
|
config = function() require("mini.pairs").setup() end,
|
|
},
|
|
{
|
|
"echasnovski/mini.indentscope",
|
|
version = "*",
|
|
opts = function()
|
|
local plugin = require("mini.indentscope")
|
|
return {
|
|
draw = {
|
|
animation = plugin.gen_animation.none()
|
|
}
|
|
}
|
|
end,
|
|
config = function(_, opts)
|
|
require("mini.indentscope").setup(opts)
|
|
end,
|
|
|
|
}
|
|
}
|