54 Commits (519dbf067bc54a19f5bd57fa86dedecf13bfb1fe)

Author SHA1 Message Date
bhagwan 519dbf067b feat(preview): toggle cursorline hl when scrolling (#462)
Other changes:
- preview: added new highlight setting `CursorLineNr`
- internal changes to preview command shellescape
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 62f67b6194 feat(make_entry): replace $HOME with '~' where possible (#436) 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 d27f9b1131 blines: fix bat previewer line offset (fzf field index) 2 years ago
bhagwan a0ac8021de buffers:|tabs: new option 'filename_only' (closes #404) 2 years ago
bhagwan 0e775b075b blines: expose multi-select in config options 2 years ago
bhagwan 5b7fb9fb50 fzf delimiter adjustments for fish shell 2 years ago
bhagwan 4fd1af7b47 fixed tabs|lines|blines with 'bat_native' when using skim 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 930cc5f487 added support for nvim-dap (#101) 2 years ago
bhagwan 34281e4d88 buffers|tabs|lines: normalize unnamed buffers (more below):
- prioritize 'show_quickfix' over 'show_unlisted'
2 new actions:
  - buf_switch_or_edit
  - file_switch_or_edit
2 years ago
bhagwan 330742a4c0 buffers|tabs|lines: exclude quickfix buffers (closes #337) 2 years ago
bhagwan 243ec9d9f3 chore: remove all LSP warnings 2 years ago
bhagwan da2c0fe3df bugfix: 'lines|blines' default action in term buffers 2 years ago
bhagwan d15b90e8c3 tabs: 'ctrl-x': enable multi-delete and resume 2 years ago
bhagwan bc3edb68cf resume adjustments for buffers|tabs, 'ctrl-x' bwipe now resumes 2 years ago
bhagwan 1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 2 years ago
bhagwan 1d6ea8d381 lines|blines|grep_curbuf|lgrep_curbuf: hide filename by default
fix help buffer syntax highlighting in blines|buffer preview
3 years ago
bhagwan a5e1be796d added '--tiebreak=index' to 'lines', 'blines' (#228) 3 years ago
bhagwan a677abe6fb blines/lines: export 'no_term_buffers' option 3 years ago
bhagwan 63ed48baf9 added option to show unlisted buffers (closes #220) 3 years ago
bhagwan 956a092e55 internal: removed unnecessary 'require' 3 years ago
bhagwan e02451600a 'live_grep' freezes on large text files (#211) 3 years ago
bhagwan 07010f74c6 sort 'buffers' by 'lastused' (closes #208)
also changes buffers preview to read lines from the buffer instead
of attaching the exisiting buffer to the preview window, the former
turned out to changed the 'lastused' field of the buffer which was
undesireable for buffer sorting.
3 years ago
bhagwan 1174b1259a added option to inidicate current buffer (helps issue #196) 3 years ago
bhagwan 9a24d8e466 lines with 'set nohidden' to show unloaded buffers (closes issue #159) 3 years ago
bhagwan 940415f836 tabs fixed, added descriptive error message for bad fzf flags 3 years ago
bhagwan 59d8f6eed5 add cursor location to jumplist (closes issue #147) 3 years ago
bhagwan a11f5eb9d4 rework fzf flags, close issue #149 3 years ago
bhagwan 1a2e198f1b added 'search' option for lines|blines (closes issue #146) 3 years ago
bhagwan 5ba790c392 blines working again 3 years ago
bhagwan 7e946aa515 get the corrent lnum for multiple tabbed buffers 3 years ago
bhagwan b30ce12b77 'tabs' improvements 3 years ago
bhagwan c4a829e83e added 'buffers' 3 years ago
bhagwan 7acb6826c1 ability to disable previewer for lines|blines 3 years ago
bhagwan 2de83f800e added icons to lines|blines 3 years ago
John Drouhard d04dc95a94 Slight cleanup in make_entry_file(); make buffer list pass correct filename to get_devicon() 3 years ago
John Drouhard 02ad885d30 File icons: use colors from nvim-web-devicons if available
This improves the colors for file icons if nvim-web-devicons is
available. If it is, fzf-lua now uses those colors for the icons.

This should also improve the performance of make_entry_file by
optimizing string creation and when various regexes are matched.
3 years ago
bhagwan fa70aa52f8 added 'lines' (closes issue #97) 3 years ago
bhagwan 78895876c2 standardize 'fzf_bin', live_grep options optimizations 3 years ago
bhagwan 8feda7fb9c added preview scrolling for terminal buffers 3 years ago
bhagwan 9fb6a3059f added 'blines' provider (closes issue #77) 3 years ago
bhagwan eefed45175 added builtin previewer 3 years ago
bhagwan dee50f72d9 adjust buffers:current colors (issue #47) 3 years ago
bhagwan c67bf21428 buffers: remove header color, lsp_live_ws_symbols: async WIP 3 years ago
bhagwan 3c661e552e refactor and add 'cwd_only' option to all file providers 3 years ago
bhagwan 0d05954397 previewers migrated to new async_action 3 years ago
bhagwan ec2e870614 refactor previewers 3 years ago