From 522d37ccf94b2799a03b336873676d633b9b3773 Mon Sep 17 00:00:00 2001 From: Aleksandr Kirillov <32141102+axkirillov@users.noreply.github.com> Date: Thu, 2 Mar 2023 11:22:45 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20f4fd9..ed54751 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ A telescope picker for all functions above. With packer ```lua - { + use ({ "aaronhallaert/ts-advanced-git-search.nvim", config = function() require("telescope").load_extension("advanced_git_search") @@ -94,7 +94,7 @@ With packer -- to show diff splits and open commits in browser "tpope/vim-fugitive", }, - }, + }) ``` ### Prerequisites From ca12903f8b7a038bcd827c750ab6d693679de41b Mon Sep 17 00:00:00 2001 From: Aleksandr Kirillov <32141102+axkirillov@users.noreply.github.com> Date: Thu, 2 Mar 2023 13:37:13 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed54751..3266ac6 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,10 @@ A telescope picker for all functions above. ## ⚙️ Installation -With packer +With Lazy ```lua - use ({ + { "aaronhallaert/ts-advanced-git-search.nvim", config = function() require("telescope").load_extension("advanced_git_search") @@ -94,6 +94,21 @@ With packer -- to show diff splits and open commits in browser "tpope/vim-fugitive", }, + } +``` +With Packer + +```lua + use({ + "aaronhallaert/ts-advanced-git-search.nvim", + config = function() + require("telescope").load_extension("advanced_git_search") + end, + requires = { + "nvim-telescope/telescope.nvim", + -- to show diff splits and open commits in browser + "tpope/vim-fugitive", + }, }) ```