From 06e2581cf8ee20470a27aa2e8cb203cd133a01ea Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 31 Jan 2023 22:49:54 +0100 Subject: fix: actions, plugins tests --- lua/plugins/fugitive.lua | 1 - lua/plugins/laravel.lua | 2 +- lua/plugins/lazygit.lua | 4 ++++ lua/plugins/overseer.lua | 5 +++++ lua/plugins/todo-comments.lua | 2 +- 5 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 lua/plugins/overseer.lua (limited to 'lua/plugins') diff --git a/lua/plugins/fugitive.lua b/lua/plugins/fugitive.lua index 952ee9e..10df419 100644 --- a/lua/plugins/fugitive.lua +++ b/lua/plugins/fugitive.lua @@ -1,6 +1,5 @@ return { "tpope/vim-fugitive", - enabled = false, keys = { { "ga", ":Git fetch --all -p" }, { "gl", ":Git pull" }, diff --git a/lua/plugins/laravel.lua b/lua/plugins/laravel.lua index fa8d973..4ffa66a 100644 --- a/lua/plugins/laravel.lua +++ b/lua/plugins/laravel.lua @@ -8,7 +8,7 @@ return { keys = { { "pa", ":Artisan" }, }, - events = { "VeryLazy" }, + event = { "VeryLazy" }, config = function() require("laravel").setup() require("telescope").load_extension "laravel" diff --git a/lua/plugins/lazygit.lua b/lua/plugins/lazygit.lua index 46c04a1..0320d79 100644 --- a/lua/plugins/lazygit.lua +++ b/lua/plugins/lazygit.lua @@ -1,4 +1,8 @@ return { "kdheepak/lazygit.nvim", + enabled = false, keys = { { "gg", ":LazyGit" } }, + config = function() + vim.env.GIT_EDITOR = "nvr -cc split --remote-wait +'set bufhidden=wipe'" + end, } diff --git a/lua/plugins/overseer.lua b/lua/plugins/overseer.lua new file mode 100644 index 0000000..ab773ac --- /dev/null +++ b/lua/plugins/overseer.lua @@ -0,0 +1,5 @@ +return { + "stevearc/overseer.nvim", + enabled = false, + config = true, +} diff --git a/lua/plugins/todo-comments.lua b/lua/plugins/todo-comments.lua index 7ccdf5f..2e53f49 100644 --- a/lua/plugins/todo-comments.lua +++ b/lua/plugins/todo-comments.lua @@ -5,7 +5,7 @@ return { }, config = true, lazy = false, - cmds = { "TodoTrouble", "TodoTelescope", "TodoQuickFix" }, + cmd = { "TodoTrouble", "TodoTelescope", "TodoQuickFix" }, keys = { { "]t", -- cgit v1.2.3