git_files: set 'multiprocess=true' as default

This commit is contained in:
bhagwan 2022-01-18 19:49:21 -08:00
parent e89d5bc009
commit e4dcd44fb3
3 changed files with 4 additions and 3 deletions

View File

@ -429,7 +429,7 @@ require'fzf-lua'.setup {
files = { files = {
prompt = 'GitFiles ', prompt = 'GitFiles ',
cmd = 'git ls-files --exclude-standard', 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? git_icons = true, -- show git icons?
file_icons = true, -- show file icons? file_icons = true, -- show file icons?
color_icons = true, -- colorize file|git icons color_icons = true, -- colorize file|git icons

View File

@ -239,7 +239,7 @@ NEOVIM API *fzf-lua-neovim-api*
`:help vim.ui.select` for more info `: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`| | `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` | | `deregister_ui_select` | de-register fzf-lua with `vim.ui.select` |
@ -468,7 +468,7 @@ Consult the list below for available settings:
files = { files = {
prompt = 'GitFiles ', prompt = 'GitFiles ',
cmd = 'git ls-files --exclude-standard', 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? git_icons = true, -- show git icons?
file_icons = true, -- show file icons? file_icons = true, -- show file icons?
color_icons = true, -- colorize file|git icons color_icons = true, -- colorize file|git icons

View File

@ -190,6 +190,7 @@ M.globals.git = {
previewer = M._default_previewer_fn, previewer = M._default_previewer_fn,
prompt = 'GitFiles> ', prompt = 'GitFiles> ',
cmd = "git ls-files --exclude-standard", cmd = "git ls-files --exclude-standard",
multiprocess = true,
file_icons = true and M._has_devicons, file_icons = true and M._has_devicons,
color_icons = true, color_icons = true,
git_icons = true, git_icons = true,