diff --git a/dot_config/nvim/exact_lua/exact_plugins/exact_components/git.lua b/dot_config/nvim/exact_lua/exact_plugins/exact_components/git.lua index c85a994..43889ec 100644 --- a/dot_config/nvim/exact_lua/exact_plugins/exact_components/git.lua +++ b/dot_config/nvim/exact_lua/exact_plugins/exact_components/git.lua @@ -1,25 +1,27 @@ return { - "kdheepak/lazygit.nvim", - lazy = true, - cmd = { - "LazyGit", - "LazyGitConfig", - "LazyGitCurrentFile", - "LazyGitFilter", - "LazyGitFilterCurrentFile", + { + "kdheepak/lazygit.nvim", + lazy = true, + cmd = { + "LazyGit", + "LazyGitConfig", + "LazyGitCurrentFile", + "LazyGitFilter", + "LazyGitFilterCurrentFile", + }, + -- optional for floating window border decoration + dependencies = { + "nvim-telescope/telescope.nvim", + "nvim-lua/plenary.nvim", + }, + -- setting the keybinding for LazyGit with 'keys' is recommended in + -- order to load the plugin when the command is run for the first time + keys = { + { "", "LazyGit", desc = "LazyGit" }, + { "lg", "LazyGit", desc = "LazyGit" }, + }, + config = function() + require("telescope").load_extension("lazygit") + end, }, - -- optional for floating window border decoration - dependencies = { - "nvim-telescope/telescope.nvim", - "nvim-lua/plenary.nvim", - }, - -- setting the keybinding for LazyGit with 'keys' is recommended in - -- order to load the plugin when the command is run for the first time - keys = { - { "", "LazyGit", desc = "LazyGit" }, - { "lg", "LazyGit", desc = "LazyGit" }, - }, - config = function() - require("telescope").load_extension("lazygit") - end, }