Skip to content

Commit

Permalink
feat(grep)!: changed default git_icons=false
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Jul 28, 2024
1 parent 02379a9 commit 69797fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/fzf-lua/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ M.defaults.grep = {
multiprocess = true,
file_icons = true and M._has_devicons,
color_icons = true,
git_icons = true,
git_icons = false,
fzf_opts = { ["--multi"] = true },
grep_opts = utils.is_darwin()
and "--binary-files=without-match --line-number --recursive --color=always "
Expand Down
4 changes: 2 additions & 2 deletions lua/fzf-lua/libuv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if not vim.g.fzf_lua_directory and #vim.api.nvim_list_uis() == 0 then
local tmpdir = vim.fn.fnamemodify(vim.fn.tempname(), ":h")
if tmpdir and #tmpdir > 0 then
vim.fn.delete(tmpdir, "rf")
-- io.stdout:write("[DEBUG]: "..tmpdir.."\n")
-- io.stdout:write("[DEBUG] "..tmpdir.."\n")
end
-- neovim might also automatically start the RPC server which will
-- generate a named pipe temp file, e.g. `/run/user/1000/nvim.14249.0`
Expand Down Expand Up @@ -433,7 +433,7 @@ M.spawn_stdio = function(opts, fn_transform_str, fn_preprocess_str, fn_postproce
io.stdout:write(string.format("[DEBUG] fn_preprocess=%s" .. EOL, fn_preprocess_str))
io.stdout:write(string.format("[DEBUG] fn_postprocess=%s" .. EOL, fn_postprocess_str))
elseif opts.debug then
io.stdout:write("[DEBUG]: " .. opts.cmd .. EOL)
io.stdout:write("[DEBUG] " .. opts.cmd .. EOL)
end

local stderr, stdout = nil, nil
Expand Down

0 comments on commit 69797fa

Please sign in to comment.