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,