From a29e798b3a29c9d1f2d66e91e04aba00c1067f71 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Tue, 28 Oct 2025 14:06:37 +0100 Subject: [PATCH] nvim: Code style --- nvim/.config/nvim/lua/plugins/telescope.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -----------------------