(nvim) install mini.pairs for autopairs

This commit is contained in:
juancwu 2026-04-14 01:24:08 +00:00
commit 601fd3598d
2 changed files with 15 additions and 0 deletions

View file

@ -204,6 +204,16 @@ require("mini.indentscope").setup({
options = { try_as_border = true }, options = { try_as_border = true },
}) })
-- auto pair
vim.pack.add({
{
src = "https://github.com/nvim-mini/mini.pairs.git",
version = "v0.17.0",
},
})
require("mini.pairs").setup()
-- telescope -- telescope
vim.pack.add({ vim.pack.add({
{ {

View file

@ -72,6 +72,11 @@
"rev": "c67822c53e8e282fe863343e88aa0a8ca3534059", "rev": "c67822c53e8e282fe863343e88aa0a8ca3534059",
"src": "https://github.com/echasnovski/mini.nvim" "src": "https://github.com/echasnovski/mini.nvim"
}, },
"mini.pairs": {
"rev": "d5a29b6254dad07757832db505ea5aeab9aad43a",
"src": "https://github.com/nvim-mini/mini.pairs.git",
"version": "'v0.17.0'"
},
"nvim-autopairs": { "nvim-autopairs": {
"rev": "59bce2eef357189c3305e25bc6dd2d138c1683f5", "rev": "59bce2eef357189c3305e25bc6dd2d138c1683f5",
"src": "https://github.com/windwp/nvim-autopairs" "src": "https://github.com/windwp/nvim-autopairs"