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()