Skip to content

Commit

Permalink
Revert "feat: allow to jump straight to git status"
Browse files Browse the repository at this point in the history
This reverts commit 1b7c06c.

This feature needs to be thought through some more, as it is not
satisfying in its current state.

See #19
  • Loading branch information
cljoly committed Feb 12, 2022
1 parent 05c77a0 commit c429695
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lua/telescope/_extensions/repo/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ local function project_live_grep(opts)
require("telescope.builtin").live_grep(opts)
end

local function project_git_status(opts)
require("telescope.builtin").git_status(opts)
end

local function call_picker(opts, command, prompt_title_supplement)
local prompt_title = "Git repositories"
if prompt_title_supplement ~= nil then
Expand Down Expand Up @@ -174,10 +170,6 @@ local function call_picker(opts, command, prompt_title_supplement)
project_live_grep({ cwd = dir })
return
end
if type == "horizontal" then
project_git_status({ cwd = dir })
return
end
if type == "tab" then
vim.cmd("tabe " .. dir)
vim.cmd("tcd " .. dir)
Expand Down

0 comments on commit c429695

Please sign in to comment.