Commit Graph

456 Commits

Author SHA1 Message Date
bhagwan
1174b1259a added option to inidicate current buffer (helps issue #196) 2021-10-26 14:52:31 -07:00
bhagwan
5a2ec75b9d internal: export win module 2021-10-26 13:06:41 -07:00
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.
2021-10-25 14:06:37 -07:00
bhagwan
8030ffe280 nvim-fzf compatibility with core-refactor branch 2021-10-24 20:39:10 -07:00
bhagwan
05d30e8fb5 internal/API: export modules on init 2021-10-24 07:41:10 -07:00
bhagwan
e4b7041957 internal: raw_fzf perf improvements 2021-10-20 22:02:06 -07:00
bhagwan
b87e5da1c2 custom flags enabled for git preview pager (delta) 2021-10-19 10:36:44 -07:00
bhagwan
736b318575 missing comma in README setup function (closes #191) 2021-10-19 10:02:04 -07:00
bhagwan
a49e26c2f0 git checkout instead of switch when git < 2.23 (closes issue #190) 2021-10-18 10:46:13 -07:00
bhagwan
35a2302b73 unicode separator set to U+2002 (should solve #189) 2021-10-17 10:04:49 -07:00
bhagwan
9a6a8a2833 added zero-width space to icon separator (issue #189) 2021-10-17 02:37:26 -07:00
bhagwan
f947669dec internal: libuv helpers, perf enhancements 2021-10-16 22:01:14 -07:00
bhagwan
fd497f313d internal 'live_grep' modifications (hopefully solves #185) 2021-10-15 14:16:55 -07:00
bhagwan
30f50017bf internal: renamed 'cb_pid' -> 'pid_cb' 2021-10-14 11:49:21 -07:00
bhagwan
69b70ec2ec terminate initial command when fzf is closed (issue #187) 2021-10-14 11:22:47 -07:00
bhagwan
c0d533f4d0 man previewer: 'col -b' -> 'col -bx' 2021-10-13 14:27:16 -07:00
Bartosz Mąka
9b5fd877e0 Add pager option and pipe cmd to pager if exists
git_diff pager: check for empty string
2021-10-11 15:43:17 -07:00
bhagwan
11c369316f internal: moved preview delay under 'winopts.preview.delay' 2021-10-11 15:22:13 -07:00
bhagwan
f322d59653 added customization to man previewer cmd 2021-10-11 15:15:19 -07:00
ibhagwan
d8630ff38b
Merge pull request #183 from megalithic/main
fix(): update default preview config to `'border'` from `'float'`.
2021-10-11 13:10:01 -07:00
Seth Messer
1faf5e02e0 fix(): update default preview config to 'border' from 'float'.
Was throwing the following:
`[Fzf-lua] fzf error 2: invalid preview window option: float`

Now matches the docs.
2021-10-11 15:00:06 -05:00
bhagwan
3d1b8d0c06 better 'man_pages' preview (no hacky win, issue #175) 2021-10-11 11:17:57 -07:00
bhagwan
4b9b719491 added 'noautocmd' to 'help_tags' to prevent oddities (issue #175) 2021-10-11 06:21:52 -07:00
bhagwan
96d772fe84 adjust max_height according to vim.o.cmdheight (issue #180) 2021-10-11 05:14:32 -07:00
bhagwan
544d5eabc8 new preview scrollbar option and highlights, win|preview options rework 2021-10-11 01:23:00 -07:00
bhagwan
e9c70a8d9f bugfix: code action not applied properly (closes issue #179) 2021-10-10 11:41:02 -07:00
bhagwan
7025700c66 properly detect LSP client after LSP restart (closes issue #174) 2021-10-09 12:50:57 -07:00
bhagwan
2c04f7495f default map 'ctrl-z' to 'abort' (closes issue #172) 2021-10-07 08:35:00 -07:00
bhagwan
913c3c650d better error handling of fzf exit status (nvim-fzf PR #36) 2021-10-06 15:45:55 -07:00
bhagwan
76b6a994b8 reverted syntax highlighting location (after file read) 2021-10-06 15:09:30 -07:00
bhagwan
846497bb92 fixed possible race condition on preview close 2021-10-06 14:15:21 -07:00
bhagwan
1bfd897efb restored 'window_on_create' to documentation 2021-10-06 12:52:38 -07:00
bhagwan
b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 2021-10-06 09:48:40 -07:00
bhagwan
3b24fe4f39 added cmd_fn option for 'grep' providers (to enable '--iglob' support) 2021-10-06 02:24:58 -07:00
bhagwan
56885088e9 fix preview win highlights in 'buffers' (issue #169) 2021-10-06 01:19:42 -07:00
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 })`
2021-10-05 21:54:55 -07:00
bhagwan
3f4d57bec6 removed '--reflog' from commit|bcommit commands 2021-10-05 10:48:52 -07:00
bhagwan
275a351c98 added 'args.files_only' to README 2021-10-05 08:55:46 -07:00
bhagwan
cc74396e8f added 'args' provider 2021-10-05 08:43:28 -07:00
bhagwan
67163f4c5f better handling of 'cwd' in 'live_rg' (should solve issue #166) 2021-10-04 20:35:32 -07:00
bhagwan
510aca8658 restored preview binary test using perl '-B' 2021-10-04 14:31:42 -07:00
bhagwan
9454bcbad9 temp disable of binary preview test, match preview delay with fzf native 2021-10-04 13:50:32 -07:00
bhagwan
29ae04d73f added 60ms delay before builtin preview (issue #164)
delay can be controlled (or disabled) by setting
'previewers.builtin.delay'
2021-10-04 12:50:00 -07:00
bhagwan
5bdb213558 enable syntax highlighting before file read (closes issue #162) 2021-10-04 12:07:48 -07:00
bhagwan
dca31060e2 added keybinds to rotate builtin preview clockwise/counter-clockwise 2021-10-04 11:32:14 -07:00
bhagwan
64ceffcd0a default action for files changed to 'file_edit_or_qf', read below:
- normalized action callback 'selected' table, before this change
  selected items table were passed through transparently from nvim-fzf
  meaning the first item in the table could either be a selected item
  or the name of the keybind pressed (when multiple actions were
  present), this changes makes sure 'selected' table contains only
  valid items (removes the keybind if necessary)
  If you've developed a custom action callback please modify it to
  start enumerating the items at 'selected[1]' (and not selected[2])
- fixed minor issue with 'fzf_colors' on default colorschemes
2021-10-04 10:36:46 -07:00
bhagwan
e7d9e5a0a8 closes issue #160 2021-10-03 18:00:14 -07:00
bhagwan
0663deb841 removed screenshots, added screencast demo 2021-10-03 17:19:21 -07:00
bhagwan
28f3bcac27 disable preview for binary files (closes issue #157) 2021-10-02 23:42:54 -07:00
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.
2021-10-02 22:42:02 -07:00