605 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 341f0641ea fzf_exec: normalize opts ('cwd' expand) 2 years ago
bhagwan 53cd37031e feat(fzf_exec): improved API, easy command transform 2 years ago
bhagwan b17cc7220a feat(fzf_exec): easy API to run custom commands 2 years ago
Mark Oborne 5f473263b9 fix(quickfix): prevent indexing opts when nil
`opts` was being used before it was normalized causing the quickfix
command to fail when used without any options.
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 6a4392564b fix(resume): missing '<' char (closes #454) 2 years ago
bhagwan 07e34d2bac fix: preview/actions for paths that contain ':' (closes #453) 2 years ago
bhagwan 52326a6444 fix(tags): error E5560 when tags are under $HOME (#452) 2 years ago
bhagwan 7bb4973246 chore(grep): rename opt 'continue_last_search' -> 'resume' 2 years ago
bhagwan ae99fed33f fix(live_grep_native): resume query double escape (closes #451) 2 years ago
bhagwan 86804f7462 feat(actions): do not require 'default' action (#449) 2 years ago
bhagwan 3ce5eaca0b feat(icons): option to globally control file|git icons (#188) 2 years ago
bhagwan 57402a41ac fix(jump_to_single_result_action): when 'forced_uri' (closes #448) 2 years ago
bhagwan 2d2ee02d17 fix(oldfiles): missing entries (closes #447) 2 years ago
bhagwan 844718eb5a feat(commands): include buffer local commands (closes #445) 2 years ago
bhagwan 179162abe0 fix(path_shorten): validate non-zero positive number 2 years ago
bhagwan 62f67b6194 feat(make_entry): replace $HOME with '~' where possible (#436) 2 years ago
bhagwan 3079c9561a fix(show_cwd_header): when set to 'true' and 'cwd' matches ':pwd' 2 years ago
bhagwan 1a1d794f48 fix(quickfix): send to quickfix action when using 'path_shorten' 2 years ago
bhagwan d02d6f2f6b feat(lsp|symbols): regex filtering option (#441)
also, rework how header string is constructed and display
document/workspace symbols query/regex in header string
2 years ago
bhagwan e42a757faf feat(bcommits): pager support (e.g. `delta`), closes #440 2 years ago
Matthieu Coudron bf3a4e12fb feat(menus): new provider for vim menus (':help menus') 2 years ago
bhagwan 343322108d fix(lsp): symbols when 'lsp.protocol.CompletionItemKind' is default 2 years ago
bhagwan 523962ae53 fix(lsp): symbol formatting on 'resume' 2 years ago
bhagwan 870f88096b fix(path_shorten): use first path when glob mathes multiple paths 2 years ago
bhagwan 59069a393b feat(lsp): enable symbol formatting for 'live_workspace_symbols' 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 7817c4205e feat(buffers): replace $HOME with '~' for paths outside of cwd (#436) 2 years ago
bhagwan fc30750436 feat: override prompt if specified in fzf_args (closes #434) 2 years ago
Mark Oborne 8313277e0b fix(jumps): fix preview not showing correctly
Fixes two issues:
* Preview wasn't showing the jump location when the file was outside of
  the pwd.
* Preview wasn't showing the jump location when the jump was on a blank
  line in the current buffer.
2 years ago
bhagwan a84b86d01e fix: calling an fzf-lua mapping from insert mode (closes #429) 2 years ago
bhagwan eacdda76c6 testing framework initial setup 2 years ago
bhagwan fa90b74e31 wrapper around `fn.input` to prevent exception with `<C-c>` 2 years ago
bhagwan 3511c44753 feat: new border style 'thicc' 2 years ago
bhagwan 5f74454867 ueberzug: display error message in preview win (and ':messages') 2 years ago
bhagwan eb3d2d121f nvim 0.8 compatibility: refactor preview shell command (closes #409) 2 years ago
bhagwan 74831cf138 fix: bat previewer with LSP 'force_uri=true' (#409) 2 years ago
monkoose 3a288a65b6 fix(previewer): correct highlight group in preview
To correctly match some common highlight groups such as `Float`, `Normal` etc, word boundaries
should be set, otherwise wrong highlight group is shown in the preview window. 
Also removes search highlighting of the trailing space.
2 years ago
OKURA Masafumi d4c050e101 README update: minor typo, fzf minimum version clarification 2 years ago
bhagwan d4ab66551b feat: libuv stdout|stderr stream redirect options (#414) 2 years ago
bhagwan 7583b40fde feat: add styling support for the `--color` option (closes #413) 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 d27f9b1131 blines: fix bat previewer line offset (fzf field index) 2 years ago
bhagwan b614a9d315 feat: file providers now support 'path_shorten' (#408) 2 years ago
bhagwan 5fbbc3b653 feat: new 'actions.git_reset': discard local changes 2 years ago
bhagwan a0ac8021de buffers:|tabs: new option 'filename_only' (closes #404) 2 years ago