From e894eba359e2d3662869a1e0feb884739603fe78 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 28 Nov 2023 13:07:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B1=20Update=20neogit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ryan --- lua/lazy-plugins.lua | 12 +----------- lua/plugins/cmp.lua | 1 - 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua index 8e775c4..6664e8a 100644 --- a/lua/lazy-plugins.lua +++ b/lua/lazy-plugins.lua @@ -174,7 +174,7 @@ local plugins = { "nvim-telescope/telescope.nvim", -- optional "sindrets/diffview.nvim", -- optional }, - event = "CmdlineEnter", + cmd = {"Neogit", "NeogitResetState"}, config = true }, { @@ -236,16 +236,6 @@ local plugins = { }, -- misc and games - { - "m4xshen/hardtime.nvim", - dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, - opts = { - restriction_mode = "hint", - max_count = 4, - disable_mouse = false - }, - event = "VeryLazy" - }, { "seandewar/killersheep.nvim", cmd = "KillKillKill" diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 5390752..cf650f8 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -96,7 +96,6 @@ cmp.setup.cmdline(':', { -- nvim-cmp -- If you want insert `(` after select function or method item local cmp_autopairs = require('nvim-autopairs.completion.cmp') -local cmp = require('cmp') cmp.event:on( 'confirm_done', cmp_autopairs.on_confirm_done()