Skip to content

Instantly share code, notes, and snippets.

View akemrir's full-sized avatar

Karol Jakusz-Gostomski akemrir

View GitHub Profile
@akemrir
akemrir / fzf-lua-tags.lua
Last active November 14, 2023 18:28
Extend fzf-lua with tags with custom command
local function getPath(str)
return str:match("(.*[/\\])")
end
local function cutTagBasePath(tags, str)
for _, v in pairs(tags) do
print(v)
str = str:gsub(getPath(v), "")
end