83 Commits (main)

Author SHA1 Message Date
bhagwan c8d0a0274e feat(redraw): use `:FzfLua redraw` when term size changes (#498) 2 years ago
bhagwan 95c859b4e4 highlights: restored default border hl to "Normal" (#473) 2 years ago
bhagwan 236b305a18 feat: new FzfLuaXXX highlights, updated README 2 years ago
bhagwan 5e4151d495 feat(lsp_workspace_symbols): added '<C-g>' to toggle live query:
works similar to 'grep_lgrep' action toggling between the fuzzy
matching on the entire workspace symbols and live query which
sends a new LSP query with each keystroke, fuzzy query is saved
between toggles so it can be used as an extra filter for example:
live query 'foo', press ctrl-g and enter '!.lua', to exclude all
lua files.
Addittional changes:
- diagnostics decoupled from LSP, new options under 'diagnostics'
- symbols options has their own category under 'lsp.symbols'
- 'lsp_document_diagnostics' -> 'diagnostics_document'
- 'lsp_workspace_diagnostics' -> 'diagnostics_workspace'
- backward compatibility maintained for the above changes
- all symbols providers use 'async=true' by default
2 years ago
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 b17cc7220a feat(fzf_exec): easy API to run custom commands 2 years ago
Matthieu Coudron bf3a4e12fb feat(menus): new provider for vim menus (':help menus') 2 years ago
bhagwan 23034bb022 feat: new git provider: 'git_stash' (closes #410) 2 years ago
bhagwan 52dedd28d8 feat(lsp): added 'lsp_(incoming|outgoing)_calls' (closes #399) 2 years ago
Arsham Shirvani 5060b677e0 feat(lsp): add incoming call handler 2 years ago
bhagwan 835de49506 new provider: highlights 2 years ago
bhagwan ca4dc395d8 removed deprecated providers, 'resume' to accept options 2 years ago
bhagwan dcebd33a88 tags: added grep_cword|CWORD|visual 2 years ago
bhagwan 9094065d79 new provider: tags_live_grep 2 years ago
bhagwan af6d6c3785 new provider: tags_grep 2 years ago
bhagwan 95b82e7973 tags|btags rework, multiprocess performance enhancement (#355) 2 years ago
bhagwan f3857a98a7 added an option to override fzf-lua's NBSP char (closes #347) 2 years ago
bhagwan 726b4de499 restored oldfiles 'stat_file' default (closes #344) 2 years ago
bhagwan 930cc5f487 added support for nvim-dap (#101) 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 475ffb2673 added provider for 'vim.ui.select' (closes #314) 2 years ago
bhagwan 7554520125 exclude unusable function/modules from :FzfLua auto-complete 2 years ago
bhagwan 243ec9d9f3 chore: remove all LSP warnings 2 years ago
bhagwan db3e71200d added 'changes' as a subset of 'jumps' (#264) 2 years ago
bhagwan 1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 2 years ago
bhagwan d874e7705a added 'jumps', closes #264 2 years ago
bhagwan 62d279d74b live_grep_resume: defaulted to multiprocess, better DEBUG message 2 years ago
bhagwan 887d6a4cd3 live_grep: multiprocess as default provider, added glob support 2 years ago
bhagwan 2d8a4e9afc major performance improvement: process entries externally, READ BELOW:
Since LUA is single threaded I reached a limit to performance
optimization, both 'git_icons' and 'file_icons' require string
matching and manipulations which eventually hurt performance
when running on large amount of files.
In order to solve that this commit introduces the option to spawn
commands and process the entries in a separate neovim process which
prints to stdio as if it was a regular shell command. This speeds up
things significantly and also makes the UI super responsive as if fzf
was run in the shell. This required a few lua hacks to be able to load
nvim-web-devicons in a '--headless --clean' instance and sharing the
user configuration through the RPC interface from the running instance.
This is enabled by default for 'files' and 'grep' providers and can also
be enabled for 'git.files' if required, control using the 'multiprocess'
option.
2 years ago
bhagwan ac342fcb3b 'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf' 2 years ago
bhagwan 956a092e55 internal: removed unnecessary 'require' 3 years ago
bhagwan b462ba2cc6 added 'grep_project' command (shortcut to 'grep' with empty query) 3 years ago
bhagwan e02451600a 'live_grep' freezes on large text files (#211) 3 years ago
bhagwan cb526dbb0c remove 'manually loaded' comment (closes #212) 3 years ago
bhagwan 9065fdf1bb Manually source 'FzfLua' VimL in latest nightly 3 years ago
bhagwan c9979a4bb4 workaround for 'g:nvim_fzf_directory' not set with latest nightly 3 years ago
bhagwan 120a097205 internal: export 'config' module 3 years ago
bhagwan 5a2ec75b9d internal: export win module 3 years ago
bhagwan 05d30e8fb5 internal/API: export modules on init 3 years ago
bhagwan 544d5eabc8 new preview scrollbar option and highlights, win|preview options rework 3 years ago
bhagwan b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 3 years ago
bhagwan a499bd78a4 added experimental icon support for 'live_grep' (+resume) (issue #168)
Warning: this may cause a performance degradation so you have to
manually enable this by setting `grep.experimental = true` or directly
via `:lua require'fzf-lua'.live_grep({ experimental = true })`
3 years ago
bhagwan cc74396e8f added 'args' provider 3 years ago
bhagwan 7a554bb2b2 added fullscreen option (closes issue #150), minor keymap breaking changes
'fzf_binds' and 'previewers.builtin.keymap' were merged and moved under
'keymap.fzf' and 'keymap.builtin' respectively.
See ':help fzf-lua-customization' how to reconfigure.
3 years ago
bhagwan 70c0337f8e default live_grep changed to native (no resume: issue #154) 3 years ago
bhagwan c4a829e83e added 'buffers' 3 years ago
bhagwan 8871e7485a perf improvement for system commands (issue #126) 3 years ago
bhagwan 1991beb6e8 live_grep defaults to 'continue_last_search', help|man preview mods 3 years ago
bhagwan 57ce1bff55 live_grep resume search is working again 3 years ago