153 Commits (817df87a8ebd2137aa42c2fa370e33b980e313dc)

Author SHA1 Message Date
bhagwan 817df87a8e Major refactor, read below if you're having issues
This patch is quite massive, hopefully I got everything right in
testing, changes include:
- New API interface for "live" queries, for usage refer to:
  https://github.com/ibhagwan/fzf-lua/wiki/Advanced
- All providers now use 'fzf_exec' API (previously 'fzf_wrap')
- All "live" queries now use 'fzf_live' API
- Better resume support for "live" queries
- Fzf initial command now uses $FZF_DEFAULT_COMMAND instead of piping the
  command, this delegates the responsiblity to fzf which kills the
  command on exit resulting in better responsibness when exiting fzf
- Added 'silent_fail' option (default:'true') to prevent fzf from
  displaying [Command failed:...] when commands exit with error code
- Exposed 'config.globals' as 'require'fzf-lua'.defaults'
- Fix: 'libuv.shellescape' with special chars in fish shells
- Manpages: moved fzf option `--tiebreak=begin' to config
- Buffer actions: navigate to line if exists
- Lsp_diagnostics: properly use a coroutine
- make_entry signatures changed (entry before opts)
- Removed make_entry shortcuts from 'core'
- Removed 'coroutine.yield' where unecessary
- Fix: 'git_icons' with 'live_grep({multiprocess=false})'
- tagstack: use relative paths and replace '$HOME' with '~'
- Deprecated 'core.fzf_files'
- Fix: resume query if cancelled while loading indicator is shown
- Fix: resume query when command failed with 'silent_fail=false'
2 years ago
bhagwan 574ade266d defaults: set `winopts.hl.search` to 'IncSearch' 2 years ago
bhagwan d44a33733e feat(help_tags): preview no longer runs `:help` (closes #457) 2 years ago
bhagwan 7bb4973246 chore(grep): rename opt 'continue_last_search' -> 'resume' 2 years ago
bhagwan 3ce5eaca0b feat(icons): option to globally control file|git icons (#188) 2 years ago
Matthieu Coudron bf3a4e12fb feat(menus): new provider for vim menus (':help menus') 2 years ago
bhagwan 09e2b982fb feat(lsp): make symbol highlights configurable 2 years ago
bhagwan ea287de481 feat(lsp): use symbol icons and highlight using CmpItemKindXXX hls 2 years ago
bhagwan fc30750436 feat: override prompt if specified in fzf_args (closes #434) 2 years ago
bhagwan 3511c44753 feat: new border style 'thicc' 2 years ago
bhagwan de7ac64e74 feat: new action 'git_stash_pop' (#410) 2 years ago
bhagwan 23034bb022 feat: new git provider: 'git_stash' (closes #410) 2 years ago
bhagwan 5fbbc3b653 feat: new 'actions.git_reset': discard local changes 2 years ago
Benedikt Rips 159383c331 Disable Fzf's native border
Fzf may be configured via `$FZF_DEFAULT_OPTS` to show a border, which
takes up unnecessary space in `fzf-lua`.

Setting `config.globals.fzf_opts['--border'] = 'none'` disables Fzf's
border.

README update: fzf default opt '--border=none'
2 years ago
bhagwan 97d4ba31f7 git icons|status: added support for 'typechange' diff 2 years ago
bhagwan 604e4cf4c8 feat(git): added support for --git-dir, --work-tree (yadm) 2 years ago
bhagwan fa69ad7b13 lines|blines: added selection/multi-select to quickfix 2 years ago
bhagwan 0e775b075b blines: expose multi-select in config options 2 years ago
bhagwan f7f54dd685 fallback to fzf plugin if not installed globally (closes #383) 2 years ago
bhagwan 92f063632e bugfix: cwd when using relative path sub-directories (closes #375) 2 years ago
bhagwan f3d0789e33 feat: custom glob parsing function via 'grep.rg_glob_fn' (#373) 2 years ago
bhagwan 1d93315328 btags: added missing 'rg_opts' (closes #372) 2 years ago
bhagwan 835de49506 new provider: highlights 2 years ago
bhagwan 610378e53c new feature: image previews with `ueberzug` 2 years ago
bhagwan bca2107b63 disable 'ctrl-g' for l|grep_curbuf, hide filename in 'blines' 2 years ago
bhagwan 0cf9468bcb bugfix: accidentally broke sending 'opts' as function 2 years ago
bhagwan f1af3d7690 actions.grep_lgrep: changed default bind to <C-g> 2 years ago
bhagwan 3f3310064f actions.grep_lgrep: changed default bind to <C-l> 2 years ago
bhagwan 27f58c51c2 new feautre: <c-i> to toggle between 'grep|live_grep' 2 years ago
bhagwan ad4e168e99 buitin previewer: do not preview file size>10MB (configurable) 2 years ago
bhagwan 9094065d79 new provider: tags_live_grep 2 years ago
bhagwan 95b82e7973 tags|btags rework, multiprocess performance enhancement (#355) 2 years ago
bhagwan 59de53fbbe lsp_code_actions: 'deepcopy' fallback, 'ui_select' control opt (#353) 2 years ago
bhagwan f3857a98a7 added an option to override fzf-lua's NBSP char (closes #347) 2 years ago
bhagwan 22d7f4b6c5 args refactor and resume support 2 years ago
bhagwan 726b4de499 restored oldfiles 'stat_file' default (closes #344) 2 years ago
bhagwan 5b7fb9fb50 fzf delimiter adjustments for fish shell 2 years ago
bhagwan 738d6ba547 fixed delimiter for blines 2 years ago
bhagwan 9a0f625804 normaize fzf FIELD INDEX EXPRESSION, see below:
- refactor fzf field index experssion and line field number options
- enable native fzf previewers (bat/cat/head) for all file/buffer providers
- buffers|lines|blines|tabs now respect default previewer
2 years ago
bhagwan 027068511a bugfix: delimiter for 'dap_breakpoints' 2 years ago
bhagwan 930cc5f487 added support for nvim-dap (#101) 2 years ago
bhagwan 6d3b884f73 added help strings for {buf|file}_switch_or_edit 2 years ago
bhagwan b772c0de9c new provider: tagstack, fixed external win file actions (#336) 2 years ago
bhagwan 2aa5bd3afa added the ability to bulk config files|buffers actions (closes #331) 2 years ago
bhagwan f2ebd3b9c3 added 'vim.ui.select' action help string 2 years ago
bhagwan e4dcd44fb3 git_files: set 'multiprocess=true' as default 2 years ago
bhagwan 4f8751db52 LSP prompt renamed to 'prompt_postfix' (closes #308) 2 years ago
bhagwan 2d1862d034 added new action 'file_switch' (closes #301) 2 years ago
bhagwan e3546e8272 new feature: press F1 for keybind help (#294) 2 years ago
bhagwan 04c342f799 feature: accept opts argument as function that returns opts table 2 years ago