1

Refresh generated neovim config

This commit is contained in:
2024-08-15 13:01:03 +02:00
parent 64b51cf53a
commit f5af8e2b28
1836 changed files with 38979 additions and 31094 deletions

View File

@ -138,8 +138,11 @@ end
--- :LazyGitFilterCurrentFile entry point
local function lazygitfiltercurrentfile()
local current_file = vim.fn.expand("%")
lazygitfilter(current_file)
local current_dir = vim.fn.expand("%:p:h")
local git_root = get_root(current_dir)
local file_path = vim.fn.expand('%:p')
local relative_path = string.sub(file_path, #git_root + 2)
lazygitfilter(relative_path)
end
--- :LazyGitConfig entry point