bhagwan
c096cd1849
grep_project: exclude filename from fuzzy search by default
2 years ago
bhagwan
243ec9d9f3
chore: remove all LSP warnings
2 years ago
bhagwan
58e159c36e
internal: only replace {argv} when requested by live_grep
2 years ago
bhagwan
8ad6e92b9f
bugfix: live_grep on NixOS, adjust for extra neovim cli args ( #291 )
2 years ago
bhagwan
21f19cac1a
new option 'global_resume_query': split resume from typed query ( #271 )
2 years ago
bhagwan
0069dc4a8e
resume adjustments for 'live_grep_glob|native'
2 years ago
bhagwan
1ece1ab09a
added 'resume': will resume **any** list, custom or builtin ( #241 )
2 years ago
bhagwan
3147d9b170
grep|live_grep: display informative messages on regex parse errors
3 years ago
bhagwan
62d279d74b
live_grep_resume: defaulted to multiprocess, better DEBUG message
3 years ago
bhagwan
37ea63c26b
grep|live_grep: added support for multiprocess search resume
3 years ago
bhagwan
887d6a4cd3
live_grep: multiprocess as default provider, added glob support
3 years ago
bhagwan
429f9572e0
live_grep_native: added multiprocess and icons support
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
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
58031b63d9
internal: default option condition optimization
3 years ago
bhagwan
ae40b13517
bugfix: embarassing regex error ( closes #231 )
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
ac342fcb3b
'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf'
3 years ago
bhagwan
956a092e55
internal: removed unnecessary 'require'
3 years ago
bhagwan
b462ba2cc6
added 'grep_project' command (shortcut to 'grep' with empty query)
3 years ago
bhagwan
ac0862cfb1
internal: libuv spawn, limit uv.write chunks to 65K
3 years ago
bhagwan
f947669dec
internal: libuv helpers, perf enhancements
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
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
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
67163f4c5f
better handling of 'cwd' in 'live_rg' (should solve issue #166 )
3 years ago
bhagwan
a11f5eb9d4
rework fzf flags, close issue #149
3 years ago
bhagwan
6708e58caf
minor internal function rename
3 years ago
bhagwan
c876f8315a
lsp_live_workspace_symbols rework, better API for live commands
3 years ago
bhagwan
1d3f8124bb
live_grep remove search term from header
3 years ago
bhagwan
1991beb6e8
live_grep defaults to 'continue_last_search', help|man preview mods
3 years ago
bhagwan
57ce1bff55
live_grep resume search is working again
3 years ago
bhagwan
0d24020629
live_grep escape hyphen, minor modification for 'sk'
3 years ago
bhagwan
9785cafd9a
live_grep default changed to native (no resume) temporarily
3 years ago
bhagwan
eb19fb51ac
added cwd to search headers, added headers to live_grep
3 years ago
bhagwan
eaf465f9e9
grep, live_grep cwd relative path display
3 years ago
bhagwan
28f0adcfa3
grep: enable empty string search
3 years ago
bhagwan
2afab38370
sk live_grep single quote search fix
3 years ago
bhagwan
67b727bd8e
better grep,live_grep search query continuation
3 years ago
bhagwan
2617aa1587
added convenience function 'live_grep_resume'
3 years ago
bhagwan
62024ecf9a
live_grep saves last search term (closes issue #103 )
3 years ago
bhagwan
7a144f81da
bugfix: [No Name] buffer, minor live_grep modifications
3 years ago
bhagwan
78895876c2
standardize 'fzf_bin', live_grep options optimizations
3 years ago
bhagwan
5a66cae8ff
live_grep further optimizations for empty string queries (both fzf|sk)
3 years ago
bhagwan
5fcbace5ba
live_grep: do not perform empty string initial query (closes issue #92 )
3 years ago
bhagwan
a0f073950b
misc previewer title display improvements, grep 'no_esc' option added
3 years ago
bhagwan
5472c41f20
bugfix: live_grep with underlying 'grep'
3 years ago