parent
6544c201d6
commit
014b631646
4 changed files with 10 additions and 11 deletions
|
|
@ -1,5 +1,5 @@
|
|||
return {
|
||||
"echasnovski/mini.pairs",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
opts = {}, -- this is equalent to setup({}) function
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,15 @@ return {
|
|||
"hrsh7th/cmp-cmdline",
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"L3MON4D3/LuaSnip",
|
||||
"windwp/nvim-autopairs",
|
||||
},
|
||||
config = function()
|
||||
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })
|
||||
local cmp = require("cmp")
|
||||
|
||||
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
||||
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
|
||||
|
||||
local defaults = require("cmp.config.default")()
|
||||
local window_opts = {
|
||||
border = "rounded",
|
||||
|
|
|
|||
|
|
@ -12,11 +12,6 @@ return {
|
|||
end,
|
||||
},
|
||||
{ "nvim-treesitter/nvim-treesitter-context" },
|
||||
{
|
||||
"echasnovski/mini.surround",
|
||||
version = "*",
|
||||
event = "VeryLazy",
|
||||
},
|
||||
{
|
||||
"uga-rosa/ccc.nvim",
|
||||
event = "VeryLazy",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue