Commit Graph

108 Commits

Author SHA1 Message Date
bhagwan
dae78fc153 feat(git): improvements in git 'status|commits|bcommits':
- Option to define 'preview_pager' (e.g. `delta`) which will be piped
  onto the preview command, more convinient than having to rewrite the
  preview command or have to define it under 'previewers.git_diff'
  for 'git.status'
- Added timestamp & author name to 'commits|bcommits' default command
- Added timestamp to 'commits' default preview command
- 'bcommits' changes:
  + disabled for unnamed buffers
  + default preview now shows `git diff` for the specific file (instead
    of showing the entire commit
  + will attempt to detect the current buffers git root in case current
    working directory changed, i.e. 'bcommits' will work as long as the
    current buffer is under a git repo)
- 'branches': better branch extraction lua pattern
2022-07-09 12:53:02 -07:00
bhagwan
ee19eda2e3 feat: 'diagnostics.icon_padding' for extra wide icons (#470) 2022-07-07 22:30:53 -07:00
bhagwan
a2c7d7863c feat(diagnostics): extract icons|highlights from neovim signs 2022-07-07 18:01:56 -07:00
bhagwan
236b305a18 feat: new FzfLuaXXX highlights, updated README 2022-07-07 13:04:01 -07:00
bhagwan
989674058e helptags: wrap nvim_win_call in a pcall, regen vimdoc 2022-07-06 08:28:19 -07:00
bhagwan
10e8be0e63 chore: generated vimdoc from README 2022-06-30 15:34:26 -07:00
bhagwan
519dbf067b feat(preview): toggle cursorline hl when scrolling (#462)
Other changes:
- preview: added new highlight setting `CursorLineNr`
- internal changes to preview command shellescape
2022-06-30 08:49:13 -07:00
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
2022-06-29 21:18:10 -07:00
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
574ade266d defaults: set winopts.hl.search to 'IncSearch' 2022-06-24 12:19:18 -07:00
bhagwan
d44a33733e feat(help_tags): preview no longer runs :help (closes #457) 2022-06-24 11:06:11 -07:00
Matthieu Coudron
bf3a4e12fb feat(menus): new provider for vim menus (':help menus') 2022-06-10 10:02:54 -07:00
bhagwan
343322108d fix(lsp): symbols when 'lsp.protocol.CompletionItemKind' is default 2022-06-08 18:40:42 -07:00
bhagwan
09e2b982fb feat(lsp): make symbol highlights configurable 2022-06-08 17:48:09 -07:00
bhagwan
ea287de481 feat(lsp): use symbol icons and highlight using CmpItemKindXXX hls 2022-06-08 17:32:45 -07:00
bhagwan
3511c44753 feat: new border style 'thicc' 2022-05-26 10:36:47 -07:00
OKURA Masafumi
d4c050e101 README update: minor typo, fzf minimum version clarification 2022-05-14 23:51:29 -07:00
bhagwan
23034bb022 feat: new git provider: 'git_stash' (closes #410) 2022-05-12 16:13:45 -07:00
bhagwan
b614a9d315 feat: file providers now support 'path_shorten' (#408) 2022-05-06 17:38:41 -07:00
bhagwan
52dedd28d8 feat(lsp): added 'lsp_(incoming|outgoing)_calls' (closes #399) 2022-04-30 11:25:48 -07:00
Benedikt Rips
159383c331 Disable Fzf's native border
Fzf may be configured via `$FZF_DEFAULT_OPTS` to show a border, which
takes up unnecessary space in `fzf-lua`.

Setting `config.globals.fzf_opts['--border'] = 'none'` disables Fzf's
border.

README update: fzf default opt '--border=none'
2022-04-30 07:18:53 -07:00
bhagwan
97d4ba31f7 git icons|status: added support for 'typechange' diff 2022-04-21 13:07:11 -07:00
bhagwan
fa69ad7b13 lines|blines: added selection/multi-select to quickfix 2022-04-18 09:52:08 -07:00
bhagwan
0e775b075b blines: expose multi-select in config options 2022-04-18 09:25:00 -07:00
bhagwan
d075f9008a README: updated 'rg_glob_fn' argument return order 2022-03-26 15:40:17 -07:00
bhagwan
f3d0789e33 feat: custom glob parsing function via 'grep.rg_glob_fn' (#373) 2022-03-26 15:11:26 -07:00
bhagwan
835de49506 new provider: highlights 2022-03-21 15:53:01 -07:00
bhagwan
4edaa792ff grep: opts.search overrides continue_last_search (closes #370) 2022-03-21 08:38:51 -07:00
Marco Fonseca
84fa52720c docs: add missing comma to cfg and space cleanup
docs: minor updates and vimdoc regen
2022-03-14 19:33:12 -07:00
bhagwan
f86de7aa6b new option 'grep.rg_glob': default to rg glob parsing (closes #365) 2022-03-14 16:11:34 -07:00
bhagwan
d96b57abf3 README update: clarified viu -b usage inside a neovim terminal 2022-03-13 15:04:30 -07:00
bhagwan
610378e53c new feature: image previews with ueberzug 2022-03-13 05:26:10 -07:00
bhagwan
3f72cad542 new feature: custom shell command previews (e.g. image previews with viu) 2022-03-12 22:51:59 -08:00
bhagwan
f1af3d7690 actions.grep_lgrep: changed default bind to <C-g> 2022-03-10 00:01:13 -08:00
bhagwan
3f3310064f actions.grep_lgrep: changed default bind to <C-l> 2022-03-09 16:23:29 -08:00
bhagwan
27f58c51c2 new feautre: <c-i> to toggle between 'grep|live_grep' 2022-03-08 22:29:42 -08:00
bhagwan
962f89bf8e README update: tags commands moved to dedicated section 2022-03-06 00:59:11 -08:00
bhagwan
dcebd33a88 tags: added grep_cword|CWORD|visual 2022-03-06 00:50:42 -08:00
bhagwan
ad4e168e99 buitin previewer: do not preview file size>10MB (configurable) 2022-03-05 23:05:41 -08:00
bhagwan
9094065d79 new provider: tags_live_grep 2022-03-05 22:07:36 -08:00
bhagwan
af6d6c3785 new provider: tags_grep 2022-03-04 12:38:46 -08:00
bhagwan
95b82e7973 tags|btags rework, multiprocess performance enhancement (#355) 2022-03-03 19:16:12 -08:00
bhagwan
5f1506fc0c apply cwd to path when parsing LSP URIs (#341) 2022-03-02 09:55:04 -08:00
bhagwan
59de53fbbe lsp_code_actions: 'deepcopy' fallback, 'ui_select' control opt (#353) 2022-03-01 15:51:43 -08:00
bhagwan
f3857a98a7 added an option to override fzf-lua's NBSP char (closes #347) 2022-02-16 11:57:01 -08:00
bhagwan
22d7f4b6c5 args refactor and resume support 2022-02-12 11:54:19 -08:00
bhagwan
726b4de499 restored oldfiles 'stat_file' default (closes #344) 2022-02-12 08:51:39 -08:00
bhagwan
5b7fb9fb50 fzf delimiter adjustments for fish shell 2022-02-12 00:47:30 -08:00
bhagwan
c86716f0b6 README update: oldfiles 'stat_file' and 'include_current_session' 2022-02-12 00:00:57 -08:00
bhagwan
738d6ba547 fixed delimiter for blines 2022-02-11 23:12:43 -08:00