Add neovim git conflict plugin

This commit is contained in:
GHOSCHT 2023-12-10 11:20:55 +01:00
parent 37356b7b48
commit a307b26fa4
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -1,6 +1,7 @@
local cmp = require "cmp"
local plugins = {
{'akinsho/git-conflict.nvim', version = "*", config = true, lazy = false,},
{
'numToStr/Comment.nvim',
lazy = false,
@ -43,19 +44,19 @@ local plugins = {
require("nvim-dap-virtual-text").setup()
end
},
{
"hrsh7th/nvim-cmp",
opts = function()
local M = require "plugins.configs.cmp"
M.completion.completeopt = "menu,menuone,noselect"
M.mapping["<CR>"] = cmp.mapping.confirm {
behavior = cmp.ConfirmBehavior.Insert,
select = false,
}
table.insert(M.sources, {name = "crates"})
return M
end,
},
-- {
-- "hrsh7th/nvim-cmp",
-- opts = function()
-- local M = require "plugins.configs.cmp"
-- M.completion.completeopt = "menu,menuone,noselect"
-- M.mapping["<CR>"] = cmp.mapping.confirm {
-- behavior = cmp.ConfirmBehavior.Insert,
-- select = false,
-- }
-- table.insert(M.sources, {name = "crates"})
-- return M
-- end,
-- },
{
"m4xshen/hardtime.nvim",
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },