This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/nvim/lua/plugin/editor.lua

50 lines
1.2 KiB
Lua
Raw Normal View History

2021-10-12 19:10:20 +02:00
-- Author : swytch
-- Created : Sunday Jan. 29, 2023 00:20:31 CET
2021-10-12 19:10:20 +02:00
-- License : GPLv3
-- Description : Mini.comment plugin config file
2021-10-12 19:10:20 +02:00
return {
2023-02-08 22:54:00 +01:00
{
"echasnovski/mini.comment",
version = "*",
opts = {
mappings = {
comment = "<leader>c",
2021-10-12 19:10:20 +02:00
2023-02-08 22:54:00 +01:00
comment_line = "<leader><Space>",
2021-10-12 19:10:20 +02:00
2023-02-08 22:54:00 +01:00
text_object = "gc",
},
},
2023-02-08 22:54:00 +01:00
config = function(_, opts)
require("mini.comment").setup(opts)
end
2021-10-12 19:10:20 +02:00
},
2023-02-08 22:54:00 +01:00
{
"echasnovski/mini.pairs",
version = "*",
config = function() require("mini.pairs").setup() end,
2023-02-12 18:41:42 +01:00
},
{
"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,
2023-02-25 23:24:49 +01:00
},
{
"echasnovski/mini.surround",
version = '*',
config = function() require("mini.surround").setup() end,
2023-02-08 22:54:00 +01:00
}
2021-10-12 19:10:20 +02:00
}