342 Commits (58e159c36e00abee1ffcd8c8d7f85f777a826120)

Author SHA1 Message Date
bhagwan ab8b1a1de2 restore 'multiprocess = true' as default for 'files|grep' 3 years ago
bhagwan 828aceb3a3 internal: move git diff retrieval to make_entry.preprocess 3 years ago
bhagwan 7fa17b85bb file_icon_padding default to empty string 3 years ago
bhagwan 9ad0aefbdb set 'multiprocess = false' as the default 3 years ago
bhagwan f7b8b8d9d0 bugfix: 'git_icons' with 'mutliprocess = true' 3 years ago
bhagwan d7cc460959 last commit broken if devicons not present (#247) 3 years ago
bhagwan 2d8a4e9afc major performance improvement: process entries externally, READ BELOW:
Since LUA is single threaded I reached a limit to performance
optimization, both 'git_icons' and 'file_icons' require string
matching and manipulations which eventually hurt performance
when running on large amount of files.
In order to solve that this commit introduces the option to spawn
commands and process the entries in a separate neovim process which
prints to stdio as if it was a regular shell command. This speeds up
things significantly and also makes the UI super responsive as if fzf
was run in the shell. This required a few lua hacks to be able to load
nvim-web-devicons in a '--headless --clean' instance and sharing the
user configuration through the RPC interface from the running instance.
This is enabled by default for 'files' and 'grep' providers and can also
be enabled for 'git.files' if required, control using the 'multiprocess'
option.
3 years ago
bhagwan fd4e94e7a4 tags: rewind to line 1 before executing search (issue #245) 3 years ago
bhagwan 72fe3222d3 keymaps: properly display <Space> (closes issue #246) 3 years ago
bhagwan e7c4970146 tags: jump to pattern when opening buffer (closes #245) 3 years ago
bhagwan 46c9e2bcd2 tags: optimized performance with the builtin previewer (#245) 3 years ago
bhagwan 028460f728 add 'tiebreak=index' to command and search history (closes #243) 3 years ago
bhagwan 05e22a4a61 performance optimizations, read below:
- do not spawn cmd with libuv unless 'file_icons' or 'git_icons' are set
- 'path.starts_with_separator' minor regex optimization
- 'files' cmd fallback order is now fd, **rg** and then find
- 'strip_cwd_prefix' enabled again (default: 'true')
- 'cwd' header line added to 'files' and 'git' providers
3 years ago
bhagwan 2f30c9cb21 temporarily disable 'strip_cwd_prefix' 3 years ago
bhagwan 58031b63d9 internal: default option condition optimization 3 years ago
bhagwan ccc9ee3e4f strip cwd prefix './' from files (fd v8.3.0 '--strip-cwd-prefix') 3 years ago
bhagwan 2d6967be4b LSP: properly set 'async = true' default for symbols 3 years ago
bhagwan a14548321a fzf win not entering INSERT mode if called from 'builtin' (closes #238) 3 years ago
bhagwan 419a57a78f LSP: set 'async = false' on all but workspace/document symbols 3 years ago
bhagwan 18addf7dfd builtin: only enter INSERT mode if 'nt' mode exists (closes #235) 3 years ago
bhagwan ae40b13517 bugfix: embarassing regex error (closes #231) 3 years ago
bhagwan 000d65b43b preview: don't reload the buffer if match is from the same file/buffer 3 years ago
bhagwan 04912f6eff limit preview filetype workaround to help files only 3 years ago
bhagwan 7b0e658db5 grep: remove '--column' flag when search string is empty 3 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 253b9413eb blines: set defaults 'show_unlisted = true', 'no_term_buffers = false' 3 years ago
bhagwan a5e1be796d added '--tiebreak=index' to 'lines', 'blines' (#228) 3 years ago
bhagwan ac342fcb3b 'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf' 3 years ago
bhagwan 92e21423a1 lsp_code_actions: acquire client only if needed to resolve action 3 years ago
bhagwan 100f62dee1 lsp_code_actions: resolve action for jdtls (ty Telescope!) 3 years ago
bhagwan a677abe6fb blines/lines: export 'no_term_buffers' option 3 years ago
bhagwan 74fca12501 bugfix: open 'help_tags' from an existing help buffer 3 years ago
bhagwan fad1ef47e3 further shell perf improvements for git and tags 3 years ago
bhagwan abd1a3cc90 improve performance of executing commands by avoiding the shell 3 years ago
bhagwan 8d87ef366e Workaround for potential 'tempname' bug (#222) 3 years ago
bhagwan 63ed48baf9 added option to show unlisted buffers (closes #220) 3 years ago
bhagwan 2f97f24c16 tags: adjust regex crlf pattern (#219) 3 years ago
bhagwan a45ea4dec5 bugfix: tags with similar prefixes, 'ff=dos' newline (closes #219) 3 years ago
bhagwan fe4494446e expose builtin previewer window options (closes #218) 3 years ago
bhagwan 956a092e55 internal: removed unnecessary 'require' 3 years ago
bhagwan fa006b8d9f jdtls LSP code actions zero version field fix 3 years ago
bhagwan b462ba2cc6 added 'grep_project' command (shortcut to 'grep' with empty query) 3 years ago
bhagwan 5e899dc046 set correct title highlight length (+1) 3 years ago
bhagwan 056ee93169 globally apply fix from #197 (table ref copy overrides globals) 3 years ago
bhagwan ac0862cfb1 internal: libuv spawn, limit uv.write chunks to 65K 3 years ago
bhagwan e02451600a 'live_grep' freezes on large text files (#211) 3 years ago
bhagwan cb526dbb0c remove 'manually loaded' comment (closes #212) 3 years ago
bhagwan 9065fdf1bb Manually source 'FzfLua' VimL in latest nightly 3 years ago
bhagwan c9979a4bb4 workaround for 'g:nvim_fzf_directory' not set with latest nightly 3 years ago
bhagwan 471d853a9e LSP: fixed error message on LSP client failure 3 years ago
bhagwan 936c10dc71 async LSP: support multiple LSP clients attached to the same file 3 years ago
bhagwan 62937db2db run fzf with 'sh -c' to prevent woes with other shell types (#210) 3 years ago
bhagwan fc2f4b5d7d instantiate previewer from 'opts.previewer:new()' 3 years ago
bhagwan 82cd9c15c3 make preview winodow focusable (closes #202) 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 b3add55b46 fix tags for files with 'fileformat=dos' (closes #207) 3 years ago
bhagwan c45c06218f bugfix: ctags with tab characters (closes #206) 3 years ago
bhagwan e0ff9e501c alternative preview scroll fn (attempt to fix #202) 3 years ago
kraem d926691176 fix: make uri match more narrow 3 years ago
bhagwan 454b0ba48c bugfix: preview fail when contents contains URL (closes #204) 3 years ago
bhagwan 4b59a5d31d POSIX find warn when using '-printf' flag (#110) 3 years ago
bhagwan 120a097205 internal: export 'config' module 3 years ago
bhagwan d5a73bbaf7 git_status: deal with spaces in `git status -s` output (closes #200) 3 years ago
bhagwan 44abade325 clone code action options to prevent default act override (issue #197) 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 1174b1259a added option to inidicate current buffer (helps issue #196) 3 years ago
bhagwan 5a2ec75b9d internal: export win module 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 8030ffe280 nvim-fzf compatibility with core-refactor branch 3 years ago
bhagwan 05d30e8fb5 internal/API: export modules on init 3 years ago
bhagwan e4b7041957 internal: raw_fzf perf improvements 3 years ago
bhagwan b87e5da1c2 custom flags enabled for git preview pager (delta) 3 years ago
bhagwan a49e26c2f0 git checkout instead of switch when git < 2.23 (closes issue #190) 3 years ago
bhagwan 35a2302b73 unicode separator set to U+2002 (should solve #189) 3 years ago
bhagwan 9a6a8a2833 added zero-width space to icon separator (issue #189) 3 years ago
bhagwan f947669dec internal: libuv helpers, perf enhancements 3 years ago
bhagwan fd497f313d internal 'live_grep' modifications (hopefully solves #185) 3 years ago
bhagwan 30f50017bf internal: renamed 'cb_pid' -> 'pid_cb' 3 years ago
bhagwan 69b70ec2ec terminate initial command when fzf is closed (issue #187) 3 years ago
bhagwan c0d533f4d0 man previewer: 'col -b' -> 'col -bx' 3 years ago
Bartosz Mąka 9b5fd877e0 Add pager option and pipe cmd to pager if exists
git_diff pager: check for empty string
3 years ago
bhagwan 11c369316f internal: moved preview delay under 'winopts.preview.delay' 3 years ago
bhagwan f322d59653 added customization to man previewer cmd 3 years ago
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.
3 years ago
bhagwan 3d1b8d0c06 better 'man_pages' preview (no hacky win, issue #175) 3 years ago
bhagwan 4b9b719491 added 'noautocmd' to 'help_tags' to prevent oddities (issue #175) 3 years ago
bhagwan 96d772fe84 adjust max_height according to vim.o.cmdheight (issue #180) 3 years ago
bhagwan 544d5eabc8 new preview scrollbar option and highlights, win|preview options rework 3 years ago
bhagwan e9c70a8d9f bugfix: code action not applied properly (closes issue #179) 3 years ago
bhagwan 7025700c66 properly detect LSP client after LSP restart (closes issue #174) 3 years ago
bhagwan 2c04f7495f default map 'ctrl-z' to 'abort' (closes issue #172) 3 years ago
bhagwan 913c3c650d better error handling of fzf exit status (nvim-fzf PR #36) 3 years ago
bhagwan 76b6a994b8 reverted syntax highlighting location (after file read) 3 years ago
bhagwan 846497bb92 fixed possible race condition on preview close 3 years ago
bhagwan b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 3 years ago
bhagwan 3b24fe4f39 added cmd_fn option for 'grep' providers (to enable '--iglob' support) 3 years ago
bhagwan 56885088e9 fix preview win highlights in 'buffers' (issue #169) 3 years ago
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 })`
3 years ago
bhagwan 3f4d57bec6 removed '--reflog' from commit|bcommit commands 3 years ago