diff --git a/nvim/.config/nvim/lua/plugins/telescope.lua b/nvim/.config/nvim/lua/plugins/telescope.lua index a3dd144..9eb6b8a 100644 --- a/nvim/.config/nvim/lua/plugins/telescope.lua +++ b/nvim/.config/nvim/lua/plugins/telescope.lua @@ -6,19 +6,19 @@ -- local function execute_in_repo_root(func) -- local function is_git_repo() -- vim.fn.system("git rev-parse --is-inside-work-tree") --- +-- -- return vim.v.shell_error == 0 -- end --- +-- -- local function get_git_root() -- local dot_git_path = vim.fn.finddir(".git", ".;") -- return vim.fn.fnamemodify(dot_git_path, ":h") -- end --- +-- -- local opts = {} --- +-- -- if is_git_repo() then opts = {cwd = get_git_root()} end --- +-- -- func(opts) -- end -----------------------