forked from dineshsalunke/nvim-config
fix: replace mini comment with Comment
This commit is contained in:
parent
26a3588731
commit
a678ff4435
@ -43,11 +43,11 @@ return {
|
||||
local cmp = require("cmp")
|
||||
return {
|
||||
completion = {
|
||||
completeopt = "menu,menuone,noinsert"
|
||||
completeopt = "menu,menuone,noinsert",
|
||||
},
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require("luasnip").lsp_expand(args)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
@ -62,28 +62,20 @@ return {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "buffer", keyword_length = 5 },
|
||||
{ name = "luasnip", keyword_length = 3 },
|
||||
})
|
||||
}),
|
||||
}
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"echasnovski/mini.pairs",
|
||||
event = "VeryLazy",
|
||||
opts = {}
|
||||
opts = {},
|
||||
},
|
||||
|
||||
{
|
||||
"echasnovski/mini.comment",
|
||||
"numToStr/Comment.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
options = {
|
||||
custom_commentstring = function()
|
||||
return require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring
|
||||
end,
|
||||
},
|
||||
},
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user