From e4dcd44fb3db4cb8bb4e95e02730f1fb4f132bb2 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Tue, 18 Jan 2022 19:49:21 -0800 Subject: [PATCH] git_files: set 'multiprocess=true' as default --- README.md | 2 +- doc/fzf-lua.txt | 4 ++-- lua/fzf-lua/config.lua | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34fff77..4ef1524 100644 --- a/README.md +++ b/README.md @@ -429,7 +429,7 @@ require'fzf-lua'.setup { files = { prompt = 'GitFiles❯ ', cmd = 'git ls-files --exclude-standard', - multiprocess = false, -- run command in a separate process + multiprocess = true, -- run command in a separate process git_icons = true, -- show git icons? file_icons = true, -- show file icons? color_icons = true, -- colorize file|git icons diff --git a/doc/fzf-lua.txt b/doc/fzf-lua.txt index 8321f01..00872ec 100644 --- a/doc/fzf-lua.txt +++ b/doc/fzf-lua.txt @@ -239,7 +239,7 @@ NEOVIM API *fzf-lua-neovim-api* `:help vim.ui.select` for more info -| Command | List | +| Command | List | -------------------- | -------------------------------------- | | `register_ui_select` | register fzf-lua as the UI interface for `vim.ui.select`| | `deregister_ui_select` | de-register fzf-lua with `vim.ui.select` | @@ -468,7 +468,7 @@ Consult the list below for available settings: files = { prompt = 'GitFiles❯ ', cmd = 'git ls-files --exclude-standard', - multiprocess = false, -- run command in a separate process + multiprocess = true, -- run command in a separate process git_icons = true, -- show git icons? file_icons = true, -- show file icons? color_icons = true, -- colorize file|git icons diff --git a/lua/fzf-lua/config.lua b/lua/fzf-lua/config.lua index 08e352f..b8461e6 100644 --- a/lua/fzf-lua/config.lua +++ b/lua/fzf-lua/config.lua @@ -190,6 +190,7 @@ M.globals.git = { previewer = M._default_previewer_fn, prompt = 'GitFiles> ', cmd = "git ls-files --exclude-standard", + multiprocess = true, file_icons = true and M._has_devicons, color_icons = true, git_icons = true,