Commit Graph

14 Commits

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'
2022-06-28 23:01:33 -07:00
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
2022-06-10 23:30:58 -07:00
bhagwan
6e1ceb6a63 asyncify oldfiles, more performance enahncements (closes #343) 2022-02-12 11:15:50 -08:00
bhagwan
8591f3c846 oldfiles performance enhancements (#343) 2022-02-11 23:51:54 -08:00
bhagwan
1c28cbc904 'lines|blines' nightly fix, cwd header added to 'oldfiles' 2022-01-04 06:22:05 -08:00
bhagwan
05e22a4a61 performance optimizations, read below:
- do not spawn cmd with libuv unless 'file_icons' or 'git_icons' are set
- 'path.starts_with_separator' minor regex optimization
- 'files' cmd fallback order is now fd, **rg** and then find
- 'strip_cwd_prefix' enabled again (default: 'true')
- 'cwd' header line added to 'files' and 'git' providers
2021-12-07 06:56:37 -08:00
bhagwan
956a092e55 internal: removed unnecessary 'require' 2021-11-18 19:10:55 -08:00
bhagwan
78895876c2 standardize 'fzf_bin', live_grep options optimizations 2021-09-04 15:02:34 -07:00
bhagwan
faad0474d4 added neovim builtin providers
commands, command_history, search_history, keymaps, registers, spell_suggest
2021-08-14 14:39:19 -07:00
bhagwan
3c661e552e refactor and add 'cwd_only' option to all file providers 2021-08-11 15:26:19 -07:00
bhagwan
ea38de4d7c options refactor, slightly better startup time 2021-07-26 18:08:26 -07:00
bhagwan
8813d5a5ea fixed possibility of missed last result in more providers 2021-07-23 21:10:53 -07:00
bhagwan
976ee88400 added initial skim (rust fzf) support 2021-07-22 21:34:12 -07:00
ibhagwan
36d850b29b Initial commit 2021-07-14 05:29:55 -07:00