We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74f9482 commit 3746d5eCopy full SHA for 3746d5e
lua/fzf-lua/providers/tags.lua
@@ -116,7 +116,7 @@ local function tags(opts)
116
if M._TAGS2CWD[opts._ctags_file] then
117
opts.cwd = opts.cwd or M._TAGS2CWD[opts._ctags_file]
118
else
119
- opts.cwd = opts.cwd or get_ctags_cwd(opts._ctags_file) or uv.cwd()
+ opts.cwd = opts.cwd or get_ctags_cwd(opts._ctags_file) or path.parent(opts.ctags_file)
120
M._TAGS2CWD[opts._ctags_file] = opts.cwd
121
end
122
0 commit comments