76 Commits (d7de3b51ae697736855aa447a17c178df34bb7f5)

Author SHA1 Message Date
bhagwan d7de3b51ae feat(grep_lgrep): save query prompt between toggles
fix(live_grep_resume): when using skim
lsp_workspace_symbols: 'opt.query' -> 'opts.lsp_query'
API adjustments:
- Support for `opts.query` everywhere
- Auto shellescape `opts.preview`
- Removed global default prompt
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 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 86804f7462 feat(actions): do not require 'default' action (#449) 2 years ago
bhagwan 1a1d794f48 fix(quickfix): send to quickfix action when using 'path_shorten' 2 years ago
Matthieu Coudron bf3a4e12fb feat(menus): new provider for vim menus (':help menus') 2 years ago
bhagwan a84b86d01e fix: calling an fzf-lua mapping from insert mode (closes #429) 2 years ago
bhagwan fa90b74e31 wrapper around `fn.input` to prevent exception with `<C-c>` 2 years ago
bhagwan 74831cf138 fix: bat previewer with LSP 'force_uri=true' (#409) 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 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 ed3c6adaea helptags: fix help-open action for wrapped <tags> 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 f86de7aa6b new option 'grep.rg_glob': default to rg glob parsing (closes #365) 2 years ago
bhagwan 27f58c51c2 new feautre: <c-i> to toggle between 'grep|live_grep' 2 years ago
bhagwan 930cc5f487 added support for nvim-dap (#101) 2 years ago
bhagwan b273a358a7 bugfix: NULL buffer creation on LSP actions (closes #341) 2 years ago
bhagwan 589c7a4ee6 file actions: only move cursor if required (closes #339) 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 e1f13f882e file actions: only parse ctags from tags|btags 2 years ago
bhagwan 1f75958d33 bugfix: accidentally broke ctag file actions 2 years ago
bhagwan b772c0de9c new provider: tagstack, fixed external win file actions (#336) 2 years ago
bhagwan a487c6752f force LSP jumps to use 'vim.lsp.util.jump_to_location' (closes #336) 2 years ago
bhagwan e532ffa480 added missing 'offset_encoding' to 'vim.lsp.util.jump_to_location' 2 years ago
bhagwan f9c9ae1768 bugfix: consecutive send-selection-to-quickfix 2 years ago
bhagwan 2d1862d034 added new action 'file_switch' (closes #301) 2 years ago
bhagwan 2122c2cd05 file actions: do not add to jumplist from term buffers 2 years ago
bhagwan b35d03f4ee bugfix: sending results with no column to quickfix (closes #280) 2 years ago
bhagwan b2aee6f1d3 'git_status' preview rework, stage|unstage with <left>|<right> (#239) 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 41f8752f49 removed unnecessary debug print in 'goto_jump' 2 years ago
bhagwan d874e7705a added 'jumps', closes #264 2 years ago
Tamir Zahavi-Brunner 9421bc225f Do not remap when calling feedkeys (closes #258)
When calling vim.fn.feedkeys for commands or searches ,which means it is
prefixed by ":" or "/", one of those keys could be remapped to something
else. Calling feedkeys with "n" means this mapping would be ignored.
2 years ago
bhagwan d5998988c9 file actions: entry line/column take precedence over ctag navigation 2 years ago
bhagwan fd4e94e7a4 tags: rewind to line 1 before executing search (issue #245) 2 years ago
bhagwan e7c4970146 tags: jump to pattern when opening buffer (closes #245) 2 years ago
bhagwan a14548321a fzf win not entering INSERT mode if called from 'builtin' (closes #238) 3 years ago
bhagwan 18addf7dfd builtin: only enter INSERT mode if 'nt' mode exists (closes #235) 3 years ago
bhagwan fad1ef47e3 further shell perf improvements for git and tags 3 years ago
bhagwan e02451600a 'live_grep' freezes on large text files (#211) 3 years ago
bhagwan 0a7462d6af warn user of buf switch failure due to unsaved changes (issue #197) 3 years ago
bhagwan f8351742be buf_del action, ignore and warn about deleting dirty buffers 3 years ago
bhagwan 9aab21b318 added support for 'nvim-jdtls' LSP URIs (closes issue #195)
'nvim-jdtls' extends the LSP to support eclipse jdt classes
since classes are inside '.jar' file it displays them as 'jdt://'
URIs which are then handled by 'nvim-jdtls', we can then use
'vim.lsp.util.jump_to_location' to open the URIs.
3 years ago
bhagwan a49e26c2f0 git checkout instead of switch when git < 2.23 (closes issue #190) 3 years ago
bhagwan cc74396e8f added 'args' provider 3 years ago