Skip to content

Commit 69b0d5d

Browse files
committed
fix(btags): do not use "--excmd=combine" on MacOS
1 parent bd281b9 commit 69b0d5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/providers/tags.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ M.btags = function(opts)
201201
-- Used as fallback to pipe the tags into fzf from stdout
202202
opts._btags_cmd = string.format("%s %s %s",
203203
opts.ctags_bin or "ctags",
204-
opts.ctags_args or "-f - --excmd=combine",
204+
opts.ctags_args or string.format("-f - %s", utils.is_darwin() and "" or "--excmd=combine"),
205205
libuv.shellescape(opts.filename))
206206
if opts.ctags_autogen then
207207
opts.cmd = opts.cmd or opts._btags_cmd

0 commit comments

Comments
 (0)