Commit Graph

234 Commits

Author SHA1 Message Date
kraem
d926691176 fix: make uri match more narrow 2021-11-05 10:24:13 -07:00
bhagwan
454b0ba48c bugfix: preview fail when contents contains URL (closes #204) 2021-11-04 22:48:14 -07:00
bhagwan
4b59a5d31d POSIX find warn when using '-printf' flag (#110) 2021-11-02 21:30:01 -07:00
bhagwan
120a097205 internal: export 'config' module 2021-10-31 12:40:12 -07:00
bhagwan
d5a73bbaf7 git_status: deal with spaces in git status -s output (closes #200) 2021-10-29 21:12:12 -07:00
bhagwan
44abade325 clone code action options to prevent default act override (issue #197) 2021-10-28 14:19:09 -07:00
bhagwan
0a7462d6af warn user of buf switch failure due to unsaved changes (issue #197) 2021-10-26 16:08:12 -07:00
bhagwan
f8351742be buf_del action, ignore and warn about deleting dirty buffers 2021-10-26 15:17:36 -07:00
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
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
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
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